Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [: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.1.4-maint.8.1.x/package.mo): time 1.508/1.508, allocations: 289.8 MB / 297.1 MB, free: 12.63 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 187.8 kB / 366.3 MB, free: 11.95 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 0.6256 GB, free: 2.062 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 85.08 kB / 0.7395 GB, free: 47 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.3094/0.3105, allocations: 122.4 MB / 0.8591 GB, free: 7.102 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7981/1.109, allocations: 116.3 MB / 0.9727 GB, free: 81.59 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/1.313, allocations: 139.3 MB / 1.109 GB, free: 4.738 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/1.313, allocations: 89.11 kB / 1.109 GB, free: 4.652 MB / 0.7058 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.008736/1.322, allocations: 2.583 MB / 1.111 GB, free: 2.062 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.322, allocations: 8 kB / 1.111 GB, free: 2.055 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/1.322, allocations: 5.375 kB / 1.111 GB, free: 2.051 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/1.323, allocations: 170.9 kB / 1.111 GB, free: 1.844 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/1.323, allocations: 0 / 1.111 GB, free: 1.844 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/1.323, allocations: 0 / 1.111 GB, free: 1.844 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.615e-05/1.323, allocations: 15.98 kB / 1.111 GB, free: 1.828 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/1.323, allocations: 29.7 kB / 1.112 GB, free: 1.793 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/1.323, allocations: 4 kB / 1.112 GB, free: 1.789 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.323, allocations: 0 / 1.112 GB, free: 1.789 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/1.323, allocations: 0 / 1.112 GB, free: 1.789 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/1.323, allocations: 134.1 kB / 1.112 GB, free: 1.621 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/1.323, allocations: 30.58 kB / 1.112 GB, free: 1.582 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/1.323, allocations: 16.86 kB / 1.112 GB, free: 1.562 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.325, allocations: 0.6391 MB / 1.112 GB, free: 0.8516 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.325, allocations: 30.56 kB / 1.112 GB, free: 0.8125 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/1.325, allocations: 4 kB / 1.112 GB, free: 0.8086 MB / 0.7058 GB Notification: Performance of matching and sorting (n=3): time 0.000272/1.325, allocations: 41.69 kB / 1.112 GB, free: 0.7617 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.325, allocations: 55.41 kB / 1.112 GB, free: 0.6953 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/1.325, allocations: 85 kB / 1.113 GB, free: 0.6055 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.325, allocations: 25.7 kB / 1.113 GB, free: 0.5742 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/1.325, allocations: 80.14 kB / 1.113 GB, free: 0.4922 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/1.325, allocations: 15.81 kB / 1.113 GB, free: 488 kB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/1.325, allocations: 0 / 1.113 GB, free: 488 kB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.325, allocations: 319 kB / 1.113 GB, free: 160 kB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/1.325, allocations: 4 kB / 1.113 GB, free: 156 kB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/1.325, allocations: 0 / 1.113 GB, free: 156 kB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.938e-05/1.326, allocations: 11.94 kB / 1.113 GB, free: 144 kB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.326, allocations: 0 / 1.113 GB, free: 144 kB / 0.7058 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00011/1.326, allocations: 41.69 kB / 1.113 GB, free: 96 kB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.326, allocations: 4 kB / 1.113 GB, free: 92 kB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.326, allocations: 5.281 kB / 1.113 GB, free: 88 kB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.326, allocations: 5.031 kB / 1.113 GB, free: 84 kB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/1.326, allocations: 7.938 kB / 1.113 GB, free: 76 kB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.326, allocations: 4 kB / 1.113 GB, free: 72 kB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/1.326, allocations: 0 / 1.113 GB, free: 72 kB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/1.326, allocations: 0 / 1.113 GB, free: 72 kB / 0.7058 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 0.0001528/1.326, allocations: 105 kB / 1.113 GB, free: 15.96 MB / 0.7214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/1.326, allocations: 7.906 kB / 1.113 GB, free: 15.95 MB / 0.7214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/1.326, allocations: 55.75 kB / 1.113 GB, free: 15.89 MB / 0.7214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.326, allocations: 240 / 1.113 GB, free: 15.89 MB / 0.7214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.326, allocations: 4 kB / 1.113 GB, free: 15.88 MB / 0.7214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.326, allocations: 3.984 kB / 1.113 GB, free: 15.88 MB / 0.7214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/1.326, allocations: 134.2 kB / 1.113 GB, free: 15.71 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.326, allocations: 1.062 kB / 1.113 GB, free: 15.71 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/1.326, allocations: 11.91 kB / 1.113 GB, free: 15.7 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/1.326, allocations: 0 / 1.113 GB, free: 15.7 MB / 0.7214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.326, allocations: 0 / 1.113 GB, free: 15.7 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.326, allocations: 0 / 1.113 GB, free: 15.7 MB / 0.7214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.326, allocations: 0.8438 kB / 1.113 GB, free: 15.7 MB / 0.7214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001559/1.327, allocations: 69.12 kB / 1.113 GB, free: 15.61 MB / 0.7214 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002845/1.327, allocations: 453.2 kB / 1.114 GB, free: 15.15 MB / 0.7214 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/1.327, allocations: 85.02 kB / 1.114 GB, free: 15.05 MB / 0.7214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/1.327, allocations: 3.984 kB / 1.114 GB, free: 15.05 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/1.327, allocations: 0 / 1.114 GB, free: 15.05 MB / 0.7214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/1.327, allocations: 0 / 1.114 GB, free: 15.05 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/1.327, allocations: 4 kB / 1.114 GB, free: 15.04 MB / 0.7214 GB Notification: Performance of sort global known variables: time 3.884e-05/1.327, allocations: 83.28 kB / 1.114 GB, free: 14.96 MB / 0.7214 GB Notification: Performance of remove unused functions: time 0.0008022/1.328, allocations: 28.69 kB / 1.114 GB, free: 14.93 MB / 0.7214 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.0003883/1.328, allocations: 136.9 kB / 1.114 GB, free: 14.79 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 9.968e-05/1.328, allocations: 23.92 kB / 1.114 GB, free: 14.77 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.328, allocations: 0 / 1.114 GB, free: 14.77 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/1.328, allocations: 4 kB / 1.114 GB, free: 14.76 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/1.329, allocations: 6.062 kB / 1.114 GB, free: 14.76 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/1.329, allocations: 60.64 kB / 1.114 GB, free: 14.68 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/1.329, allocations: 0.6948 MB / 1.115 GB, free: 13.96 MB / 0.7214 GB Notification: Performance of SimCode: time 6.21e-07/1.329, allocations: 3.938 kB / 1.115 GB, free: 13.96 MB / 0.7214 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)