Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 187.4 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4437/0.4437, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 221.4 MB / 342.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 90.97 kB / 415.5 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.55e-06, allocations: 0 / 493.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3489, allocations: 72.3 MB / 0.5529 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.8613, allocations: 304.3 MB / 0.85 GB, free: 18 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.8616, allocations: 84.31 kB / 0.8501 GB, free: 17.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.01768/0.8793, allocations: 8.808 MB / 0.8587 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.8793, allocations: 4 kB / 0.8587 GB, free: 11.02 MB / 0.5261 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.000287/0.8796, allocations: 345.9 kB / 0.8591 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.8797, allocations: 8.031 kB / 0.8591 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.8797, allocations: 3.906 kB / 0.8591 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.8798, allocations: 163.1 kB / 0.8592 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.8799, allocations: 25.7 kB / 0.8593 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.8799, allocations: 0 / 0.8593 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.906e-05/0.88, allocations: 11.98 kB / 0.8593 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.8801, allocations: 49.28 kB / 0.8593 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8801, allocations: 0 / 0.8593 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.8801, allocations: 3.938 kB / 0.8593 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.8801, allocations: 4 kB / 0.8593 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.8807, allocations: 0.5746 MB / 0.8599 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 2.319e-05/0.8807, allocations: 14.58 kB / 0.8599 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.8807, allocations: 8.859 kB / 0.8599 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.8809, allocations: 370.6 kB / 0.8603 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.8809, allocations: 30.56 kB / 0.8603 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8809, allocations: 0 / 0.8603 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002268/0.8812, allocations: 45.19 kB / 0.8603 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.8812, allocations: 55.41 kB / 0.8604 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.8812, allocations: 92.97 kB / 0.8605 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.8813, allocations: 29.7 kB / 0.8605 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.8813, allocations: 91.97 kB / 0.8606 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.8813, allocations: 3.906 kB / 0.8606 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-06/0.8813, allocations: 3.281 kB / 0.8606 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.8814, allocations: 314.8 kB / 0.8609 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.8814, allocations: 3.75 kB / 0.8609 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.8814, allocations: 13.72 kB / 0.8609 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.8816, allocations: 31.91 kB / 0.8609 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8816, allocations: 0 / 0.8609 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001815/0.8818, allocations: 61.36 kB / 0.861 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.8818, allocations: 6.031 kB / 0.861 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8818, allocations: 0 / 0.861 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8818, allocations: 7.906 kB / 0.861 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.8818, allocations: 4 kB / 0.861 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.8819, allocations: 3.984 kB / 0.861 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.8819, allocations: 4.062 kB / 0.861 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.8819, allocations: 4 kB / 0.861 GB, free: 8.355 MB / 0.5261 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 4.486e-05/0.8819, allocations: 101 kB / 0.8611 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.882, allocations: 3.906 kB / 0.8611 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.8821, allocations: 125.4 kB / 0.8612 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.8821, allocations: 184.2 kB / 0.8614 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/0.8821, allocations: 180.3 kB / 0.8616 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/0.8822, allocations: 180.2 kB / 0.8618 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.8823, allocations: 385.7 kB / 0.8621 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.8823, allocations: 101 kB / 0.8622 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.8823, allocations: 104.9 kB / 0.8623 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/0.8824, allocations: 184.2 kB / 0.8625 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.8824, allocations: 184.2 kB / 0.8627 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-05/0.8824, allocations: 182.4 kB / 0.8629 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.889e-05/0.8825, allocations: 180.3 kB / 0.863 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.379e-05/0.8825, allocations: 307.3 kB / 0.8633 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.8826, allocations: 191.3 kB / 0.8635 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.8826, allocations: 176.3 kB / 0.8637 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.8828, allocations: 116.6 kB / 0.8638 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.8828, allocations: 176.3 kB / 0.864 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.8828, allocations: 101 kB / 0.864 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.376e-05/0.8828, allocations: 83.28 kB / 0.8641 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002545/0.8831, allocations: 39.61 kB / 0.8642 GB, free: 4.961 MB / 0.5261 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.0002065/0.8833, allocations: 234.6 kB / 0.8644 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.992e-05/0.8834, allocations: 11.67 kB / 0.8644 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8834, allocations: 4 kB / 0.8644 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.8834, allocations: 0 / 0.8644 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.8836, allocations: 0.5186 MB / 0.8649 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.8838, allocations: 140.6 kB / 0.865 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.8839, allocations: 0.6841 MB / 0.8657 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.884, allocations: 0 / 0.8657 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.003128/0.8871, allocations: 1.094 MB / 0.8668 GB, free: 2.316 MB / 0.5261 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)