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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.383/1.383, 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.001015/0.001015, allocations: 177.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.121/1.121, allocations: 205.2 MB / 0.6256 GB, free: 5.77 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.0008608/0.0008608, allocations: 82.05 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2049/0.2058, allocations: 122.5 MB / 0.8591 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.6391, allocations: 116.3 MB / 0.9727 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.7854, allocations: 142 MB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.7857, allocations: 76.66 kB / 1.111 GB, free: 6.383 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.04296/0.8287, allocations: 18.57 MB / 1.13 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8287, allocations: 8 kB / 1.13 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.8292, allocations: 162 kB / 1.13 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.8305, allocations: 0.6958 MB / 1.13 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.559e-05/0.8306, allocations: 52 kB / 1.13 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.8308, allocations: 84 kB / 1.131 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/0.8326, allocations: 0.8493 MB / 1.131 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.8344, allocations: 0.8834 MB / 1.132 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.8344, allocations: 0.9375 kB / 1.132 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.8345, allocations: 0 / 1.132 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.8345, allocations: 39.94 kB / 1.132 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.8399, allocations: 3.123 MB / 1.135 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/0.8409, allocations: 0.5018 MB / 1.136 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.8413, allocations: 222.8 kB / 1.136 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.8413, allocations: 8.656 kB / 1.136 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005725/0.8419, allocations: 383.3 kB / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 2.334e-06/0.8419, allocations: 0 / 1.136 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.0009644/0.8429, allocations: 0.5303 MB / 1.137 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.515e-05/0.843, allocations: 219.3 kB / 1.137 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.8436, allocations: 0.5225 MB / 1.138 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.8437, allocations: 33.7 kB / 1.138 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.844, allocations: 494.8 kB / 1.138 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.8442, allocations: 236.5 kB / 1.138 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.8442, allocations: 4 kB / 1.138 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8444, allocations: 382.8 kB / 1.139 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.8448, allocations: 241.6 kB / 1.139 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.8453, allocations: 342.7 kB / 1.139 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.8459, allocations: 256.5 kB / 1.14 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8459, allocations: 1.219 kB / 1.14 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001303/0.8472, allocations: 0.6892 MB / 1.14 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.8473, allocations: 4 kB / 1.14 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8473, allocations: 0 / 1.14 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.8473, allocations: 4 kB / 1.14 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.8479, allocations: 143.7 kB / 1.14 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.8479, allocations: 7.906 kB / 1.14 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.8486, allocations: 147.5 kB / 1.14 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.453e-05/0.8487, allocations: 28 kB / 1.141 GB, free: 8.289 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.0001532/0.8488, allocations: 136.3 kB / 1.141 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.8489, allocations: 75.06 kB / 1.141 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/0.8498, allocations: 0.5421 MB / 1.141 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.8499, allocations: 8 kB / 1.141 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8499, allocations: 1.594 kB / 1.141 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.8499, allocations: 3.984 kB / 1.141 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.8528, allocations: 2.282 MB / 1.143 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.8528, allocations: 4 kB / 1.143 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.8534, allocations: 131.8 kB / 1.144 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.8534, allocations: 12 kB / 1.144 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.8535, allocations: 19.98 kB / 1.144 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/0.8535, allocations: 16.16 kB / 1.144 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.8535, allocations: 15.94 kB / 1.144 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001366/0.8549, allocations: 1.22 MB / 1.145 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001326/0.8562, allocations: 1.616 MB / 1.146 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.8564, allocations: 168 kB / 1.147 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.8565, allocations: 15.98 kB / 1.147 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.857, allocations: 55.95 kB / 1.147 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.8571, allocations: 76.25 kB / 1.147 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.8572, allocations: 33.03 kB / 1.147 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004103/0.8576, allocations: 363.2 kB / 1.147 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00135/0.859, allocations: 250.6 kB / 1.147 GB, free: 0.5156 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.0001866/0.8592, allocations: 131 kB / 1.147 GB, free: 384 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.8602, allocations: 0.6209 MB / 1.148 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8602, allocations: 4 kB / 1.148 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.8609, allocations: 394.5 kB / 1.148 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.8614, allocations: 88.42 kB / 1.149 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.864, allocations: 1.373 MB / 1.15 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009327/0.8649, allocations: 1.185 MB / 1.151 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of SimCode: time 3.4e-07/0.865, allocations: 4 kB / 1.151 GB, free: 12.56 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)