Simple heat problem also doesn't vary due to time

u_new is a reference to a dolfin.fem.Function. If you want to store the data at each time step you should copy it at each step.