Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.522/1.522, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001318/0.001318, allocations: 181.3 kB / 366.3 MB, free: 2.004 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.551/1.551, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009913/0.0009913, allocations: 86.77 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.598e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6573, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.8436, allocations: 139.3 MB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.8438, allocations: 83.94 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.007498/0.8514, allocations: 2.263 MB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.8514, allocations: 0.8438 kB / 1.111 GB, free: 6.875 MB / 0.7136 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.0002887/0.8517, allocations: 326.4 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.8517, allocations: 12.03 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.8518, allocations: 0 / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.8519, allocations: 166.9 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.8519, allocations: 0 / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.852, allocations: 4 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.467e-05/0.852, allocations: 8 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.25e-05/0.8521, allocations: 33.69 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.8521, allocations: 4.594 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.8521, allocations: 4 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.8521, allocations: 0 / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.8523, allocations: 134.1 kB / 1.112 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.8524, allocations: 30.58 kB / 1.112 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.8524, allocations: 12.92 kB / 1.112 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.8537, allocations: 0.6371 MB / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.8537, allocations: 31.69 kB / 1.112 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.916e-06/0.8538, allocations: 3.984 kB / 1.112 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001815/0.8539, allocations: 53.62 kB / 1.112 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.854, allocations: 51.41 kB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.8541, allocations: 85 kB / 1.112 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.8541, allocations: 29.7 kB / 1.112 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.8541, allocations: 80.14 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.8542, allocations: 11.81 kB / 1.113 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.8542, allocations: 0 / 1.113 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8543, allocations: 314.8 kB / 1.113 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.8543, allocations: 8.125 kB / 1.113 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-06/0.8543, allocations: 4 kB / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.8544, allocations: 1.406 kB / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8544, allocations: 4 kB / 1.113 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.114e-05/0.8545, allocations: 41.69 kB / 1.113 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.8545, allocations: 11.94 kB / 1.113 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8545, allocations: 3.906 kB / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8545, allocations: 0 / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.8546, allocations: 4 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8546, allocations: 3.938 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.8546, allocations: 4 kB / 1.113 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.8546, allocations: 0 / 1.113 GB, free: 4.516 MB / 0.7136 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 8.514e-05/0.8547, allocations: 105 kB / 1.113 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.8547, allocations: 3.906 kB / 1.113 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.8549, allocations: 55.61 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8549, allocations: 0 / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8549, allocations: 4 kB / 1.113 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8549, allocations: 4 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.855, allocations: 130.2 kB / 1.113 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8551, allocations: 3.984 kB / 1.113 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.8551, allocations: 7.906 kB / 1.113 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8551, allocations: 1.312 kB / 1.113 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.8551, allocations: 4 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8551, allocations: 0 / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.8551, allocations: 3.938 kB / 1.113 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001206/0.8552, allocations: 69.12 kB / 1.113 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.8553, allocations: 85.02 kB / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.8553, allocations: 0 / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.8554, allocations: 0 / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.8554, allocations: 0 / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.8554, allocations: 3.984 kB / 1.113 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.571e-05/0.8554, allocations: 79.28 kB / 1.113 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002354/0.8557, allocations: 27.94 kB / 1.113 GB, free: 3.848 MB / 0.7136 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.0003012/0.856, allocations: 139.5 kB / 1.114 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.989e-05/0.8561, allocations: 19.94 kB / 1.114 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8561, allocations: 1.781 kB / 1.114 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.8561, allocations: 11.98 kB / 1.114 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.8563, allocations: 10.8 kB / 1.114 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.8565, allocations: 55.92 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.8569, allocations: 0.6915 MB / 1.114 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8569, allocations: 0 / 1.114 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of Templates: time 0.003153/0.8601, allocations: 0.8384 MB / 1.115 GB, free: 2.066 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)