Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.118/2.118, allocations: 284.9 MB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 186.9 kB / 360.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001253, allocations: 89.16 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.528e-06, allocations: 0 / 0.8503 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5634, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/0.7731, allocations: 140.8 MB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.7734, allocations: 72.66 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0675/0.8409, allocations: 17.23 MB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.676e-05/0.8411, allocations: 28 kB / 1.117 GB, free: 14.76 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.003218/0.8443, allocations: 1.316 MB / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8444, allocations: 12.53 kB / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.8447, allocations: 165 kB / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.8465, allocations: 0.6997 MB / 1.119 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.8466, allocations: 56 kB / 1.119 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.8468, allocations: 84 kB / 1.12 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002839/0.8497, allocations: 0.8384 MB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.8524, allocations: 0.8833 MB / 1.121 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.8525, allocations: 0 / 1.121 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.8526, allocations: 0 / 1.121 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.8527, allocations: 36 kB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008491/0.8612, allocations: 3.13 MB / 1.124 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.8629, allocations: 0.4974 MB / 1.125 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/0.8636, allocations: 222.8 kB / 1.125 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/0.8637, allocations: 21.17 kB / 1.125 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009057/0.8646, allocations: 380 kB / 1.125 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 3.086e-06/0.8646, allocations: 0 / 1.125 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.001712/0.8663, allocations: 0.528 MB / 1.126 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.8664, allocations: 222.2 kB / 1.126 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.8674, allocations: 0.5225 MB / 1.127 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.851e-05/0.8675, allocations: 33.7 kB / 1.127 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.8679, allocations: 494.8 kB / 1.127 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.8682, allocations: 228.5 kB / 1.127 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.8683, allocations: 5.688 kB / 1.127 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.8685, allocations: 382.8 kB / 1.128 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007983/0.8693, allocations: 245.5 kB / 1.128 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/0.8702, allocations: 342.7 kB / 1.128 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/0.8712, allocations: 252.4 kB / 1.129 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8713, allocations: 0 / 1.129 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002239/0.8735, allocations: 0.6892 MB / 1.129 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8735, allocations: 7.938 kB / 1.129 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8736, allocations: 3.938 kB / 1.129 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.8736, allocations: 4 kB / 1.129 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.8748, allocations: 131.8 kB / 1.129 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.8748, allocations: 11.97 kB / 1.129 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.8762, allocations: 143.5 kB / 1.129 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.8763, allocations: 31.98 kB / 1.13 GB, free: 1.895 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * 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.0002615/0.8766, allocations: 135.2 kB / 1.13 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.8768, allocations: 73.31 kB / 1.13 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.8785, allocations: 0.5538 MB / 1.13 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8786, allocations: 9.406 kB / 1.13 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.8786, allocations: 0 / 1.13 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.8786, allocations: 3.984 kB / 1.13 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005432/0.884, allocations: 2.274 MB / 1.132 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.8841, allocations: 8 kB / 1.133 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.8853, allocations: 139.7 kB / 1.133 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.261e-05/0.8853, allocations: 12.47 kB / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.8854, allocations: 16 kB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.8855, allocations: 8 kB / 1.133 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-05/0.8855, allocations: 15.92 kB / 1.133 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00221/0.8877, allocations: 1.227 MB / 1.134 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.888, allocations: 164 kB / 1.134 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.8881, allocations: 19.89 kB / 1.134 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009232/0.8891, allocations: 63.95 kB / 1.134 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.8893, allocations: 80.19 kB / 1.134 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.8894, allocations: 29.62 kB / 1.134 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0007112/0.8901, allocations: 371.2 kB / 1.135 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001073/0.8912, allocations: 234.7 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002974/0.8915, allocations: 135.8 kB / 1.135 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.8934, allocations: 0.6208 MB / 1.136 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.8934, allocations: 4 kB / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.8949, allocations: 389.3 kB / 1.136 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.8957, allocations: 89.58 kB / 1.136 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.9, allocations: 1.372 MB / 1.137 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/0.9015, allocations: 1.178 MB / 1.138 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.9015, allocations: 8 kB / 1.138 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of Templates: time 0.02741/0.9289, allocations: 8.029 MB / 1.146 GB, free: 312 kB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)