Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002433/0.002433, allocations: 190.3 kB / 7.804 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 97.11 kB / 261.4 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.255/0.255, allocations: 37.97 MB / 347.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.018e-05, allocations: 0 / 409.3 MB, free: 47.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09508, allocations: 56.31 MB / 465.6 MB, free: 6.871 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.4772, allocations: 117.6 MB / 0.5696 GB, free: 9.277 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.4776, allocations: 100.7 kB / 0.5697 GB, free: 9.18 MB / 410.7 MB [/var/lib/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 . [/var/lib/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 . [/var/lib/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 . [/var/lib/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 . [/var/lib/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 . [/var/lib/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 . [/var/lib/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