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: "" <> buildModelFMU(HanserModelica.Magnetic.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_Coupling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Magnetic.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Magnetic_Coupling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005758/0.005758, allocations: 170.4 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04239/0.04239, allocations: 8.797 MB / 24.65 MB, free: 4.156 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.241/1.241, allocations: 223.2 MB / 250.7 MB, free: 4.812 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.0008939/0.000894, allocations: 92.83 kB / 304 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 8 kB / 367.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08566/0.08605, allocations: 52.54 MB / 419.7 MB, free: 2.102 MB / 346.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.2517/0.3378, allocations: 75.15 MB / 494.9 MB, free: 1.254 MB / 346.7 MB