Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001132/0.001132, allocations: 173.3 kB / 366.3 MB, free: 2 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.57/1.57, allocations: 205.1 MB / 0.6256 GB, free: 5.941 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.001047/0.001046, allocations: 87.3 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.121e-05/1.132e-05, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.649, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.121/4.77, allocations: 2.064 GB / 3.037 GB, free: 11.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/4.77, allocations: 87.89 kB / 3.037 GB, free: 11.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.8669/5.637, allocations: 220.7 MB / 3.252 GB, free: 174.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.505e-05/5.637, allocations: 15.98 kB / 3.252 GB, free: 174.5 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.001255/5.638, allocations: 0.6696 MB / 3.253 GB, free: 173.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/5.639, allocations: 12.03 kB / 3.253 GB, free: 173.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005246/5.639, allocations: 87.48 kB / 3.253 GB, free: 173.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/5.639, allocations: 309.9 kB / 3.253 GB, free: 173.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/5.64, allocations: 12 kB / 3.253 GB, free: 173.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/5.64, allocations: 20 kB / 3.253 GB, free: 173.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003133/5.64, allocations: 188.9 kB / 3.254 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/5.64, allocations: 258.4 kB / 3.254 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/5.64, allocations: 0 / 3.254 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/5.64, allocations: 0 / 3.254 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/5.64, allocations: 8 kB / 3.254 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/5.642, allocations: 1.019 MB / 3.255 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/5.642, allocations: 177.7 kB / 3.255 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/5.642, allocations: 95.92 kB / 3.255 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/5.643, allocations: 396.4 kB / 3.255 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/5.643, allocations: 34.56 kB / 3.255 GB, free: 171 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/5.643, allocations: 3.938 kB / 3.255 GB, free: 171 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001122/5.644, allocations: 341.4 kB / 3.256 GB, free: 170.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.927e-05/5.644, allocations: 59.41 kB / 3.256 GB, free: 170.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/5.644, allocations: 188.2 kB / 3.256 GB, free: 170.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/5.644, allocations: 25.7 kB / 3.256 GB, free: 170.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/5.644, allocations: 148.2 kB / 3.256 GB, free: 170.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/5.644, allocations: 63.05 kB / 3.256 GB, free: 170.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/5.644, allocations: 0 / 3.256 GB, free: 170.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/5.644, allocations: 342.7 kB / 3.257 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/5.644, allocations: 71.97 kB / 3.257 GB, free: 169.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/5.644, allocations: 132.5 kB / 3.257 GB, free: 169.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/5.645, allocations: 199.8 kB / 3.257 GB, free: 169.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/5.645, allocations: 0 / 3.257 GB, free: 169.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000846/5.646, allocations: 347.2 kB / 3.257 GB, free: 169.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/5.646, allocations: 7.984 kB / 3.257 GB, free: 169.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/5.646, allocations: 0 / 3.257 GB, free: 169.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/5.646, allocations: 4 kB / 3.257 GB, free: 169.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/5.646, allocations: 68.06 kB / 3.257 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/5.646, allocations: 3.984 kB / 3.257 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/5.647, allocations: 47.81 kB / 3.257 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/5.647, allocations: 12 kB / 3.257 GB, free: 168.9 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 7.713e-05/5.647, allocations: 116.8 kB / 3.258 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/5.647, allocations: 23.72 kB / 3.258 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009141/5.648, allocations: 355.2 kB / 3.258 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/5.648, allocations: 0 / 3.258 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/5.648, allocations: 4 kB / 3.258 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/5.648, allocations: 0 / 3.258 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/5.649, allocations: 0.8676 MB / 3.259 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/5.649, allocations: 4.188 kB / 3.259 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/5.65, allocations: 63.88 kB / 3.259 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/5.65, allocations: 4 kB / 3.259 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/5.65, allocations: 8 kB / 3.259 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/5.65, allocations: 3.984 kB / 3.259 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/5.65, allocations: 7.938 kB / 3.259 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001033/5.651, allocations: 0.626 MB / 3.259 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/5.651, allocations: 116.8 kB / 3.26 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/5.651, allocations: 8.062 kB / 3.26 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/5.651, allocations: 47.8 kB / 3.26 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/5.651, allocations: 15.92 kB / 3.26 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/5.651, allocations: 8 kB / 3.26 GB, free: 166.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.606e-05/5.651, allocations: 148.5 kB / 3.26 GB, free: 166.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006221/5.652, allocations: 183.7 kB / 3.26 GB, free: 166.2 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.001392/5.653, allocations: 1.174 MB / 3.261 GB, free: 165 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003251/5.654, allocations: 175.9 kB / 3.261 GB, free: 164.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.654, allocations: 0 / 3.261 GB, free: 164.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/5.654, allocations: 103.8 kB / 3.261 GB, free: 164.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/5.654, allocations: 81.94 kB / 3.261 GB, free: 164.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/5.655, allocations: 458.5 kB / 3.262 GB, free: 164.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/5.656, allocations: 0.8218 MB / 3.263 GB, free: 163.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/5.656, allocations: 0 / 3.263 GB, free: 163.3 MB / 0.948 GB Notification: Performance of Templates: time 0.01427/5.67, allocations: 10.52 MB / 3.273 GB, free: 152.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)