Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [: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.101/2.101, allocations: 253.1 MB / 260.4 MB, free: 7.426 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: 184.4 kB / 319.6 MB, free: 3.297 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 1.864/1.864, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001354/0.001354, allocations: 104.3 kB / 0.6746 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.071e-05/1.086e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2557, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6877/0.9434, allocations: 132.8 MB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.9438, allocations: 83.44 kB / 1.018 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01346/0.9573, allocations: 2.262 MB / 1.02 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.9574, allocations: 4 kB / 1.02 GB, free: 3.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003757/0.9577, allocations: 335.4 kB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.9578, allocations: 8.031 kB / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.9579, allocations: 3.906 kB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.958, allocations: 167 kB / 1.021 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.958, allocations: 4 kB / 1.021 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.9581, allocations: 3.938 kB / 1.021 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.464e-05/0.9581, allocations: 7.984 kB / 1.021 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.127e-05/0.9582, allocations: 34.73 kB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9583, allocations: 0 / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.9583, allocations: 4 kB / 1.021 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.9583, allocations: 4 kB / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.9585, allocations: 130.1 kB / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.9586, allocations: 33.73 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.9587, allocations: 8.922 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/0.961, allocations: 0.6441 MB / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.961, allocations: 34.39 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.086e-06/0.9611, allocations: 4 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002729/0.9613, allocations: 48.34 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.9614, allocations: 51.41 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.9615, allocations: 96.38 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.9615, allocations: 25.7 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.9616, allocations: 80.14 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.9616, allocations: 7.891 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.9616, allocations: 0 / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9618, allocations: 314.8 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.9618, allocations: 7.438 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.9618, allocations: 4 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.446e-05/0.9619, allocations: 4 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9619, allocations: 0 / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001373/0.962, allocations: 52.91 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.9621, allocations: 6.656 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9621, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9621, allocations: 0.5 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.39e-05/0.9622, allocations: 4 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.9622, allocations: 4.531 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.9623, allocations: 4 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.9623, allocations: 8 kB / 1.022 GB, free: 0.8789 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.861e-05/0.9624, allocations: 104.9 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.9624, allocations: 0 / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.9626, allocations: 56.69 kB / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.9626, allocations: 0 / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.9627, allocations: 4.172 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.9627, allocations: 4 kB / 1.022 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.9628, allocations: 137.5 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.9628, allocations: 3.984 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.9629, allocations: 4 kB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.9629, allocations: 0 / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.9629, allocations: 0 / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.9629, allocations: 0 / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9629, allocations: 4 kB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001539/0.9631, allocations: 74.91 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.9632, allocations: 81.09 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.9632, allocations: 0 / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.9632, allocations: 0 / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.9632, allocations: 3.906 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.9633, allocations: 4 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.236e-05/0.9633, allocations: 78.53 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003493/0.9637, allocations: 31.88 kB / 1.023 GB, free: 232 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003983/0.9641, allocations: 131.2 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.766e-05/0.9642, allocations: 15.31 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9642, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.9642, allocations: 8 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.9645, allocations: 6.062 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.9648, allocations: 59.61 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.9651, allocations: 0.6876 MB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of SimCode: time 8.11e-07/0.9651, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.004394/0.9695, allocations: 0.8332 MB / 1.024 GB, free: 14.46 MB / 0.6511 GB