cmake modified

need to solve problem with debug/release hdf5 libs
executed with some errors

save model is not working