Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.264/2.264, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.001699, allocations: 175.8 kB / 360.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001297, allocations: 84.3 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.611e-05, allocations: 4 kB / 0.8503 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.6606, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.194/5.855, allocations: 2.054 GB / 3.017 GB, free: 274.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/5.855, allocations: 95.22 kB / 3.017 GB, free: 274.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.1034/5.958, allocations: 27.66 MB / 3.044 GB, free: 272 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.534e-06/5.959, allocations: 0 / 3.044 GB, free: 272 MB / 0.9323 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.0004812/5.959, allocations: 397.1 kB / 3.044 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/5.959, allocations: 8.312 kB / 3.044 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/5.959, allocations: 15.38 kB / 3.045 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.414e-05/5.959, allocations: 159.1 kB / 3.045 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/5.959, allocations: 3.75 kB / 3.045 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/5.959, allocations: 0 / 3.045 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000194/5.959, allocations: 73.66 kB / 3.045 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/5.96, allocations: 86.53 kB / 3.045 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/5.96, allocations: 0 / 3.045 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/5.96, allocations: 0 / 3.045 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/5.96, allocations: 21.61 kB / 3.045 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/5.96, allocations: 310.1 kB / 3.045 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/5.96, allocations: 95.83 kB / 3.045 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/5.961, allocations: 48.14 kB / 3.045 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009967/5.962, allocations: 466.5 kB / 3.046 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/5.962, allocations: 38.47 kB / 3.046 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 2.324e-06/5.962, allocations: 3.938 kB / 3.046 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.2478/6.209, allocations: 9.266 MB / 3.055 GB, free: 270 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/6.21, allocations: 55.19 kB / 3.055 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/6.21, allocations: 108.2 kB / 3.055 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/6.21, allocations: 25.7 kB / 3.055 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/6.21, allocations: 103.6 kB / 3.055 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/6.21, allocations: 38.14 kB / 3.055 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/6.21, allocations: 0 / 3.055 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.413e-05/6.21, allocations: 314.8 kB / 3.055 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/6.21, allocations: 30.08 kB / 3.055 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.875e-05/6.21, allocations: 58.36 kB / 3.056 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.179/6.389, allocations: 9.235 MB / 3.065 GB, free: 268.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/6.389, allocations: 0 / 3.065 GB, free: 268.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.1785/6.568, allocations: 9.302 MB / 3.074 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/6.568, allocations: 8.688 kB / 3.074 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/6.568, allocations: 0 / 3.074 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/6.568, allocations: 3.906 kB / 3.074 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/6.568, allocations: 35.83 kB / 3.074 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/6.568, allocations: 3.906 kB / 3.074 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.938e-05/6.568, allocations: 11.75 kB / 3.074 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/6.568, allocations: 3.906 kB / 3.074 GB, free: 267.2 MB / 0.9323 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 7.275e-05/6.568, allocations: 104.9 kB / 3.074 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/6.568, allocations: 7.812 kB / 3.074 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.178/6.746, allocations: 9.302 MB / 3.083 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/6.746, allocations: 5.719 kB / 3.083 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/6.746, allocations: 2.938 kB / 3.083 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/6.746, allocations: 0.75 kB / 3.083 GB, free: 263.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/6.747, allocations: 157.6 kB / 3.083 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/6.747, allocations: 3.984 kB / 3.083 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/6.747, allocations: 22.47 kB / 3.083 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/6.747, allocations: 4.469 kB / 3.083 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/6.747, allocations: 4.844 kB / 3.083 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/6.747, allocations: 0.5938 kB / 3.083 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/6.747, allocations: 4.516 kB / 3.083 GB, free: 263.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1796/6.926, allocations: 9.369 MB / 3.092 GB, free: 259.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/6.927, allocations: 94.41 kB / 3.092 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/6.927, allocations: 2.312 kB / 3.092 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/6.927, allocations: 0 / 3.092 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/6.927, allocations: 6.797 kB / 3.092 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/6.927, allocations: 4.75 kB / 3.092 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.287e-05/6.927, allocations: 86.16 kB / 3.092 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006713/6.928, allocations: 110.9 kB / 3.093 GB, free: 259.2 MB / 0.9323 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.001227/6.929, allocations: 0.7236 MB / 3.093 GB, free: 259 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000257/6.929, allocations: 84.3 kB / 3.093 GB, free: 259 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.929, allocations: 0 / 3.093 GB, free: 259 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/6.929, allocations: 40.61 kB / 3.093 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/6.929, allocations: 13.75 kB / 3.093 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/6.93, allocations: 113.7 kB / 3.093 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/6.93, allocations: 0.7052 MB / 3.094 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of SimCode: time 8.21e-07/6.93, allocations: 6.812 kB / 3.094 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.0146/6.945, allocations: 5.052 MB / 3.099 GB, free: 255.7 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)