Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.346/1.346, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.0009648/0.0009648, allocations: 181.3 kB / 366.3 MB, free: 1.961 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.096/1.096, allocations: 205.2 MB / 0.6256 GB, free: 5.832 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.0008313/0.0008314, allocations: 97.27 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.853e-06, allocations: 0 / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4242, allocations: 116.3 MB / 0.9726 GB, free: 68.76 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5672, allocations: 142 MB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.5674, allocations: 80.39 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03885/0.6062, allocations: 17.22 MB / 1.128 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.284e-05/0.6063, allocations: 36 kB / 1.128 GB, free: 5.266 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.001808/0.6081, allocations: 1.303 MB / 1.129 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.6082, allocations: 15.97 kB / 1.129 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.6084, allocations: 166 kB / 1.13 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6094, allocations: 0.6919 MB / 1.13 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.6095, allocations: 56 kB / 1.13 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.6096, allocations: 87.98 kB / 1.13 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001461/0.6111, allocations: 0.8414 MB / 1.131 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6126, allocations: 0.8848 MB / 1.132 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.6127, allocations: 0 / 1.132 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.6127, allocations: 0 / 1.132 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.6128, allocations: 32 kB / 1.132 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004646/0.6174, allocations: 3.13 MB / 1.135 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.6184, allocations: 0.5018 MB / 1.136 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.6187, allocations: 222.8 kB / 1.136 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.6188, allocations: 12.64 kB / 1.136 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005221/0.6193, allocations: 375.3 kB / 1.136 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 2.325e-06/0.6193, allocations: 0 / 1.136 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.0009203/0.6203, allocations: 0.5381 MB / 1.137 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.6204, allocations: 214.3 kB / 1.137 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.6209, allocations: 0.5225 MB / 1.138 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.621, allocations: 37.69 kB / 1.138 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.6213, allocations: 490.9 kB / 1.138 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.6215, allocations: 237.5 kB / 1.138 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.6215, allocations: 0 / 1.138 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6217, allocations: 378.8 kB / 1.139 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.6221, allocations: 249.6 kB / 1.139 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.6226, allocations: 342.7 kB / 1.139 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.6231, allocations: 256.4 kB / 1.139 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6232, allocations: 0 / 1.139 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001149/0.6243, allocations: 0.6892 MB / 1.14 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6243, allocations: 4 kB / 1.14 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.6243, allocations: 4.797 kB / 1.14 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6244, allocations: 5.219 kB / 1.14 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.625, allocations: 135.8 kB / 1.14 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.625, allocations: 7.906 kB / 1.14 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.6256, allocations: 147.8 kB / 1.14 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.6257, allocations: 31.98 kB / 1.14 GB, free: 8.391 MB / 0.7448 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.0001524/0.6259, allocations: 135.4 kB / 1.141 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.626, allocations: 71.06 kB / 1.141 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008914/0.6269, allocations: 0.55 MB / 1.141 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.6269, allocations: 8 kB / 1.141 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6269, allocations: 0 / 1.141 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6269, allocations: 3.984 kB / 1.141 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.6298, allocations: 2.27 MB / 1.143 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.6298, allocations: 11.98 kB / 1.143 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.6303, allocations: 137.3 kB / 1.144 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-05/0.6303, allocations: 15.98 kB / 1.144 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.6304, allocations: 12 kB / 1.144 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.6304, allocations: 12.12 kB / 1.144 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.6304, allocations: 12 kB / 1.144 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001255/0.6317, allocations: 1.227 MB / 1.145 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.6318, allocations: 164 kB / 1.145 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.6319, allocations: 19.89 kB / 1.145 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.6324, allocations: 63.95 kB / 1.145 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.6325, allocations: 76.19 kB / 1.145 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.6326, allocations: 32 kB / 1.145 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.00038/0.633, allocations: 371.2 kB / 1.145 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006848/0.6337, allocations: 238.6 kB / 1.146 GB, free: 2.523 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.000207/0.6339, allocations: 142.4 kB / 1.146 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009756/0.6349, allocations: 0.6169 MB / 1.146 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6349, allocations: 4 kB / 1.146 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.6356, allocations: 397.4 kB / 1.147 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.6361, allocations: 81.45 kB / 1.147 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.6386, allocations: 1.377 MB / 1.148 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/0.6395, allocations: 1.177 MB / 1.149 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of SimCode: time 3.8e-07/0.6395, allocations: 4 kB / 1.149 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of Templates: time 0.01461/0.6541, allocations: 8.038 MB / 1.157 GB, free: 6.664 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)