I am attempting to use BuildingsPy for simulation and regression testing on Windows for a non-buildingspy library and using Anaconda 2.7.
I installed builingspy using pip install buildingspy
I then copied the first simulator example and changed to a simple example of my own that runs fine in Dymola.
model = 'Demonstrations.Examples.LorenzSystem_Test'
I then removed the parameter change so it would simply simulate the model
s.addParameters({'con.eOn': 0.1})
If i run from a command window it outsputs the model name, directory, and time and then waits for a while then:
*** Error: Killing simulation in c:\users\USERNAME\appdata\local\temp\tmp-simulator-USERNAME-i7i__u\newFolder
If I run from IPython I get this error:
File "C:\Program Files\Anaconda2\lib\multiprocessing\pool.py", line 567, in get
raise self._value
LookupError: unknown encoding: cp0
I have also tried the regression tests and when I use the showGUI = True flag Dymola opens up (dymola is on the path) but then fails to load the specified library. Both attempts the working directory was the location of the top level package of the modelica library. I also tried having the library in the dymola startup file (dymola.mos) but that didn't seem to help.
Any so I can use buildingspy would be much appreciated.