Memory leak when completing a job that was restarted
When we restart a simulation from check-point files we "malloc" all the model properties rather than filling in objects on the main function's heap. That malloc'd memory is not properly cleaned up. Some small arrays allocated in restart.c are also not freed upon completion. This is a minor issue overall as the leaks only occur when a job completes but it does clog a bit the memory sanitizer's report.