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.001032/0.001032, allocations: 174.6 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04287/0.04287, allocations: 8.717 MB / 16.79 MB, free: 3.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 240.9 MB, free: 13.19 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.0009759/0.0009758, allocations: 91.88 kB / 293.9 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2e-05, allocations: 4 kB / 352.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 52.55 MB / 405.3 MB, free: 12.55 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.3874/0.5086, allocations: 74.75 MB / 480 MB, free: 11.92 MB / 346.7 MB