Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 172 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05357/0.05357, allocations: 8.699 MB / 21.96 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.4 MB / 246 MB, free: 3.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009088, allocations: 78.14 kB / 299.1 MB, free: 2.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.79e-05, allocations: 4 kB / 359.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2484, allocations: 52.53 MB / 412.1 MB, free: 22.54 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo:2:1-9040:13:writable] Error: Class SIunits.Resistance not found in scope Modelica. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/Magnetic/Coupling.mo:4:3-4:60:writable] Error: Class Modelica.SIunits.Resistance not found in scope HanserModelica.Magnetic.Coupling. Error: Error occurred while flattening model HanserModelica.Magnetic.Coupling Notification: Performance of FrontEnd: time 0.08778/0.3363, allocations: 75.13 MB / 487.2 MB, free: 11.3 MB / 362.7 MB