Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.575/1.575, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 171.9 kB / 366.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 0.6256 GB, free: 7.426 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009532/0.000953, allocations: 87.97 kB / 0.7395 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.158e-05/1.159e-05, allocations: 4 kB / 0.859 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7177, allocations: 116.3 MB / 0.9726 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.195/4.913, allocations: 2.055 GB / 3.028 GB, free: 64.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/4.913, allocations: 97.19 kB / 3.028 GB, free: 64.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.05392/4.967, allocations: 27.66 MB / 3.055 GB, free: 36.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.682e-06/4.967, allocations: 4 kB / 3.055 GB, free: 36.94 MB / 0.948 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.0003756/4.968, allocations: 386.1 kB / 3.055 GB, free: 36.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/4.968, allocations: 12.03 kB / 3.055 GB, free: 36.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/4.968, allocations: 3.906 kB / 3.055 GB, free: 36.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/4.968, allocations: 164 kB / 3.056 GB, free: 36.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/4.968, allocations: 0 / 3.056 GB, free: 36.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/4.968, allocations: 8.688 kB / 3.056 GB, free: 36.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001499/4.968, allocations: 67.97 kB / 3.056 GB, free: 36.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/4.968, allocations: 93.59 kB / 3.056 GB, free: 36.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/4.968, allocations: 4 kB / 3.056 GB, free: 36.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/4.968, allocations: 0 / 3.056 GB, free: 36.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/4.968, allocations: 11.91 kB / 3.056 GB, free: 36.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/4.969, allocations: 305.3 kB / 3.056 GB, free: 35.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/4.969, allocations: 103.8 kB / 3.056 GB, free: 35.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/4.969, allocations: 45.42 kB / 3.056 GB, free: 35.63 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/4.969, allocations: 467.5 kB / 3.057 GB, free: 35.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/4.969, allocations: 39.03 kB / 3.057 GB, free: 35.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/4.969, allocations: 0 / 3.057 GB, free: 35.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0853/5.055, allocations: 9.267 MB / 3.066 GB, free: 25.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/5.055, allocations: 55.62 kB / 3.066 GB, free: 25.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/5.055, allocations: 109.4 kB / 3.066 GB, free: 25.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/5.055, allocations: 29.64 kB / 3.066 GB, free: 25.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/5.055, allocations: 96.27 kB / 3.066 GB, free: 25.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/5.055, allocations: 39.45 kB / 3.066 GB, free: 25.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/5.055, allocations: 0 / 3.066 GB, free: 25.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/5.055, allocations: 310.8 kB / 3.066 GB, free: 25.08 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/5.055, allocations: 36.02 kB / 3.066 GB, free: 25.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/5.055, allocations: 71.67 kB / 3.066 GB, free: 24.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08744/5.143, allocations: 9.221 MB / 3.075 GB, free: 15.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/5.143, allocations: 0 / 3.075 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.08521/5.228, allocations: 9.31 MB / 3.085 GB, free: 6.402 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/5.228, allocations: 8 kB / 3.085 GB, free: 6.395 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/5.228, allocations: 0 / 3.085 GB, free: 6.395 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/5.228, allocations: 4 kB / 3.085 GB, free: 6.391 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/5.228, allocations: 24.55 kB / 3.085 GB, free: 6.367 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/5.228, allocations: 7.938 kB / 3.085 GB, free: 6.359 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/5.228, allocations: 7.844 kB / 3.085 GB, free: 6.352 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/5.228, allocations: 12.09 kB / 3.085 GB, free: 6.34 MB / 0.948 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 6.85e-05/5.228, allocations: 109 kB / 3.085 GB, free: 6.227 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/5.228, allocations: 12.45 kB / 3.085 GB, free: 6.215 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4849/5.713, allocations: 9.301 MB / 3.094 GB, free: 417.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/5.713, allocations: 6.094 kB / 3.094 GB, free: 417.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/5.713, allocations: 0 / 3.094 GB, free: 417.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/5.713, allocations: 0 / 3.094 GB, free: 417.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/5.714, allocations: 162.1 kB / 3.094 GB, free: 417.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/5.714, allocations: 0 / 3.094 GB, free: 417.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.816e-05/5.714, allocations: 14.62 kB / 3.094 GB, free: 417.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/5.714, allocations: 6.75 kB / 3.094 GB, free: 417.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/5.714, allocations: 0 / 3.094 GB, free: 417.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/5.714, allocations: 3.906 kB / 3.094 GB, free: 417.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/5.714, allocations: 0 / 3.094 GB, free: 417.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08904/5.803, allocations: 9.37 MB / 3.103 GB, free: 416.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/5.803, allocations: 94.55 kB / 3.103 GB, free: 416.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/5.803, allocations: 4.656 kB / 3.103 GB, free: 416.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/5.803, allocations: 0 / 3.103 GB, free: 416.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/5.803, allocations: 6.422 kB / 3.103 GB, free: 416.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-06/5.803, allocations: 7.438 kB / 3.103 GB, free: 416.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.977e-05/5.803, allocations: 89.28 kB / 3.103 GB, free: 416.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005377/5.804, allocations: 105.3 kB / 3.103 GB, free: 416.6 MB / 0.948 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.00127/5.805, allocations: 0.7273 MB / 3.104 GB, free: 416.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001986/5.805, allocations: 76.67 kB / 3.104 GB, free: 416.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/5.805, allocations: 4.75 kB / 3.104 GB, free: 416.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-05/5.805, allocations: 35.62 kB / 3.104 GB, free: 416.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/5.806, allocations: 23.2 kB / 3.104 GB, free: 416.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/5.806, allocations: 104.5 kB / 3.104 GB, free: 416.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/5.806, allocations: 0.714 MB / 3.105 GB, free: 415.7 MB / 0.948 GB Notification: Performance of SimCode: time 3.21e-07/5.806, allocations: 0 / 3.105 GB, free: 415.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01157/5.818, allocations: 5.056 MB / 3.11 GB, free: 415.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)