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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.362/1.362, allocations: 285.5 MB / 292.8 MB, free: 9.918 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.001003/0.001003, allocations: 177.3 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.057/1.057, allocations: 205.1 MB / 0.6195 GB, free: 2.891 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007674/0.0007675, allocations: 93.89 kB / 0.7326 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.614e-06, allocations: 5.719 kB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1584, allocations: 115.3 MB / 0.9637 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5944, allocations: 141 MB / 1.101 GB, free: 32.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001665/0.5946, allocations: 73.14 kB / 1.101 GB, free: 32.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03409/0.6287, allocations: 17.22 MB / 1.118 GB, free: 31.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.702e-05/0.6288, allocations: 42.94 kB / 1.118 GB, free: 31.15 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.001653/0.6305, allocations: 1.313 MB / 1.12 GB, free: 30.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.6305, allocations: 12.25 kB / 1.12 GB, free: 30.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.6307, allocations: 161.6 kB / 1.12 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/0.6316, allocations: 0.6991 MB / 1.12 GB, free: 29.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.6317, allocations: 53.12 kB / 1.121 GB, free: 29.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.6318, allocations: 85.97 kB / 1.121 GB, free: 29.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001339/0.6331, allocations: 0.8363 MB / 1.121 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.6346, allocations: 0.8822 MB / 1.122 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.6346, allocations: 0 / 1.122 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.6347, allocations: 0.5156 kB / 1.122 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.6347, allocations: 35.03 kB / 1.122 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00437/0.6391, allocations: 3.13 MB / 1.125 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/0.6399, allocations: 0.4929 MB / 1.126 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.6402, allocations: 232.9 kB / 1.126 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.6403, allocations: 12.56 kB / 1.126 GB, free: 29.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.6408, allocations: 373.2 kB / 1.126 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=74): time 1.883e-06/0.6408, allocations: 0 / 1.126 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74): time 0.0007883/0.6416, allocations: 0.5457 MB / 1.127 GB, free: 29.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.6416, allocations: 222.4 kB / 1.127 GB, free: 28.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.6421, allocations: 0.5149 MB / 1.128 GB, free: 28.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.6421, allocations: 30.56 kB / 1.128 GB, free: 28.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.6424, allocations: 493.2 kB / 1.128 GB, free: 28.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.6425, allocations: 229.2 kB / 1.128 GB, free: 28.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.6425, allocations: 3.906 kB / 1.128 GB, free: 28.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.6426, allocations: 382.1 kB / 1.129 GB, free: 27.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.643, allocations: 243.5 kB / 1.129 GB, free: 27.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.6434, allocations: 350.2 kB / 1.129 GB, free: 27.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.6439, allocations: 257 kB / 1.13 GB, free: 27.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6439, allocations: 0.75 kB / 1.13 GB, free: 27.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001026/0.6449, allocations: 0.6875 MB / 1.13 GB, free: 27.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.645, allocations: 7.438 kB / 1.13 GB, free: 27.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.645, allocations: 0 / 1.13 GB, free: 27.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.645, allocations: 8.297 kB / 1.13 GB, free: 27.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.6455, allocations: 132.5 kB / 1.13 GB, free: 27.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6455, allocations: 4.453 kB / 1.13 GB, free: 27.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.6462, allocations: 150.4 kB / 1.131 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.6462, allocations: 27.97 kB / 1.131 GB, free: 27.61 MB / 0.7136 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.0001214/0.6463, allocations: 145.2 kB / 1.131 GB, free: 27.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.6464, allocations: 78.47 kB / 1.131 GB, free: 27.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/0.6472, allocations: 0.5339 MB / 1.131 GB, free: 27.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6473, allocations: 7.766 kB / 1.131 GB, free: 27.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6473, allocations: 3.906 kB / 1.131 GB, free: 27.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6473, allocations: 7.859 kB / 1.131 GB, free: 27.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.6497, allocations: 2.274 MB / 1.134 GB, free: 42.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6497, allocations: 8.609 kB / 1.134 GB, free: 42.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.6502, allocations: 141.7 kB / 1.134 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.6502, allocations: 11.5 kB / 1.134 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.6503, allocations: 13.62 kB / 1.134 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.6503, allocations: 12.91 kB / 1.134 GB, free: 42.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6503, allocations: 12.25 kB / 1.134 GB, free: 42.6 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009338/0.6513, allocations: 1.221 MB / 1.135 GB, free: 41.65 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6514, allocations: 167.3 kB / 1.135 GB, free: 41.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.6515, allocations: 17.62 kB / 1.135 GB, free: 41.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.6519, allocations: 62.2 kB / 1.135 GB, free: 41.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6521, allocations: 83.7 kB / 1.135 GB, free: 41.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.6521, allocations: 27.64 kB / 1.135 GB, free: 41.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000314/0.6524, allocations: 371.9 kB / 1.136 GB, free: 41.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005511/0.653, allocations: 239.3 kB / 1.136 GB, free: 41.32 MB / 0.7292 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.000173/0.6532, allocations: 145.6 kB / 1.136 GB, free: 41.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008284/0.654, allocations: 0.6192 MB / 1.137 GB, free: 41.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.654, allocations: 0 / 1.137 GB, free: 41.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.6546, allocations: 397.5 kB / 1.137 GB, free: 41.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.6551, allocations: 86.2 kB / 1.137 GB, free: 41.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.6572, allocations: 1.367 MB / 1.138 GB, free: 40.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/0.6579, allocations: 1.188 MB / 1.14 GB, free: 39.71 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.6579, allocations: 0 / 1.14 GB, free: 39.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.01285/0.6708, allocations: 8.033 MB / 1.147 GB, free: 39.15 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)