Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_BLDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_BLDC",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 187.4 kB / 8.137 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009566/0.0009564, allocations: 88.78 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1755/0.1755, allocations: 37.96 MB / 347.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1945/0.37, allocations: 62.44 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.4693, allocations: 56.31 MB / 466.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/0.7733, allocations: 117.6 MB / 0.5703 GB, free: 8.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.7737, allocations: 91.95 kB / 0.5704 GB, free: 8.805 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC1ph_DC/Drives.mo:141:5-142:74:writable] Error: Variable bldcm.inverter: In modifier (modulation = 3), class or component modulation not found in . [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC1ph_DC/Drives.mo:141:5-142:74:writable] Error: Variable bldcm.inverter: In modifier redeclare(Inverter), class or component Inverter not found in . [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC1ph_DC/Drives.mo:141:5-142:74:writable] Error: Variable bldcm.inverter: In modifier redeclare(Modulator), class or component Modulator not found in . [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC1ph_DC/Drives.mo:141:5-142:74:writable] Error: Variable bldcm.inverter: In modifier (modulation = 3), class or component modulation not found in . [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC1ph_DC/Drives.mo:141:5-142:74:writable] Error: Variable bldcm.inverter: In modifier redeclare(Inverter), class or component Inverter not found in . [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC1ph_DC/Drives.mo:141:5-142:74:writable] Error: Variable bldcm.inverter: In modifier redeclare(Modulator), class or component Modulator not found in . [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC1ph_DC/Drives.mo:141:5-142:74:writable] Error: Variable bldcm.inverter: In modifier (modulation = 3), class or component modulation not found in . Error: Error occurred while flattening model PowerSystems.Examples.AC1ph_DC.Drives.BLDC Error: Internal error SimCode: The model PowerSystems.Examples.AC1ph_DC.Drives.BLDC could not be translated to FMU