Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_KalmanFilter",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/Buildings 10.0.0-master/package.mo): time 1.8/1.8, allocations: 390.4 MB / 397.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 184 kB / 490.8 MB, free: 11.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00087/0.0008701, allocations: 100.6 kB / 0.9264 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2393/0.2402, allocations: 149.1 MB / 1.072 GB, free: 15.49 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.7657, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.9066, allocations: 154.1 MB / 1.362 GB, free: 37.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.9068, allocations: 88.59 kB / 1.362 GB, free: 37.46 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.01905/0.9259, allocations: 8.168 MB / 1.37 GB, free: 29.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.9259, allocations: 8 kB / 1.37 GB, free: 29.31 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.926, allocations: 24.2 kB / 1.37 GB, free: 29.29 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.9262, allocations: 224 kB / 1.37 GB, free: 29.03 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.9262, allocations: 8.75 kB / 1.37 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.9263, allocations: 15.91 kB / 1.371 GB, free: 29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001245/0.9264, allocations: 52.92 kB / 1.371 GB, free: 28.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.9266, allocations: 137.3 kB / 1.371 GB, free: 28.81 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.9266, allocations: 4 kB / 1.371 GB, free: 28.81 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.9266, allocations: 4.578 kB / 1.371 GB, free: 28.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.9266, allocations: 1.156 kB / 1.371 GB, free: 28.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation) : time 9.226e-05/0.9267, allocations: 154.6 kB / 1.371 GB, free: 28.63 MB / 0.8855 GB Error: pre-optimization module removeSimpleEquations (simulation) failed. Error: Internal error SimCode: The model Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter could not be translated to FMU