Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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 3.0.0/package.mo): time 0.7858/0.7858, allocations: 132.4 MB / 139.7 MB, free: 5.051 MB / 115 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001233/0.001233, allocations: 176.4 kB / 171.6 MB, free: 15.48 MB / 147 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.577/1.577, allocations: 170.5 MB / 373.9 MB, free: 15.62 MB / 291 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00178/0.001779, allocations: 117 kB / 444.4 MB, free: 26.21 MB / 339 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5063/0.5063, allocations: 73.39 MB / 0.666 GB, free: 89.05 MB / 467 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.638, allocations: 101.9 MB / 0.7656 GB, free: 2.965 MB / 483 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.6384, allocations: 87.94 kB / 0.7657 GB, free: 2.879 MB / 483 MB Notification: Performance of FrontEnd: time 0.00782/0.6462, allocations: 2.223 MB / 0.7678 GB, free: 0.6562 MB / 483 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.6463, allocations: 0 / 0.7678 GB, free: 0.6562 MB / 483 MB 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.0003529/0.6466, allocations: 330.3 kB / 0.7681 GB, free: 296 kB / 483 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.6467, allocations: 8.031 kB / 0.7682 GB, free: 288 kB / 483 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.6467, allocations: 0 / 0.7682 GB, free: 288 kB / 483 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.6469, allocations: 171 kB / 0.7683 GB, free: 76 kB / 483 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.6469, allocations: 3.906 kB / 0.7683 GB, free: 72 kB / 483 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.6469, allocations: 0 / 0.7683 GB, free: 72 kB / 483 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.619e-05/0.647, allocations: 12 kB / 0.7683 GB, free: 60 kB / 483 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.6471, allocations: 33.69 kB / 0.7684 GB, free: 20 kB / 483 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6471, allocations: 0 / 0.7684 GB, free: 20 kB / 483 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6471, allocations: 4 kB / 0.7684 GB, free: 16 kB / 483 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6472, allocations: 0 / 0.7684 GB, free: 16 kB / 483 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.6474, allocations: 134.2 kB / 0.7685 GB, free: 15.85 MB / 499 MB Notification: Performance of preOpt comSubExp (simulation): time 8.929e-05/0.6475, allocations: 30.55 kB / 0.7685 GB, free: 15.81 MB / 499 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.6475, allocations: 12.92 kB / 0.7685 GB, free: 15.79 MB / 499 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.6489, allocations: 0.6408 MB / 0.7692 GB, free: 15.08 MB / 499 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.6489, allocations: 37.53 kB / 0.7692 GB, free: 15.04 MB / 499 MB Notification: Performance of pre-optimization done (n=3): time 1.532e-06/0.6489, allocations: 3.938 kB / 0.7692 GB, free: 15.03 MB / 499 MB Notification: Performance of matching and sorting (n=3): time 0.0002472/0.6492, allocations: 45.73 kB / 0.7692 GB, free: 14.98 MB / 499 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/0.6493, allocations: 55.39 kB / 0.7693 GB, free: 14.91 MB / 499 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.6494, allocations: 89 kB / 0.7694 GB, free: 14.82 MB / 499 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6494, allocations: 25.7 kB / 0.7694 GB, free: 14.79 MB / 499 MB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.6494, allocations: 80.14 kB / 0.7695 GB, free: 14.71 MB / 499 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.6495, allocations: 7.906 kB / 0.7695 GB, free: 14.7 MB / 499 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.6495, allocations: 7.938 kB / 0.7695 GB, free: 14.69 MB / 499 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6496, allocations: 314.8 kB / 0.7698 GB, free: 14.38 MB / 499 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.6497, allocations: 4.125 kB / 0.7698 GB, free: 14.37 MB / 499 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.6497, allocations: 7.938 kB / 0.7698 GB, free: 14.36 MB / 499 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.801e-05/0.6498, allocations: 11.98 kB / 0.7698 GB, free: 14.35 MB / 499 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6498, allocations: 0 / 0.7698 GB, free: 14.35 MB / 499 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.595e-05/0.6499, allocations: 37.7 kB / 0.7699 GB, free: 14.31 MB / 499 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6499, allocations: 5.406 kB / 0.7699 GB, free: 14.3 MB / 499 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6499, allocations: 3.984 kB / 0.7699 GB, free: 14.3 MB / 499 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6499, allocations: 0 / 0.7699 GB, free: 14.3 MB / 499 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.65, allocations: 4 kB / 0.7699 GB, free: 14.3 MB / 499 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.65, allocations: 4 kB / 0.7699 GB, free: 14.29 MB / 499 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.65, allocations: 7.906 kB / 0.7699 GB, free: 14.29 MB / 499 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.6501, allocations: 0 / 0.7699 GB, free: 14.29 MB / 499 MB 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 9.412e-05/0.6501, allocations: 101 kB / 0.77 GB, free: 14.18 MB / 499 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.6502, allocations: 4 kB / 0.77 GB, free: 14.18 MB / 499 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.6504, allocations: 53.31 kB / 0.77 GB, free: 14.11 MB / 499 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6504, allocations: 0 / 0.77 GB, free: 14.11 MB / 499 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6504, allocations: 3.906 kB / 0.77 GB, free: 14.11 MB / 499 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.6504, allocations: 11.98 kB / 0.77 GB, free: 14.1 MB / 499 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.6505, allocations: 134.2 kB / 0.7702 GB, free: 13.93 MB / 499 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6505, allocations: 0 / 0.7702 GB, free: 13.93 MB / 499 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.6505, allocations: 7.938 kB / 0.7702 GB, free: 13.92 MB / 499 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.6506, allocations: 3.984 kB / 0.7702 GB, free: 13.92 MB / 499 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.6506, allocations: 4 kB / 0.7702 GB, free: 13.91 MB / 499 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6506, allocations: 0 / 0.7702 GB, free: 13.91 MB / 499 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6506, allocations: 0 / 0.7702 GB, free: 13.91 MB / 499 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001324/0.6507, allocations: 69.03 kB / 0.7703 GB, free: 13.83 MB / 499 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.6508, allocations: 81.11 kB / 0.7703 GB, free: 13.73 MB / 499 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.6508, allocations: 11.78 kB / 0.7703 GB, free: 13.72 MB / 499 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.6508, allocations: 0 / 0.7703 GB, free: 13.72 MB / 499 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.6508, allocations: 4 kB / 0.7703 GB, free: 13.71 MB / 499 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.6508, allocations: 0 / 0.7703 GB, free: 13.71 MB / 499 MB Notification: Performance of sort global known variables: time 3.799e-05/0.6509, allocations: 75.28 kB / 0.7704 GB, free: 13.64 MB / 499 MB Notification: Performance of remove unused functions: time 0.0002597/0.6512, allocations: 35.92 kB / 0.7705 GB, free: 13.61 MB / 499 MB 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.0003025/0.6515, allocations: 135.5 kB / 0.7706 GB, free: 13.46 MB / 499 MB Notification: Performance of simCode: created initialization part: time 7.773e-05/0.6516, allocations: 12 kB / 0.7706 GB, free: 13.45 MB / 499 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6516, allocations: 0 / 0.7706 GB, free: 13.45 MB / 499 MB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.6516, allocations: 8 kB / 0.7706 GB, free: 13.45 MB / 499 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.6518, allocations: 15.92 kB / 0.7706 GB, free: 13.43 MB / 499 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.652, allocations: 47.94 kB / 0.7707 GB, free: 13.36 MB / 499 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.6523, allocations: 0.6915 MB / 0.7713 GB, free: 12.64 MB / 499 MB Notification: Performance of SimCode: time 4.8e-07/0.6523, allocations: 0 / 0.7713 GB, free: 12.64 MB / 499 MB Notification: Performance of Templates: time 0.003526/0.6559, allocations: 0.8363 MB / 0.7722 GB, free: 11.82 MB / 499 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)