Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.125/2.125, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 181.3 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 91.69 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.373e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3025, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8705/1.173, allocations: 149.6 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.173, allocations: 84.16 kB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.008789/1.182, allocations: 2.317 MB / 1.354 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.182, allocations: 1.031 kB / 1.354 GB, free: 15.59 MB / 0.8073 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.0003764/1.183, allocations: 329.5 kB / 1.354 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/1.183, allocations: 9.844 kB / 1.354 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/1.183, allocations: 6.016 kB / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.183, allocations: 164.5 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/1.183, allocations: 0.7812 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/1.183, allocations: 8.5 kB / 1.354 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.695e-05/1.183, allocations: 7.703 kB / 1.354 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.846e-05/1.183, allocations: 35.84 kB / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.183, allocations: 0 / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/1.183, allocations: 0.6562 kB / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.183, allocations: 5.062 kB / 1.354 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/1.183, allocations: 139.7 kB / 1.354 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/1.183, allocations: 29.86 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/1.183, allocations: 10.03 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/1.185, allocations: 0.6441 MB / 1.355 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.185, allocations: 32.05 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/1.185, allocations: 0 / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0002315/1.185, allocations: 41.95 kB / 1.355 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/1.185, allocations: 51.41 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/1.185, allocations: 92.42 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/1.185, allocations: 25.7 kB / 1.355 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.941e-05/1.185, allocations: 82.03 kB / 1.355 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/1.185, allocations: 9.078 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/1.185, allocations: 0.6875 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/1.186, allocations: 316.8 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/1.186, allocations: 2.75 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/1.186, allocations: 5.703 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/1.186, allocations: 3.906 kB / 1.356 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.186, allocations: 4 kB / 1.356 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.118e-05/1.186, allocations: 47.31 kB / 1.356 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.186, allocations: 5.672 kB / 1.356 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.186, allocations: 3.906 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.186, allocations: 0.75 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/1.186, allocations: 5.5 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.186, allocations: 1.094 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/1.186, allocations: 0.5625 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/1.186, allocations: 1.625 kB / 1.356 GB, free: 13.65 MB / 0.8073 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.56e-05/1.186, allocations: 106.9 kB / 1.356 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/1.186, allocations: 4.688 kB / 1.356 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/1.186, allocations: 59.55 kB / 1.356 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.186, allocations: 0 / 1.356 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.186, allocations: 0.875 kB / 1.356 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.186, allocations: 1.609 kB / 1.356 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.163e-05/1.186, allocations: 131.7 kB / 1.356 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.186, allocations: 0.7031 kB / 1.356 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/1.186, allocations: 12.91 kB / 1.356 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.186, allocations: 1.094 kB / 1.356 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.186, allocations: 2.422 kB / 1.356 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.186, allocations: 0.875 kB / 1.356 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.186, allocations: 0 / 1.356 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001045/1.186, allocations: 68.62 kB / 1.356 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/1.186, allocations: 86.55 kB / 1.356 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.186, allocations: 5.469 kB / 1.356 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/1.186, allocations: 4 kB / 1.356 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/1.187, allocations: 2.547 kB / 1.356 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/1.187, allocations: 4.844 kB / 1.356 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.005e-05/1.187, allocations: 81.28 kB / 1.356 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002707/1.187, allocations: 24.47 kB / 1.356 GB, free: 13.07 MB / 0.8073 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.0003134/1.187, allocations: 136.5 kB / 1.356 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.58e-05/1.187, allocations: 12.83 kB / 1.356 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.187, allocations: 0.9375 kB / 1.356 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.691e-05/1.187, allocations: 6.172 kB / 1.356 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/1.187, allocations: 12.25 kB / 1.356 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/1.188, allocations: 63.81 kB / 1.357 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/1.188, allocations: 0.6863 MB / 1.357 GB, free: 28.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/1.188, allocations: 0 / 1.357 GB, free: 28.2 MB / 0.823 GB Notification: Performance of Templates: time 0.00365/1.192, allocations: 0.8377 MB / 1.358 GB, free: 28.11 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches