Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration.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/Credibility 0.1.0-main/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 Credibility with version 0.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/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(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleControlledDrive_forCalibration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleControlledDrive_forCalibration",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 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 181.6 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.006213/0.006213, allocations: 1.251 MB / 9.118 MB, free: 1.129 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.049/1.049, allocations: 221.4 MB / 231.2 MB, free: 1.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.000878, allocations: 91.92 kB / 282.3 MB, free: 15.65 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09014/0.09105, allocations: 56.83 MB / 339.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.2542, allocations: 50.68 MB / 389.8 MB, free: 37.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0881/0.3423, allocations: 91.07 MB / 480.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.3426, allocations: 79.95 kB / 481 MB, free: 9.91 MB / 362.7 MB Error: Error occurred while flattening model Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration Error: Internal error SimCode: The model Credibility.Examples.SimpleControlledDriveNonlinear.SimpleControlledDrive_forCalibration could not be translated to FMU