Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 185.2 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000776/0.000776, allocations: 86.23 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.823e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1463, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5746, allocations: 133.1 MB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.5749, allocations: 86.5 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00704/0.5819, allocations: 2.258 MB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.582, allocations: 0 / 1.017 GB, free: 3.617 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002495/0.5822, allocations: 338.3 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5823, allocations: 8.031 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.5823, allocations: 4 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.5824, allocations: 163 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5824, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.5825, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.566e-05/0.5825, allocations: 19.58 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.339e-05/0.5826, allocations: 29.7 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5826, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.5826, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5826, allocations: 4 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.5827, allocations: 134.2 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.043e-05/0.5828, allocations: 30.14 kB / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.5829, allocations: 18.8 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.584, allocations: 0.6356 MB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.5841, allocations: 30.56 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5841, allocations: 3.656 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001641/0.5842, allocations: 45.09 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.5843, allocations: 59.41 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.5843, allocations: 88.94 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.5843, allocations: 25.7 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.5844, allocations: 80.14 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.5844, allocations: 15.77 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.5844, allocations: 0 / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.5845, allocations: 310.8 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.5845, allocations: 8.125 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/0.5845, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.5846, allocations: 11.84 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5846, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.237e-05/0.5847, allocations: 45.5 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.5847, allocations: 4 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5847, allocations: 0 / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5847, allocations: 4.188 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.5848, allocations: 4 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.5848, allocations: 0 / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.5848, allocations: 3.984 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.5848, allocations: 7.984 kB / 1.019 GB, free: 1.273 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: 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 5.777e-05/0.5849, allocations: 108.8 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.5849, allocations: 4 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.585, allocations: 48.38 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.585, allocations: 3.938 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.585, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.585, allocations: 3.906 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.5851, allocations: 141.7 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5851, allocations: 0.5 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.5852, allocations: 8 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.5852, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.5852, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5852, allocations: 0.6875 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5852, allocations: 3.938 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.248e-05/0.5853, allocations: 72.09 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.5853, allocations: 81.11 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.5854, allocations: 3.984 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.394e-05/0.5854, allocations: 11.19 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.5854, allocations: 3.906 kB / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5854, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.348e-05/0.5854, allocations: 79.28 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002115/0.5856, allocations: 23.94 kB / 1.019 GB, free: 0.6133 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 (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.00024/0.5859, allocations: 131.3 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.129e-05/0.586, allocations: 15.05 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.586, allocations: 0 / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.269e-05/0.586, allocations: 15.94 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.5861, allocations: 7.25 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001538/0.5863, allocations: 48.06 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.5865, allocations: 0.6876 MB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.5865, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.002508/0.589, allocations: 0.8431 MB / 1.021 GB, free: 14.86 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches