Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.427/2.427, allocations: 253.1 MB / 260.4 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001648, allocations: 177.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 103.3 kB / 0.6746 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.378e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2371, allocations: 106.3 MB / 0.8881 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6794/0.9166, allocations: 132.8 MB / 1.018 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001113/0.9179, allocations: 81.31 kB / 1.018 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02187/0.9398, allocations: 2.865 MB / 1.021 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.9399, allocations: 4 kB / 1.021 GB, free: 2.977 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.00153/0.9414, allocations: 0.5259 MB / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.9415, allocations: 12.03 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.9416, allocations: 24.84 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.9419, allocations: 206.7 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.942, allocations: 4 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.942, allocations: 15.31 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004808/0.9425, allocations: 124.5 kB / 1.022 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.943, allocations: 155.9 kB / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9431, allocations: 0 / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.9431, allocations: 0 / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.9431, allocations: 4 kB / 1.022 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.9447, allocations: 0.5831 MB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.9453, allocations: 147.1 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.9455, allocations: 57.23 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.9455, allocations: 7.938 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.9459, allocations: 119.8 kB / 1.023 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.046e-06/0.9459, allocations: 4 kB / 1.023 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.000515/0.9464, allocations: 145 kB / 1.023 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.9465, allocations: 62.95 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.9468, allocations: 167.3 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.9468, allocations: 28.2 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.947, allocations: 135.6 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.9471, allocations: 45.45 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.9471, allocations: 0 / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002688/0.9474, allocations: 342.1 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.9476, allocations: 68.69 kB / 1.024 GB, free: 272 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.9479, allocations: 104.3 kB / 1.024 GB, free: 192 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.9481, allocations: 51.3 kB / 1.024 GB, free: 160 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9481, allocations: 4 kB / 1.024 GB, free: 156 kB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005725/0.9487, allocations: 187.6 kB / 1.024 GB, free: 8 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9487, allocations: 7.906 kB / 1.024 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.9488, allocations: 48 / 1.024 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.9488, allocations: 8.047 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.9493, allocations: 47.41 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9493, allocations: 0 / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.9499, allocations: 63.86 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.95, allocations: 7.984 kB / 1.024 GB, free: 15.88 MB / 0.6511 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.0001699/0.9502, allocations: 118.5 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.9502, allocations: 15.81 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.9503, allocations: 28.38 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.9504, allocations: 3.984 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.9504, allocations: 0 / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9504, allocations: 7.938 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.9508, allocations: 256.3 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.9508, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.9512, allocations: 39.97 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.9512, allocations: 3.938 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.9512, allocations: 0 / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.9513, allocations: 4 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/0.9513, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004721/0.9518, allocations: 182.7 kB / 1.025 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.9519, allocations: 92.91 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.9519, allocations: 11.19 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004617/0.9524, allocations: 39.97 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.9526, allocations: 50.78 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.9527, allocations: 11.55 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001692/0.9529, allocations: 135.9 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003912/0.9533, allocations: 47.84 kB / 1.025 GB, free: 14.89 MB / 0.6511 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.0002224/0.9535, allocations: 122.3 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.954, allocations: 161.3 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9541, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.9543, allocations: 83.67 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.9547, allocations: 19.44 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.9558, allocations: 242.5 kB / 1.026 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/0.9565, allocations: 0.761 MB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.9565, allocations: 4 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of Templates: time 0.01002/0.9665, allocations: 2.767 MB / 1.029 GB, free: 10.84 MB / 0.6511 GB