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: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kalFil.uR.1.|kalFil.yR.1.|sine.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kalFil.uR.1.|kalFil.yR.1.|sine.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") [: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 2.007/2.007, allocations: 390.4 MB / 397.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 184.1 kB / 490.8 MB, free: 1.902 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.315/1.315, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 104 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.514e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2872, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7671/1.054, allocations: 154.1 MB / 1.362 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/1.055, allocations: 82.09 kB / 1.362 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02362/1.078, allocations: 7.623 MB / 1.37 GB, free: 16.62 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.078, allocations: 7.344 kB / 1.37 GB, free: 16.62 MB / 0.823 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.001133/1.08, allocations: 0.5251 MB / 1.37 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.08, allocations: 9.406 kB / 1.37 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/1.08, allocations: 25.53 kB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/1.08, allocations: 219.4 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/1.08, allocations: 7.812 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/1.08, allocations: 16.28 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001781/1.08, allocations: 57.23 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/1.081, allocations: 137.8 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.081, allocations: 1.188 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/1.081, allocations: 6.078 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/1.081, allocations: 2.312 kB / 1.371 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation) : time 0.0001638/1.081, allocations: 150.2 kB / 1.371 GB, free: 31.76 MB / 0.8386 GB Error: pre-optimization module removeSimpleEquations (simulation) failed.