Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",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.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0008892/0.0008892, allocations: 185.2 kB / 361.1 MB, free: 7.086 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.024/1.024, 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.0007648/0.0007648, allocations: 91.69 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1766/0.1774, allocations: 121.5 MB / 0.8512 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.5833, allocations: 115.3 MB / 0.9638 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.7185, allocations: 141 MB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.7187, allocations: 73.31 kB / 1.102 GB, free: 14.88 MB / 0.7136 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.04086/0.7596, allocations: 18.58 MB / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.7597, allocations: 12.5 kB / 1.12 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.7599, allocations: 162 kB / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.7609, allocations: 0.6941 MB / 1.121 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.7609, allocations: 60 kB / 1.121 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.7611, allocations: 84 kB / 1.121 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001461/0.7625, allocations: 0.8375 MB / 1.122 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.7642, allocations: 0.8834 MB / 1.122 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.7642, allocations: 0 / 1.122 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.789e-05/0.7643, allocations: 0 / 1.122 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.7643, allocations: 36 kB / 1.122 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/0.7692, allocations: 3.132 MB / 1.125 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009387/0.7702, allocations: 0.5036 MB / 1.126 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.7705, allocations: 222.8 kB / 1.126 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.7706, allocations: 13.19 kB / 1.126 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.7711, allocations: 383.3 kB / 1.127 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 2.164e-06/0.7712, allocations: 0 / 1.127 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.0009243/0.7721, allocations: 0.5365 MB / 1.127 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.7722, allocations: 214.3 kB / 1.127 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.7728, allocations: 0.5264 MB / 1.128 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.7729, allocations: 29.7 kB / 1.128 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.7732, allocations: 490.9 kB / 1.128 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.7734, allocations: 232.5 kB / 1.129 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.7735, allocations: 8 kB / 1.129 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7736, allocations: 378.8 kB / 1.129 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.7741, allocations: 249.5 kB / 1.129 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.7746, allocations: 343.9 kB / 1.129 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.7751, allocations: 252.4 kB / 1.13 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7751, allocations: 0 / 1.13 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001188/0.7763, allocations: 0.6892 MB / 1.13 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7764, allocations: 10.12 kB / 1.13 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.7764, allocations: 3.984 kB / 1.13 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.7764, allocations: 7.984 kB / 1.13 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.7769, allocations: 131.8 kB / 1.13 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.777, allocations: 11.97 kB / 1.131 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.7776, allocations: 143.5 kB / 1.131 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.7777, allocations: 27.98 kB / 1.131 GB, free: 0.9453 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.0001506/0.7778, allocations: 135.4 kB / 1.131 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/0.7779, allocations: 71.06 kB / 1.131 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009219/0.7789, allocations: 0.5516 MB / 1.131 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.7789, allocations: 8 kB / 1.131 GB, free: 168 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7789, allocations: 0 / 1.131 GB, free: 168 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.7789, allocations: 3.984 kB / 1.131 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.7816, allocations: 2.27 MB / 1.134 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.7817, allocations: 8 kB / 1.134 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/0.7822, allocations: 142.5 kB / 1.134 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.7822, allocations: 12.44 kB / 1.134 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.7822, allocations: 16 kB / 1.134 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.7823, allocations: 15.92 kB / 1.134 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.7823, allocations: 8 kB / 1.134 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001208/0.7835, allocations: 1.227 MB / 1.135 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001274/0.7848, allocations: 1.612 MB / 1.137 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.7849, allocations: 164 kB / 1.137 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.835e-05/0.785, allocations: 19.98 kB / 1.137 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.7855, allocations: 55.95 kB / 1.137 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.7856, allocations: 80.19 kB / 1.137 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.7857, allocations: 31.98 kB / 1.137 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.000362/0.7861, allocations: 368.8 kB / 1.137 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00117/0.7872, allocations: 234.7 kB / 1.138 GB, free: 9.18 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.0001905/0.7874, allocations: 153.4 kB / 1.138 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009728/0.7884, allocations: 0.617 MB / 1.138 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7884, allocations: 0 / 1.138 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.7891, allocations: 399.1 kB / 1.139 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.7896, allocations: 86.28 kB / 1.139 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.7921, allocations: 1.376 MB / 1.14 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008936/0.793, allocations: 1.178 MB / 1.141 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/0.793, allocations: 0 / 1.141 GB, free: 5.215 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)