Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_BLDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.001036/0.001036, allocations: 182.4 kB / 8.134 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.054/1.054, allocations: 194.2 MB / 202.8 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001641/0.001641, allocations: 116.3 kB / 247.7 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1548/0.1548, allocations: 37.91 MB / 330.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1892/0.344, allocations: 59.34 MB / 389.9 MB, free: 78.03 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07692/0.421, allocations: 53.23 MB / 443.1 MB, free: 24.88 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/0.7143, allocations: 112.4 MB / 0.5425 GB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.7146, allocations: 92.36 kB / 0.5426 GB, free: 11.39 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/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.0/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.0/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.0/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.0/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.0/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.0/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