Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.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 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 285.5 MB / 292.8 MB, free: 1.059 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 182.4 kB / 361.1 MB, free: 15.48 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.1 MB / 0.6195 GB, free: 6.152 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000987/0.000987, allocations: 89.05 kB / 0.7326 GB, free: 47.05 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.285e-05/1.289e-05, allocations: 4 kB / 0.8511 GB, free: 13.08 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8285/0.8285, allocations: 115.3 MB / 0.9637 GB, free: 85.97 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/1.031, allocations: 138.3 MB / 1.099 GB, free: 11.51 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.031, allocations: 88.78 kB / 1.099 GB, free: 11.43 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.00807/1.039, allocations: 2.26 MB / 1.101 GB, free: 9.207 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.039, allocations: 1.312 kB / 1.101 GB, free: 9.207 MB / 0.7061 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.0003556/1.04, allocations: 326.4 kB / 1.101 GB, free: 8.844 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.04, allocations: 8.031 kB / 1.101 GB, free: 8.836 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/1.04, allocations: 0 / 1.101 GB, free: 8.836 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/1.04, allocations: 170.9 kB / 1.102 GB, free: 8.629 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.04, allocations: 4 kB / 1.102 GB, free: 8.625 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/1.04, allocations: 0 / 1.102 GB, free: 8.625 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.993e-05/1.04, allocations: 11.98 kB / 1.102 GB, free: 8.613 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.416e-05/1.04, allocations: 29.7 kB / 1.102 GB, free: 8.578 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.04, allocations: 0 / 1.102 GB, free: 8.578 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/1.04, allocations: 3.984 kB / 1.102 GB, free: 8.574 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/1.04, allocations: 0 / 1.102 GB, free: 8.574 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/1.04, allocations: 142.1 kB / 1.102 GB, free: 8.398 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/1.041, allocations: 32.66 kB / 1.102 GB, free: 8.359 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/1.041, allocations: 15.39 kB / 1.102 GB, free: 8.344 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/1.042, allocations: 0.6409 MB / 1.102 GB, free: 7.629 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.956e-05/1.042, allocations: 30.56 kB / 1.102 GB, free: 7.59 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.042, allocations: 0 / 1.102 GB, free: 7.59 MB / 0.7061 GB Notification: Performance of matching and sorting (n=3): time 0.0002126/1.042, allocations: 37.69 kB / 1.102 GB, free: 7.547 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/1.042, allocations: 55.34 kB / 1.102 GB, free: 7.48 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/1.042, allocations: 93 kB / 1.103 GB, free: 7.383 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/1.042, allocations: 25.7 kB / 1.103 GB, free: 7.352 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/1.042, allocations: 84.27 kB / 1.103 GB, free: 7.266 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/1.042, allocations: 15.8 kB / 1.103 GB, free: 7.25 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.042, allocations: 0 / 1.103 GB, free: 7.25 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.043, allocations: 314.8 kB / 1.103 GB, free: 6.934 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/1.043, allocations: 0 / 1.103 GB, free: 6.934 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-06/1.043, allocations: 4 kB / 1.103 GB, free: 6.93 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/1.043, allocations: 4 kB / 1.103 GB, free: 6.926 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/1.043, allocations: 0 / 1.103 GB, free: 6.926 MB / 0.7061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.904e-05/1.043, allocations: 47 kB / 1.103 GB, free: 6.875 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.043, allocations: 8 kB / 1.103 GB, free: 6.867 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.043, allocations: 7.844 kB / 1.103 GB, free: 6.859 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.043, allocations: 0 / 1.103 GB, free: 6.859 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/1.043, allocations: 4 kB / 1.103 GB, free: 6.855 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.043, allocations: 4 kB / 1.103 GB, free: 6.852 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/1.043, allocations: 0 / 1.103 GB, free: 6.852 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/1.043, allocations: 3.984 kB / 1.103 GB, free: 6.848 MB / 0.7061 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 7.415e-05/1.043, allocations: 108.7 kB / 1.103 GB, free: 6.734 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/1.043, allocations: 9.875 kB / 1.103 GB, free: 6.727 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/1.043, allocations: 55.72 kB / 1.103 GB, free: 6.664 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.043, allocations: 0 / 1.103 GB, free: 6.664 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.043, allocations: 0 / 1.103 GB, free: 6.664 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.043, allocations: 0 / 1.103 GB, free: 6.664 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/1.043, allocations: 132.4 kB / 1.103 GB, free: 6.5 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.043, allocations: 0 / 1.103 GB, free: 6.5 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/1.043, allocations: 7.906 kB / 1.103 GB, free: 6.492 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.043, allocations: 0 / 1.103 GB, free: 6.492 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/1.043, allocations: 4 kB / 1.103 GB, free: 6.488 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.043, allocations: 4 kB / 1.103 GB, free: 6.484 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.043, allocations: 0 / 1.103 GB, free: 6.484 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001077/1.044, allocations: 69.3 kB / 1.103 GB, free: 6.398 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/1.044, allocations: 81.02 kB / 1.104 GB, free: 6.301 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/1.044, allocations: 3.984 kB / 1.104 GB, free: 6.297 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/1.044, allocations: 4.047 kB / 1.104 GB, free: 6.293 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/1.044, allocations: 7.984 kB / 1.104 GB, free: 6.285 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/1.044, allocations: 0 / 1.104 GB, free: 6.285 MB / 0.7061 GB Notification: Performance of sort global known variables: time 3.513e-05/1.044, allocations: 79.28 kB / 1.104 GB, free: 6.207 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.000233/1.044, allocations: 27.94 kB / 1.104 GB, free: 6.18 MB / 0.7061 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.0003388/1.044, allocations: 139.2 kB / 1.104 GB, free: 6.035 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 9.769e-05/1.044, allocations: 15.98 kB / 1.104 GB, free: 6.02 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.044, allocations: 3.938 kB / 1.104 GB, free: 6.016 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/1.044, allocations: 8 kB / 1.104 GB, free: 6.008 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/1.045, allocations: 5.688 kB / 1.104 GB, free: 6.004 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/1.045, allocations: 60.73 kB / 1.104 GB, free: 5.922 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/1.045, allocations: 0.6915 MB / 1.105 GB, free: 5.207 MB / 0.7061 GB Notification: Performance of SimCode: time 2.61e-07/1.045, allocations: 4 kB / 1.105 GB, free: 5.203 MB / 0.7061 GB Notification: Performance of Templates: time 0.003275/1.049, allocations: 0.847 MB / 1.105 GB, free: 4.387 MB / 0.7061 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)