Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [: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.24/2.24, allocations: 253.1 MB / 260.4 MB, free: 7.531 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.002579/0.002579, allocations: 176.8 kB / 319.6 MB, free: 3.32 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.924/1.924, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001249/0.001248, allocations: 102.6 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.027e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6298/0.8437, allocations: 131.7 MB / 1.017 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/0.8441, allocations: 96.86 kB / 1.017 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00204/0.8461, allocations: 381.4 kB / 1.017 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.8462, allocations: 0 / 1.017 GB, free: 6.238 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002682/0.8464, allocations: 311.3 kB / 1.017 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.8465, allocations: 10.55 kB / 1.017 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.8465, allocations: 3.906 kB / 1.017 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.8467, allocations: 163.1 kB / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.8467, allocations: 0 / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.8467, allocations: 4 kB / 1.018 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.195e-05/0.8468, allocations: 3.938 kB / 1.018 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.442e-05/0.8468, allocations: 29.7 kB / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8469, allocations: 0 / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.8469, allocations: 0 / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.8469, allocations: 0 / 1.018 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.8472, allocations: 363.8 kB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.645e-05/0.8473, allocations: 169.1 kB / 1.018 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.8473, allocations: 84.08 kB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.8474, allocations: 79 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.8474, allocations: 109.8 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.8475, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.197e-05/0.8475, allocations: 28.14 kB / 1.018 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.8476, allocations: 52.34 kB / 1.019 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.306e-05/0.8477, allocations: 92.91 kB / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.8477, allocations: 29.7 kB / 1.019 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.8478, allocations: 84.08 kB / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.8478, allocations: 0 / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.8478, allocations: 0 / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8479, allocations: 318 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.8479, allocations: 0 / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.8479, allocations: 128 / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.848, allocations: 12 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.848, allocations: 3.938 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.8481, allocations: 29.7 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8481, allocations: 4 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8481, allocations: 0 / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8482, allocations: 3.906 kB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.986e-05/0.8482, allocations: 7.312 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.8482, allocations: 0 / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.327e-05/0.8483, allocations: 0 / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.8483, allocations: 4.031 kB / 1.019 GB, free: 4.098 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.623e-05/0.8484, allocations: 176.3 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.8485, allocations: 109 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.8486, allocations: 107.9 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.076e-05/0.8487, allocations: 183.6 kB / 1.02 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.01e-05/0.8488, allocations: 176.3 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.071e-05/0.8488, allocations: 188.2 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.8491, allocations: 381.8 kB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/0.8491, allocations: 101 kB / 1.02 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.8492, allocations: 104.9 kB / 1.021 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.195e-05/0.8493, allocations: 180.3 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/0.8494, allocations: 187.9 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.132e-05/0.8494, allocations: 180.6 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-05/0.8495, allocations: 176.3 kB / 1.021 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001524/0.8497, allocations: 311.5 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.8498, allocations: 182.1 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.8499, allocations: 184.3 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.85, allocations: 108.9 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8501, allocations: 176.9 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.8502, allocations: 105 kB / 1.022 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.945e-05/0.8502, allocations: 83.22 kB / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002801/0.8505, allocations: 96 / 1.022 GB, free: 0.5742 MB / 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 (0): * Single equations (assignments): 0 * 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.0001727/0.8507, allocations: 178.5 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.841e-05/0.8508, allocations: 4 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8508, allocations: 0 / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.8508, allocations: 0 / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.8512, allocations: 0.5258 MB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.8514, allocations: 127.1 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.8517, allocations: 0.6802 MB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of SimCode: time 6.72e-07/0.8517, allocations: 0 / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of Templates: time 0.002192/0.8539, allocations: 186.6 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB