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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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/BuildSysPro 3.5.0/package.mo): time 0.6997/0.6997, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001121/0.001121, allocations: 181.2 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009017/0.0009016, allocations: 88.42 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3687/0.3697, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.5881, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.915, allocations: 307 MB / 0.9208 GB, free: 195.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/1.915, allocations: 84.69 kB / 0.9209 GB, free: 195.4 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.01633/1.932, allocations: 7.949 MB / 0.9286 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.932, allocations: 8 kB / 0.9286 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/1.932, allocations: 0 / 0.9286 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/1.932, allocations: 167 kB / 0.9288 GB, free: 187.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/1.932, allocations: 33.61 kB / 0.9288 GB, free: 187.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/1.932, allocations: 0 / 0.9288 GB, free: 187.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.14e-05/1.932, allocations: 19.92 kB / 0.9288 GB, free: 187.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/1.932, allocations: 33.7 kB / 0.9289 GB, free: 187.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.932, allocations: 3.984 kB / 0.9289 GB, free: 187.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/1.932, allocations: 8 kB / 0.9289 GB, free: 187.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/1.932, allocations: 0 / 0.9289 GB, free: 187.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/1.933, allocations: 0.5799 MB / 0.9295 GB, free: 186.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.966e-05/1.933, allocations: 18.52 kB / 0.9295 GB, free: 186.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/1.933, allocations: 4.859 kB / 0.9295 GB, free: 186.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/1.933, allocations: 372.8 kB / 0.9298 GB, free: 185.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/1.933, allocations: 30.56 kB / 0.9299 GB, free: 185.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/1.933, allocations: 0 / 0.9299 GB, free: 185.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002646/1.933, allocations: 41.69 kB / 0.9299 GB, free: 185.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/1.933, allocations: 51.41 kB / 0.93 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/1.934, allocations: 96.91 kB / 0.93 GB, free: 185.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.934, allocations: 25.7 kB / 0.9301 GB, free: 185.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/1.934, allocations: 84.11 kB / 0.9301 GB, free: 185.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-06/1.934, allocations: 7.906 kB / 0.9302 GB, free: 185.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/1.934, allocations: 0 / 0.9302 GB, free: 185.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/1.934, allocations: 322.8 kB / 0.9305 GB, free: 185.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/1.934, allocations: 0 / 0.9305 GB, free: 185.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/1.934, allocations: 13.72 kB / 0.9305 GB, free: 185.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/1.934, allocations: 27.97 kB / 0.9305 GB, free: 185.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.934, allocations: 0 / 0.9305 GB, free: 185.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001889/1.934, allocations: 57.67 kB / 0.9306 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.934, allocations: 7.906 kB / 0.9306 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.934, allocations: 3.938 kB / 0.9306 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.934, allocations: 4 kB / 0.9306 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.031e-05/1.934, allocations: 4 kB / 0.9306 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.934, allocations: 0 / 0.9306 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/1.934, allocations: 0 / 0.9306 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.934, allocations: 7.938 kB / 0.9306 GB, free: 185.1 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 6.155e-05/1.934, allocations: 117 kB / 0.9307 GB, free: 185 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/1.934, allocations: 3.906 kB / 0.9307 GB, free: 185 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/1.935, allocations: 115.5 kB / 0.9308 GB, free: 184.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/1.935, allocations: 184.2 kB / 0.931 GB, free: 184.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.855e-05/1.935, allocations: 180.2 kB / 0.9312 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/1.935, allocations: 180.3 kB / 0.9313 GB, free: 184.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/1.935, allocations: 385.7 kB / 0.9317 GB, free: 183.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/1.935, allocations: 109.2 kB / 0.9318 GB, free: 183.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/1.935, allocations: 105 kB / 0.9319 GB, free: 183.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.14e-05/1.935, allocations: 180.2 kB / 0.9321 GB, free: 183.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/1.935, allocations: 176.3 kB / 0.9322 GB, free: 183.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.033e-05/1.935, allocations: 188.2 kB / 0.9324 GB, free: 183.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.598e-05/1.935, allocations: 184.2 kB / 0.9326 GB, free: 182.9 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.111e-05/1.935, allocations: 303.8 kB / 0.9329 GB, free: 182.6 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001563/1.935, allocations: 0.6758 MB / 0.9335 GB, free: 181.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/1.935, allocations: 187.1 kB / 0.9337 GB, free: 181.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/1.935, allocations: 188.1 kB / 0.9339 GB, free: 181.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/1.936, allocations: 101 kB / 0.934 GB, free: 181.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/1.936, allocations: 184.3 kB / 0.9342 GB, free: 181.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/1.936, allocations: 104.9 kB / 0.9343 GB, free: 181.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.995e-05/1.936, allocations: 83.28 kB / 0.9344 GB, free: 181 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008947/1.937, allocations: 35.98 kB / 0.9344 GB, free: 181 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.0002698/1.937, allocations: 234.8 kB / 0.9346 GB, free: 180.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.801e-05/1.937, allocations: 8 kB / 0.9346 GB, free: 180.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.937, allocations: 0 / 0.9346 GB, free: 180.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-06/1.937, allocations: 3.938 kB / 0.9346 GB, free: 180.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/1.937, allocations: 0.5265 MB / 0.9351 GB, free: 180.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/1.938, allocations: 119.3 kB / 0.9353 GB, free: 180.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/1.938, allocations: 0.688 MB / 0.9359 GB, free: 179.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/1.938, allocations: 0 / 0.9359 GB, free: 179.3 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)