Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [: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 1.948/1.948, allocations: 253.1 MB / 260.4 MB, free: 0.5391 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.001759/0.001759, allocations: 186.4 kB / 319.6 MB, free: 7.668 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.079/2.079, allocations: 205.4 MB / 0.5704 GB, free: 25.61 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.001379/0.001379, allocations: 89.02 kB / 0.6746 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.07e-05, allocations: 4 kB / 0.7843 GB, free: 2.676 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4975, allocations: 106.2 MB / 0.8881 GB, free: 77.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.728/6.226, allocations: 2.172 GB / 3.06 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004243/6.226, allocations: 95.64 kB / 3.06 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1353/6.362, allocations: 27.35 MB / 3.087 GB, free: 240 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.266e-06/6.362, allocations: 0 / 3.087 GB, free: 240 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005626/6.362, allocations: 393.8 kB / 3.087 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/6.362, allocations: 7.812 kB / 3.088 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/6.362, allocations: 7.812 kB / 3.088 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/6.362, allocations: 164.7 kB / 3.088 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/6.362, allocations: 3.906 kB / 3.088 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/6.363, allocations: 3.906 kB / 3.088 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002487/6.363, allocations: 68.17 kB / 3.088 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/6.363, allocations: 94.77 kB / 3.088 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/6.363, allocations: 1.688 kB / 3.088 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/6.363, allocations: 3.938 kB / 3.088 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/6.363, allocations: 13.48 kB / 3.088 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/6.364, allocations: 312.3 kB / 3.088 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/6.364, allocations: 90.22 kB / 3.088 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/6.364, allocations: 53.22 kB / 3.088 GB, free: 239 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/6.365, allocations: 463.2 kB / 3.089 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/6.366, allocations: 34.5 kB / 3.089 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 3.677e-06/6.366, allocations: 0 / 3.089 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.1848/6.55, allocations: 9.274 MB / 3.098 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/6.55, allocations: 55.31 kB / 3.098 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/6.551, allocations: 100.2 kB / 3.098 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/6.551, allocations: 25.7 kB / 3.098 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/6.551, allocations: 101.8 kB / 3.098 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/6.551, allocations: 34.06 kB / 3.098 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/6.551, allocations: 0 / 3.098 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/6.551, allocations: 320.4 kB / 3.098 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/6.551, allocations: 30.27 kB / 3.098 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/6.551, allocations: 66.98 kB / 3.099 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1798/6.731, allocations: 9.232 MB / 3.108 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/6.731, allocations: 4 kB / 3.108 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.1783/6.909, allocations: 9.301 MB / 3.117 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/6.909, allocations: 5.781 kB / 3.117 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/6.909, allocations: 0 / 3.117 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/6.909, allocations: 3.906 kB / 3.117 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/6.91, allocations: 31.2 kB / 3.117 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/6.91, allocations: 3.844 kB / 3.117 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/6.91, allocations: 15.91 kB / 3.117 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/6.91, allocations: 3.906 kB / 3.117 GB, free: 232.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.137e-05/6.91, allocations: 112.8 kB / 3.117 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/6.91, allocations: 7.812 kB / 3.117 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1805/7.09, allocations: 9.304 MB / 3.126 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/7.09, allocations: 0.9062 kB / 3.126 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/7.09, allocations: 256 / 3.126 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/7.09, allocations: 0.8125 kB / 3.126 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/7.091, allocations: 162.2 kB / 3.126 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/7.091, allocations: 0 / 3.126 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/7.091, allocations: 21.83 kB / 3.126 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/7.091, allocations: 0.5938 kB / 3.126 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/7.091, allocations: 1.031 kB / 3.126 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/7.091, allocations: 5.312 kB / 3.126 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/7.091, allocations: 4 kB / 3.126 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.179/7.27, allocations: 9.366 MB / 3.135 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/7.27, allocations: 96.88 kB / 3.135 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/7.27, allocations: 0 / 3.135 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.656e-05/7.27, allocations: 0 / 3.135 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/7.27, allocations: 7.984 kB / 3.135 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/7.27, allocations: 0 / 3.135 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.197e-05/7.27, allocations: 98.42 kB / 3.135 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000646/7.271, allocations: 109.6 kB / 3.136 GB, free: 220.2 MB / 0.8698 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 (11): * Single equations (assignments): 11 * 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.001165/7.272, allocations: 0.735 MB / 3.136 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000254/7.272, allocations: 70.3 kB / 3.136 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/7.272, allocations: 0 / 3.136 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.761e-05/7.273, allocations: 38.8 kB / 3.136 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/7.273, allocations: 20.78 kB / 3.136 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/7.273, allocations: 111.2 kB / 3.136 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/7.273, allocations: 0.7075 MB / 3.137 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/7.273, allocations: 0 / 3.137 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.01353/7.287, allocations: 5.058 MB / 3.142 GB, free: 213.5 MB / 0.8698 GB