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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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 8.0.1-maint.8.0.x/package.mo): time 1.427/1.427, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001027/0.001027, allocations: 181.2 kB / 361.1 MB, free: 7.066 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.257/1.257, 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.0008459/0.0008459, allocations: 94.22 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2381/0.2389, allocations: 121.4 MB / 0.8511 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.8255, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.343/4.168, allocations: 2.063 GB / 3.027 GB, free: 57.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/4.169, allocations: 82.61 kB / 3.027 GB, free: 57.1 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.7092/4.878, allocations: 221.4 MB / 3.243 GB, free: 224.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/4.878, allocations: 16.44 kB / 3.243 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/4.878, allocations: 83.55 kB / 3.243 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/4.879, allocations: 309.9 kB / 3.244 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/4.879, allocations: 8 kB / 3.244 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/4.879, allocations: 16 kB / 3.244 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002945/4.879, allocations: 192.9 kB / 3.244 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/4.879, allocations: 254.5 kB / 3.244 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/4.879, allocations: 0 / 3.244 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/4.879, allocations: 3.984 kB / 3.244 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/4.879, allocations: 8 kB / 3.244 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/4.881, allocations: 1.02 MB / 3.245 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/4.881, allocations: 166.7 kB / 3.245 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/4.881, allocations: 96.83 kB / 3.245 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/4.882, allocations: 392.4 kB / 3.246 GB, free: 222.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/4.882, allocations: 39.41 kB / 3.246 GB, free: 222.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/4.882, allocations: 3.984 kB / 3.246 GB, free: 222.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001062/4.883, allocations: 346.4 kB / 3.246 GB, free: 221.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.562e-05/4.883, allocations: 59.39 kB / 3.246 GB, free: 221.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/4.883, allocations: 176.3 kB / 3.246 GB, free: 221.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/4.883, allocations: 29.7 kB / 3.246 GB, free: 221.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/4.883, allocations: 156.1 kB / 3.246 GB, free: 221.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/4.883, allocations: 67.03 kB / 3.247 GB, free: 221.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/4.883, allocations: 0 / 3.247 GB, free: 221.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/4.883, allocations: 334.7 kB / 3.247 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/4.883, allocations: 67.98 kB / 3.247 GB, free: 220.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/4.883, allocations: 136 kB / 3.247 GB, free: 220.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/4.884, allocations: 202.8 kB / 3.247 GB, free: 220.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/4.884, allocations: 0 / 3.247 GB, free: 220.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008219/4.885, allocations: 349 kB / 3.248 GB, free: 220.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/4.885, allocations: 4 kB / 3.248 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/4.885, allocations: 0 / 3.248 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/4.885, allocations: 4 kB / 3.248 GB, free: 220.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/4.885, allocations: 72.05 kB / 3.248 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/4.885, allocations: 0 / 3.248 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/4.885, allocations: 51.81 kB / 3.248 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/4.885, allocations: 11.98 kB / 3.248 GB, free: 220 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 6.52e-05/4.886, allocations: 112.9 kB / 3.248 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/4.886, allocations: 27.72 kB / 3.248 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/4.886, allocations: 359.2 kB / 3.248 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/4.886, allocations: 0 / 3.248 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/4.887, allocations: 4 kB / 3.248 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/4.887, allocations: 3.984 kB / 3.248 GB, free: 219.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/4.888, allocations: 0.8522 MB / 3.249 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/4.888, allocations: 0 / 3.249 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/4.888, allocations: 64.08 kB / 3.249 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/4.888, allocations: 4 kB / 3.249 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/4.888, allocations: 7.906 kB / 3.249 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/4.888, allocations: 0 / 3.249 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/4.888, allocations: 4 kB / 3.249 GB, free: 218.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009587/4.889, allocations: 0.6386 MB / 3.25 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001212/4.89, allocations: 1.17 MB / 3.251 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/4.891, allocations: 120.8 kB / 3.251 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/4.891, allocations: 0 / 3.251 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/4.891, allocations: 36.03 kB / 3.251 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/4.891, allocations: 27.84 kB / 3.251 GB, free: 216.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/4.891, allocations: 8 kB / 3.251 GB, free: 216.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.027e-05/4.891, allocations: 152.5 kB / 3.251 GB, free: 216.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001256/4.892, allocations: 295.7 kB / 3.251 GB, free: 215.9 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.001129/4.893, allocations: 1.177 MB / 3.253 GB, free: 214.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002854/4.894, allocations: 184.1 kB / 3.253 GB, free: 214.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/4.894, allocations: 4.062 kB / 3.253 GB, free: 214.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/4.894, allocations: 99.86 kB / 3.253 GB, free: 214.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/4.894, allocations: 82.09 kB / 3.253 GB, free: 214.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00079/4.895, allocations: 447 kB / 3.253 GB, free: 213.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/4.895, allocations: 0.8257 MB / 3.254 GB, free: 213 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/4.895, allocations: 0 / 3.254 GB, free: 213 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)