Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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 1.6.0+build.1/package.mo): time 0.5147/0.5147, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001262/0.001263, allocations: 179.9 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.46/1.46, allocations: 170.5 MB / 319 MB, free: 9.422 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001662/0.001663, allocations: 114.5 kB / 381 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.193e-05, allocations: 4.219 kB / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1708, allocations: 61.52 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4286/0.5995, allocations: 94.67 MB / 0.5906 GB, free: 7.723 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/0.5999, allocations: 85.34 kB / 0.5907 GB, free: 7.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01051/0.6105, allocations: 2.825 MB / 0.5934 GB, free: 4.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.6105, allocations: 4 kB / 0.5934 GB, free: 4.871 MB / 410.7 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.0004092/0.6109, allocations: 350.4 kB / 0.5938 GB, free: 4.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.611, allocations: 8.031 kB / 0.5938 GB, free: 4.477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.6111, allocations: 0 / 0.5938 GB, free: 4.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.6112, allocations: 172.6 kB / 0.5939 GB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6113, allocations: 0 / 0.5939 GB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.6113, allocations: 0 / 0.5939 GB, free: 4.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.613e-05/0.6114, allocations: 18.58 kB / 0.594 GB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.983e-05/0.6115, allocations: 29.7 kB / 0.594 GB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.6115, allocations: 5.031 kB / 0.594 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.6115, allocations: 2.188 kB / 0.594 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6115, allocations: 0 / 0.594 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.6117, allocations: 142 kB / 0.5941 GB, free: 4.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/0.6118, allocations: 26.58 kB / 0.5942 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.6119, allocations: 8.922 kB / 0.5942 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.6133, allocations: 0.6449 MB / 0.5948 GB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6133, allocations: 30.56 kB / 0.5948 GB, free: 3.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 4.949e-06/0.6133, allocations: 4 kB / 0.5948 GB, free: 3.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002202/0.6135, allocations: 42.14 kB / 0.5949 GB, free: 3.188 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.6136, allocations: 51.41 kB / 0.5949 GB, free: 3.125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.6137, allocations: 94.03 kB / 0.595 GB, free: 3.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.6137, allocations: 25.7 kB / 0.595 GB, free: 2.996 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.6137, allocations: 80.14 kB / 0.5951 GB, free: 2.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.6138, allocations: 11.81 kB / 0.5951 GB, free: 2.902 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.6138, allocations: 0 / 0.5951 GB, free: 2.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6139, allocations: 319 kB / 0.5954 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.614, allocations: 4 kB / 0.5954 GB, free: 2.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.614, allocations: 4 kB / 0.5954 GB, free: 2.574 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.018e-05/0.614, allocations: 4.609 kB / 0.5954 GB, free: 2.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.614, allocations: 0 / 0.5954 GB, free: 2.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001012/0.6142, allocations: 45.62 kB / 0.5955 GB, free: 2.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6142, allocations: 7.469 kB / 0.5955 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6142, allocations: 0 / 0.5955 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6142, allocations: 0 / 0.5955 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.6143, allocations: 8 kB / 0.5955 GB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.6143, allocations: 7.906 kB / 0.5955 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.6143, allocations: 4.891 kB / 0.5955 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.6143, allocations: 0 / 0.5955 GB, free: 2.496 MB / 410.7 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 8.408e-05/0.6144, allocations: 103.5 kB / 0.5956 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.6144, allocations: 4 kB / 0.5956 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.6147, allocations: 57.27 kB / 0.5957 GB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6147, allocations: 0 / 0.5957 GB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6147, allocations: 4 kB / 0.5957 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6147, allocations: 1.219 kB / 0.5957 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.6148, allocations: 130.2 kB / 0.5958 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6148, allocations: 0 / 0.5958 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.6149, allocations: 10.31 kB / 0.5958 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6149, allocations: 2.953 kB / 0.5958 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.6149, allocations: 5.031 kB / 0.5958 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6149, allocations: 3.906 kB / 0.5958 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6149, allocations: 0 / 0.5958 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001341/0.615, allocations: 69.12 kB / 0.5959 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.6151, allocations: 81.02 kB / 0.596 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.6151, allocations: 0 / 0.596 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.303e-05/0.6151, allocations: 0 / 0.596 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.6151, allocations: 7.984 kB / 0.596 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.6152, allocations: 3.281 kB / 0.596 GB, free: 1.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.801e-05/0.6152, allocations: 79.28 kB / 0.596 GB, free: 1.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.6154, allocations: 31.94 kB / 0.5961 GB, free: 1.84 MB / 410.7 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.0003054/0.6158, allocations: 141.2 kB / 0.5962 GB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.966e-05/0.6159, allocations: 15.98 kB / 0.5962 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6159, allocations: 4 kB / 0.5962 GB, free: 1.676 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-05/0.6159, allocations: 8 kB / 0.5962 GB, free: 1.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.6161, allocations: 0 / 0.5962 GB, free: 1.668 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.6163, allocations: 56.06 kB / 0.5963 GB, free: 1.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.6167, allocations: 0.6876 MB / 0.597 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6167, allocations: 0 / 0.597 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of Templates: time 0.003296/0.62, allocations: 0.8287 MB / 0.5978 GB, free: 96 kB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)