Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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.304/2.304, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001598/0.001598, allocations: 177.3 kB / 315.1 MB, free: 4.297 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.872/1.872, allocations: 205.1 MB / 0.5658 GB, free: 396 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.002188/0.002188, allocations: 94.58 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4709/0.4732, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.7295, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6743/1.404, allocations: 132.8 MB / 1.013 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.404, allocations: 75.5 kB / 1.013 GB, free: 7.27 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.01657/1.421, allocations: 3.396 MB / 1.017 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.421, allocations: 8 kB / 1.017 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/1.421, allocations: 27.72 kB / 1.017 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/1.421, allocations: 198.9 kB / 1.017 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/1.421, allocations: 8 kB / 1.017 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/1.421, allocations: 12 kB / 1.017 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004535/1.422, allocations: 129.3 kB / 1.017 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/1.422, allocations: 149.5 kB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.422, allocations: 0 / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/1.422, allocations: 3.812 kB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.422, allocations: 8 kB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/1.424, allocations: 0.5772 MB / 1.018 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/1.424, allocations: 147.6 kB / 1.018 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/1.425, allocations: 57.92 kB / 1.018 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/1.425, allocations: 4 kB / 1.018 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003255/1.425, allocations: 123.7 kB / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 4.148e-06/1.425, allocations: 0 / 1.018 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0005067/1.426, allocations: 150.5 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.426, allocations: 62.77 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/1.426, allocations: 170.3 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/1.426, allocations: 33.2 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/1.426, allocations: 134.9 kB / 1.019 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/1.426, allocations: 42.33 kB / 1.019 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/1.426, allocations: 0 / 1.019 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.426, allocations: 337.5 kB / 1.019 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/1.427, allocations: 63.66 kB / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/1.427, allocations: 111.2 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/1.427, allocations: 46.17 kB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.427, allocations: 0 / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005567/1.428, allocations: 205.8 kB / 1.019 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.428, allocations: 7.906 kB / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.428, allocations: 0 / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.428, allocations: 0 / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/1.429, allocations: 47.97 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.429, allocations: 3.938 kB / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008953/1.429, allocations: 58.86 kB / 1.019 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/1.43, allocations: 15.98 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,$PRE.uCoo.T_start,uCoo.T_start,$PRE.uCoo.count,uCoo.count,$PRE.uHea.T_start,uHea.T_start,$PRE.uHea.count,uHea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001541/1.43, allocations: 118.5 kB / 1.02 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/1.43, allocations: 15.81 kB / 1.02 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/1.43, allocations: 23 kB / 1.02 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.43, allocations: 3.984 kB / 1.02 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.43, allocations: 0 / 1.02 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.43, allocations: 0 / 1.02 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/1.43, allocations: 270.3 kB / 1.02 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.43, allocations: 0 / 1.02 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/1.431, allocations: 35.91 kB / 1.02 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.431, allocations: 4 kB / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/1.431, allocations: 4 kB / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.431, allocations: 0 / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.431, allocations: 0 / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004534/1.431, allocations: 185.4 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006624/1.432, allocations: 0.5535 MB / 1.021 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/1.432, allocations: 100.3 kB / 1.021 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/1.432, allocations: 4 kB / 1.021 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/1.433, allocations: 43.95 kB / 1.021 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.433, allocations: 47.36 kB / 1.021 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/1.433, allocations: 7.984 kB / 1.021 GB, free: 380 kB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001966/1.433, allocations: 134.3 kB / 1.021 GB, free: 264 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001257/1.434, allocations: 43.84 kB / 1.021 GB, free: 220 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uCoo.T_start,uCoo.count,uHea.T_start,uHea.count) * Number of discrete states: 5 (uCoo.count,uHea.count,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002237/1.435, allocations: 118.1 kB / 1.021 GB, free: 96 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005309/1.435, allocations: 168.4 kB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.435, allocations: 0 / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/1.435, allocations: 86.2 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/1.436, allocations: 18.67 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.437, allocations: 246.3 kB / 1.022 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/1.437, allocations: 0.766 MB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.437, allocations: 3.938 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB