Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.32/2.32, allocations: 248.6 MB / 255.9 MB, free: 7.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001717/0.001717, allocations: 183.5 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.1 MB / 0.5658 GB, free: 364 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001887/0.001887, allocations: 91.27 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4704/0.4723, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.6903, allocations: 106.2 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6763/1.367, allocations: 135.8 MB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/1.367, allocations: 84.73 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.07198/1.439, allocations: 16.44 MB / 1.032 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/1.439, allocations: 8 kB / 1.032 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/1.44, allocations: 154.1 kB / 1.032 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/1.442, allocations: 0.5564 MB / 1.033 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/1.442, allocations: 55.94 kB / 1.033 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003872/1.443, allocations: 83.47 kB / 1.033 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004582/1.447, allocations: 0.8147 MB / 1.034 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004623/1.452, allocations: 0.8561 MB / 1.035 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/1.452, allocations: 0 / 1.035 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.452, allocations: 0 / 1.035 GB, free: 4.539 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/1.452, allocations: 32 kB / 1.035 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009629/1.462, allocations: 2.98 MB / 1.038 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/1.464, allocations: 0.5025 MB / 1.038 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/1.465, allocations: 225.4 kB / 1.038 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/1.465, allocations: 13.27 kB / 1.038 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009068/1.466, allocations: 378.7 kB / 1.039 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=74): time 3.878e-06/1.466, allocations: 0 / 1.039 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74): time 0.001969/1.468, allocations: 0.5244 MB / 1.039 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.468, allocations: 214.3 kB / 1.04 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/1.469, allocations: 467.9 kB / 1.04 GB, free: 0.5078 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001943/1.47, allocations: 36.64 kB / 1.04 GB, free: 480 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005268/1.47, allocations: 469.7 kB / 1.04 GB, free: 56 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/1.471, allocations: 228.2 kB / 1.041 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/1.471, allocations: 0 / 1.041 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.471, allocations: 378.6 kB / 1.041 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007179/1.472, allocations: 224.9 kB / 1.041 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008102/1.473, allocations: 325.2 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/1.473, allocations: 223 kB / 1.042 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.473, allocations: 0 / 1.042 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002799/1.476, allocations: 0.6166 MB / 1.042 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.476, allocations: 4 kB / 1.042 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.476, allocations: 0 / 1.042 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.774e-05/1.476, allocations: 4.031 kB / 1.042 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.478, allocations: 131.2 kB / 1.042 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/1.478, allocations: 4 kB / 1.042 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.48, allocations: 127 kB / 1.043 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.48, allocations: 27.36 kB / 1.043 GB, free: 14.31 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.y,$PRE.winSta.pulseStart,winSta.pulseStart,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): 95 * Array equations: 0 * Algorithm blocks: 0 * 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.0004505/1.481, allocations: 135.1 kB / 1.043 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/1.481, allocations: 71.09 kB / 1.043 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/1.484, allocations: 0.5349 MB / 1.043 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.484, allocations: 8 kB / 1.043 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.484, allocations: 0 / 1.043 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/1.484, allocations: 7.922 kB / 1.043 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009097/1.493, allocations: 2.233 MB / 1.046 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/1.494, allocations: 4 kB / 1.046 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.495, allocations: 138.4 kB / 1.046 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.283e-05/1.495, allocations: 12 kB / 1.046 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/1.495, allocations: 15.98 kB / 1.046 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.172e-05/1.495, allocations: 16.19 kB / 1.046 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-05/1.495, allocations: 12 kB / 1.046 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002189/1.497, allocations: 1.217 MB / 1.047 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002342/1.5, allocations: 1.599 MB / 1.048 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/1.5, allocations: 166.9 kB / 1.049 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/1.5, allocations: 14.62 kB / 1.049 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.501, allocations: 63.94 kB / 1.049 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004945/1.502, allocations: 81.31 kB / 1.049 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.502, allocations: 33.8 kB / 1.049 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001028/1.503, allocations: 324 kB / 1.049 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004024/1.507, allocations: 222.7 kB / 1.049 GB, free: 8.016 MB / 0.6667 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,actAirSet_RehBox.uWin,actAirSet_RehBox.hys.y,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.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.0005875/1.508, allocations: 122.4 kB / 1.049 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00275/1.511, allocations: 0.5601 MB / 1.05 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/1.511, allocations: 0 / 1.05 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/1.513, allocations: 394.8 kB / 1.05 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/1.515, allocations: 67.75 kB / 1.05 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/1.522, allocations: 1.315 MB / 1.052 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/1.524, allocations: 1.134 MB / 1.053 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of SimCode: time 2.195e-06/1.524, allocations: 4 kB / 1.053 GB, free: 4.773 MB / 0.6667 GB