openstudio savemodel python package
Hi, I'm learning to use openstudio package of python but found some problems to use the function "saveModel". When I use it, for example:
import openstudio
osm = openstudio.model.Model()
openstudio.model.saveModel(osm,"model.osm", "")
it throws the following error:
[saveModelTempDir] <1> Could not copy osm from '/path/to/file/model.osm' to 'model.osm' errorboost::filesystem::copy_file: File exists [system:17]: "/path/to/file/model.osm", "model.osm"
I've tried other ways like use the complete directory path, but keeps the error. And found this notebook(https://github.com/GFlechas/... and occurs the same error.
Any idea what's the problem?