Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [: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/BuildSysPro 3.5.0/package.mo): time 0.7231/0.7231, allocations: 127.4 MB / 134.6 MB, free: 4.109 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 185.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.1 MB / 399.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 90.34 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.388e-06/9.428e-06, allocations: 4 kB / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 76.74 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.375, allocations: 307 MB / 0.9207 GB, free: 195.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/1.375, allocations: 79.95 kB / 0.9208 GB, free: 195.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.01542/1.391, allocations: 7.615 MB / 0.9282 GB, free: 188 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.244e-06/1.391, allocations: 0 / 0.9282 GB, free: 188 MB / 0.6198 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.0002728/1.391, allocations: 342.2 kB / 0.9285 GB, free: 187.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.391, allocations: 16.02 kB / 0.9285 GB, free: 187.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/1.391, allocations: 4 kB / 0.9285 GB, free: 187.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/1.391, allocations: 159.1 kB / 0.9287 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.71e-05/1.391, allocations: 33.61 kB / 0.9287 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/1.391, allocations: 0 / 0.9287 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.831e-05/1.391, allocations: 15.98 kB / 0.9287 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.853e-05/1.391, allocations: 41.69 kB / 0.9288 GB, free: 187.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.391, allocations: 3.938 kB / 0.9288 GB, free: 187.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/1.391, allocations: 0 / 0.9288 GB, free: 187.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/1.391, allocations: 0 / 0.9288 GB, free: 187.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/1.392, allocations: 0.5799 MB / 0.9294 GB, free: 186.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.936e-05/1.392, allocations: 22.58 kB / 0.9294 GB, free: 186.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/1.392, allocations: 4.859 kB / 0.9294 GB, free: 186.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/1.392, allocations: 368.8 kB / 0.9297 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/1.392, allocations: 30.56 kB / 0.9298 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/1.392, allocations: 0 / 0.9298 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002271/1.393, allocations: 45.62 kB / 0.9298 GB, free: 186.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/1.393, allocations: 55.41 kB / 0.9299 GB, free: 186 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/1.393, allocations: 96.94 kB / 0.93 GB, free: 185.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/1.393, allocations: 25.7 kB / 0.93 GB, free: 185.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/1.393, allocations: 88.12 kB / 0.9301 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/1.393, allocations: 3.906 kB / 0.9301 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.393, allocations: 0 / 0.9301 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/1.393, allocations: 310.8 kB / 0.9304 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/1.393, allocations: 4 kB / 0.9304 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/1.393, allocations: 13.72 kB / 0.9304 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/1.393, allocations: 27.97 kB / 0.9304 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.393, allocations: 0 / 0.9304 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001731/1.393, allocations: 65.61 kB / 0.9305 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.393, allocations: 7.906 kB / 0.9305 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.393, allocations: 0 / 0.9305 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/1.393, allocations: 0 / 0.9305 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/1.393, allocations: 8 kB / 0.9305 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.393, allocations: 4 kB / 0.9305 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/1.393, allocations: 4.281 kB / 0.9305 GB, free: 185.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/1.393, allocations: 3.984 kB / 0.9305 GB, free: 185.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.311e-05/1.393, allocations: 108.9 kB / 0.9306 GB, free: 185.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/1.393, allocations: 7.844 kB / 0.9306 GB, free: 185.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/1.394, allocations: 120.9 kB / 0.9307 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/1.394, allocations: 180.3 kB / 0.9309 GB, free: 184.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.333e-05/1.394, allocations: 180.2 kB / 0.9311 GB, free: 184.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/1.394, allocations: 188.2 kB / 0.9312 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/1.394, allocations: 377.8 kB / 0.9316 GB, free: 184.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.394, allocations: 108.9 kB / 0.9317 GB, free: 184 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/1.394, allocations: 108.9 kB / 0.9318 GB, free: 183.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.094e-05/1.394, allocations: 180.3 kB / 0.932 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/1.394, allocations: 176.3 kB / 0.9322 GB, free: 183.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.464e-05/1.394, allocations: 180.2 kB / 0.9323 GB, free: 183.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.76e-05/1.394, allocations: 188.2 kB / 0.9325 GB, free: 183.1 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.002e-05/1.394, allocations: 303.8 kB / 0.9328 GB, free: 182.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/1.394, allocations: 190 kB / 0.933 GB, free: 182.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/1.394, allocations: 176.3 kB / 0.9331 GB, free: 182.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.394, allocations: 109.9 kB / 0.9332 GB, free: 182.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/1.394, allocations: 176.3 kB / 0.9334 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/1.394, allocations: 105 kB / 0.9335 GB, free: 182 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.773e-05/1.394, allocations: 83.28 kB / 0.9336 GB, free: 181.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002495/1.395, allocations: 36 kB / 0.9336 GB, free: 181.9 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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.0002233/1.395, allocations: 229.6 kB / 0.9338 GB, free: 181.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.403e-05/1.395, allocations: 12.3 kB / 0.9339 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.395, allocations: 0 / 0.9339 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/1.395, allocations: 3.984 kB / 0.9339 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/1.395, allocations: 0.5225 MB / 0.9344 GB, free: 181.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001635/1.395, allocations: 123.3 kB / 0.9345 GB, free: 181 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/1.396, allocations: 0.688 MB / 0.9352 GB, free: 180.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/1.396, allocations: 0 / 0.9352 GB, free: 180.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.003155/1.399, allocations: 1.119 MB / 0.9363 GB, free: 179.2 MB / 0.6198 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)