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.CoolingCoil.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.CoolingCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=92,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") [: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.105/2.105, allocations: 253.1 MB / 260.4 MB, free: 472 kB / 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.001638/0.001637, allocations: 195 kB / 319.6 MB, free: 7.586 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.145/2.145, allocations: 205.4 MB / 0.5704 GB, free: 25.84 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.001321/0.001321, allocations: 98.98 kB / 0.6746 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.403e-05, allocations: 0 / 0.7844 GB, free: 2.727 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5961, allocations: 106.2 MB / 0.8881 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2544/0.8505, allocations: 134.4 MB / 1.019 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.8509, allocations: 79.94 kB / 1.019 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.02276/0.8737, allocations: 5.067 MB / 1.024 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.933e-05/0.8738, allocations: 4 kB / 1.024 GB, free: 1.379 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001445/0.8752, allocations: 0.5653 MB / 1.025 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8753, allocations: 8.031 kB / 1.025 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.8754, allocations: 39.53 kB / 1.025 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/0.8763, allocations: 321.9 kB / 1.025 GB, free: 376 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.8764, allocations: 12 kB / 1.025 GB, free: 364 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.8764, allocations: 19.98 kB / 1.025 GB, free: 344 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006269/0.8771, allocations: 157 kB / 1.025 GB, free: 188 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.8778, allocations: 233.8 kB / 1.026 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.8778, allocations: 0 / 1.026 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.8779, allocations: 0 / 1.026 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.8779, allocations: 8 kB / 1.026 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.8802, allocations: 0.8724 MB / 1.027 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.8809, allocations: 162.8 kB / 1.027 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.8812, allocations: 68.86 kB / 1.027 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.8812, allocations: 3.984 kB / 1.027 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.8815, allocations: 111.4 kB / 1.027 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.695e-06/0.8815, allocations: 0 / 1.027 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0005357/0.8821, allocations: 153.6 kB / 1.027 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.8822, allocations: 85.09 kB / 1.027 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.8826, allocations: 221 kB / 1.027 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.8826, allocations: 29.7 kB / 1.027 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.8828, allocations: 160 kB / 1.027 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.8829, allocations: 55.2 kB / 1.028 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.8829, allocations: 4 kB / 1.028 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.8831, allocations: 330.8 kB / 1.028 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.8833, allocations: 59.8 kB / 1.028 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.8836, allocations: 94.27 kB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.8838, allocations: 55.97 kB / 1.028 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8838, allocations: 0 / 1.028 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005368/0.8843, allocations: 185.3 kB / 1.028 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.8845, allocations: 187.4 kB / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.8845, allocations: 3.906 kB / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.8845, allocations: 0 / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.8851, allocations: 59.98 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.8851, allocations: 0 / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.8856, allocations: 51.8 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.8856, allocations: 12 kB / 1.029 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.8856, allocations: 0 / 1.029 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000442/0.8861, allocations: 135 kB / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.8861, allocations: 0 / 1.029 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.8861, allocations: 4 kB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.8866, allocations: 47.91 kB / 1.029 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.8866, allocations: 7.984 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.887, allocations: 35.91 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.887, allocations: 8 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.T_start,zonSta.T_start,$PRE.zonSta.count,zonSta.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001523/0.8872, allocations: 115.8 kB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.508e-05/0.8873, allocations: 31.56 kB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.8874, allocations: 21.89 kB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.8874, allocations: 7.938 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.8875, allocations: 0 / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.8875, allocations: 0 / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.8885, allocations: 0.5269 MB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8886, allocations: 32 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.889, allocations: 55.91 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.889, allocations: 4 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.8891, allocations: 11.98 kB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8891, allocations: 0 / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8891, allocations: 0 / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004897/0.8896, allocations: 269.6 kB / 1.03 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.8897, allocations: 104.8 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.8898, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.8902, allocations: 39.91 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.8904, allocations: 27.95 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.8904, allocations: 12 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002638/0.8907, allocations: 169.2 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006311/0.8913, allocations: 95.53 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.T_start,zonSta.count) * Number of discrete states: 1 (zonSta.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002035/0.8915, allocations: 107.2 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000826/0.8924, allocations: 225.2 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8924, allocations: 3.938 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.8927, allocations: 90.92 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.8933, allocations: 40.47 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.8946, allocations: 321.5 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/0.8953, allocations: 0.7953 MB / 1.032 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/0.8953, allocations: 4 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of Templates: time 0.01372/0.909, allocations: 3.84 MB / 1.035 GB, free: 5.668 MB / 0.6823 GB