Running: ./testmodel.py --libraries=/home/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("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.144/2.144, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001594/0.001594, allocations: 185.3 kB / 360.3 MB, free: 7.551 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.673/1.673, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.00128/0.00128, allocations: 91.27 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.242/0.2434, allocations: 121.4 MB / 0.8503 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.7929, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/1.007, allocations: 140.8 MB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.008, allocations: 76.91 kB / 1.1 GB, free: 15.93 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.07425/1.082, allocations: 18.58 MB / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.082, allocations: 8.5 kB / 1.119 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004236/1.083, allocations: 166 kB / 1.119 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/1.084, allocations: 0.6997 MB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/1.085, allocations: 52 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/1.085, allocations: 84 kB / 1.12 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002834/1.088, allocations: 0.8388 MB / 1.12 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/1.091, allocations: 0.8834 MB / 1.121 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/1.091, allocations: 0 / 1.121 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/1.091, allocations: 0 / 1.121 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/1.091, allocations: 36 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008743/1.1, allocations: 3.132 MB / 1.124 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/1.101, allocations: 0.5019 MB / 1.125 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006777/1.102, allocations: 230.8 kB / 1.125 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/1.102, allocations: 8.656 kB / 1.125 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009234/1.103, allocations: 379.3 kB / 1.125 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 3.356e-06/1.103, allocations: 4 kB / 1.125 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.001721/1.105, allocations: 0.5292 MB / 1.126 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.105, allocations: 222.3 kB / 1.126 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.106, allocations: 0.5225 MB / 1.127 GB, free: 5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.106, allocations: 31.2 kB / 1.127 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/1.107, allocations: 490.9 kB / 1.127 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/1.107, allocations: 228.5 kB / 1.127 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/1.107, allocations: 4 kB / 1.127 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002275/1.108, allocations: 386.8 kB / 1.128 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008296/1.108, allocations: 245.5 kB / 1.128 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009536/1.109, allocations: 342.7 kB / 1.128 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/1.11, allocations: 260.5 kB / 1.129 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.11, allocations: 0 / 1.129 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002583/1.113, allocations: 0.6853 MB / 1.129 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.113, allocations: 5.25 kB / 1.129 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.113, allocations: 5.266 kB / 1.129 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.113, allocations: 4 kB / 1.129 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.114, allocations: 135.9 kB / 1.129 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.114, allocations: 7.906 kB / 1.129 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/1.116, allocations: 142.2 kB / 1.129 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.116, allocations: 31.98 kB / 1.129 GB, free: 1.992 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.0002559/1.116, allocations: 143.1 kB / 1.13 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/1.116, allocations: 75.06 kB / 1.13 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/1.118, allocations: 0.5383 MB / 1.13 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/1.118, allocations: 8 kB / 1.13 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.118, allocations: 0 / 1.13 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/1.118, allocations: 7.984 kB / 1.13 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/1.124, allocations: 2.278 MB / 1.132 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.124, allocations: 7.984 kB / 1.132 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.125, allocations: 140.6 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-05/1.125, allocations: 12 kB / 1.133 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/1.125, allocations: 16 kB / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.422e-05/1.125, allocations: 22.11 kB / 1.133 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/1.125, allocations: 11.94 kB / 1.133 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002224/1.128, allocations: 1.216 MB / 1.134 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002477/1.13, allocations: 1.612 MB / 1.135 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/1.13, allocations: 172 kB / 1.136 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/1.131, allocations: 12 kB / 1.136 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009212/1.132, allocations: 59.95 kB / 1.136 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/1.132, allocations: 84.17 kB / 1.136 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/1.132, allocations: 32 kB / 1.136 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0007086/1.133, allocations: 363.2 kB / 1.136 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001949/1.135, allocations: 238.7 kB / 1.136 GB, free: 10.2 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.0003563/1.135, allocations: 138.8 kB / 1.136 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.137, allocations: 0.6263 MB / 1.137 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.137, allocations: 0 / 1.137 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/1.138, allocations: 397.4 kB / 1.137 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/1.139, allocations: 87.44 kB / 1.138 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/1.144, allocations: 1.373 MB / 1.139 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.146, allocations: 1.174 MB / 1.14 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of SimCode: time 1.163e-06/1.146, allocations: 0 / 1.14 GB, free: 6.258 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)