First time here? Check out the Help page!
1 | initial version |
Did you set the PYTHONPATH as described in http://simulationresearch.lbl.gov/modelica/releases/latest/help/Buildings_Utilities_IO_Python27_UsersGuide.html before you started Dymola?
The following import works for me:
def r1_r1(xR):
import buildingspy.development.refactor as bp
return 2.*xR
Note however that Dymola generates by default 32 bit, but your Python installation may contained compiled C code that is 64 bit.
You should not have to recompile libpython2.7.so as long as you use 32 bit.