Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [: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 8.0.1-maint.8.0.x/package.mo): time 1.465/1.465, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 189.2 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.1 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008712/0.0008712, allocations: 90.02 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.758e-06/1.02e-05, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6071/0.6072, allocations: 115.3 MB / 0.9637 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.967/4.574, allocations: 2.063 GB / 3.027 GB, free: 75.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/4.574, allocations: 83.95 kB / 3.027 GB, free: 75.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.8902/5.464, allocations: 220.7 MB / 3.242 GB, free: 240.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.196e-05/5.464, allocations: 4 kB / 3.242 GB, free: 240.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001565/5.466, allocations: 0.6774 MB / 3.243 GB, free: 240.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/5.466, allocations: 12.02 kB / 3.243 GB, free: 240.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006733/5.467, allocations: 83.55 kB / 3.243 GB, free: 240 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/5.467, allocations: 306 kB / 3.244 GB, free: 239.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/5.467, allocations: 11.91 kB / 3.244 GB, free: 239.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/5.467, allocations: 16 kB / 3.244 GB, free: 239.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000418/5.468, allocations: 188.9 kB / 3.244 GB, free: 239.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/5.468, allocations: 250.5 kB / 3.244 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/5.468, allocations: 3.984 kB / 3.244 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/5.468, allocations: 0 / 3.244 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/5.468, allocations: 8 kB / 3.244 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/5.47, allocations: 1.016 MB / 3.245 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/5.47, allocations: 174.6 kB / 3.245 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/5.47, allocations: 92.83 kB / 3.245 GB, free: 237.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006108/5.471, allocations: 400.3 kB / 3.246 GB, free: 237.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/5.471, allocations: 35.36 kB / 3.246 GB, free: 237.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/5.471, allocations: 0 / 3.246 GB, free: 237.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001299/5.472, allocations: 351 kB / 3.246 GB, free: 237 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/5.472, allocations: 59.34 kB / 3.246 GB, free: 236.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/5.473, allocations: 180.3 kB / 3.246 GB, free: 236.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/5.473, allocations: 25.7 kB / 3.246 GB, free: 236.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/5.473, allocations: 156.1 kB / 3.246 GB, free: 236.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/5.473, allocations: 59.11 kB / 3.246 GB, free: 236.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/5.473, allocations: 0 / 3.246 GB, free: 236.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.929e-05/5.473, allocations: 338.7 kB / 3.247 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/5.473, allocations: 67.98 kB / 3.247 GB, free: 236.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/5.473, allocations: 137.1 kB / 3.247 GB, free: 235.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/5.474, allocations: 195.7 kB / 3.247 GB, free: 235.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/5.474, allocations: 0 / 3.247 GB, free: 235.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009377/5.475, allocations: 347.4 kB / 3.247 GB, free: 235.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/5.475, allocations: 4 kB / 3.247 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/5.475, allocations: 4 kB / 3.247 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/5.475, allocations: 0 / 3.247 GB, free: 235.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/5.475, allocations: 76.05 kB / 3.248 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/5.475, allocations: 4 kB / 3.248 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/5.476, allocations: 51.8 kB / 3.248 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/5.476, allocations: 8 kB / 3.248 GB, free: 235.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001029/5.476, allocations: 112.9 kB / 3.248 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/5.476, allocations: 23.72 kB / 3.248 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/5.477, allocations: 355.2 kB / 3.248 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/5.477, allocations: 4 kB / 3.248 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/5.477, allocations: 0 / 3.248 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/5.477, allocations: 4 kB / 3.248 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/5.479, allocations: 0.86 MB / 3.249 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/5.479, allocations: 0 / 3.249 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/5.479, allocations: 59.95 kB / 3.249 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/5.479, allocations: 8.062 kB / 3.249 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/5.479, allocations: 4 kB / 3.249 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/5.479, allocations: 7.844 kB / 3.249 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/5.479, allocations: 4 kB / 3.249 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00121/5.48, allocations: 0.6346 MB / 3.25 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/5.48, allocations: 120.7 kB / 3.25 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/5.48, allocations: 4 kB / 3.25 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/5.481, allocations: 40.03 kB / 3.25 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/5.481, allocations: 19.88 kB / 3.25 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/5.481, allocations: 12 kB / 3.25 GB, free: 232.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001238/5.481, allocations: 148.4 kB / 3.25 GB, free: 232.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008131/5.482, allocations: 179.8 kB / 3.25 GB, free: 232.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/5.484, allocations: 1.174 MB / 3.251 GB, free: 231.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000331/5.484, allocations: 180 kB / 3.251 GB, free: 231.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/5.484, allocations: 0 / 3.251 GB, free: 231.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/5.484, allocations: 102 kB / 3.252 GB, free: 231 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/5.485, allocations: 88.48 kB / 3.252 GB, free: 231 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/5.486, allocations: 454.6 kB / 3.252 GB, free: 230.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/5.486, allocations: 0.8218 MB / 3.253 GB, free: 229.6 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/5.486, allocations: 0 / 3.253 GB, free: 229.6 MB / 0.948 GB Notification: Performance of Templates: time 0.01588/5.502, allocations: 10.52 MB / 3.263 GB, free: 219.2 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)