Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") [: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.001021/0.001021, allocations: 192.2 kB / 7.807 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.4354/0.4354, 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.174/1.174, allocations: 221.4 MB / 342.8 MB, free: 5.168 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.001029/0.001029, allocations: 102.3 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.366e-06, allocations: 4 kB / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3639, allocations: 72.3 MB / 0.5529 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5743/0.9383, allocations: 343.9 MB / 0.8887 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.9386, allocations: 63.66 kB / 0.8888 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of FrontEnd: time 0.04772/0.9863, allocations: 19.84 MB / 0.9081 GB, free: 14.52 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.9864, allocations: 4 kB / 0.9081 GB, free: 14.52 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009231/0.9873, allocations: 477.1 kB / 0.9086 GB, free: 14.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.9874, allocations: 12.03 kB / 0.9086 GB, free: 14 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.9876, allocations: 19.81 kB / 0.9086 GB, free: 13.98 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.988, allocations: 214.4 kB / 0.9088 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.988, allocations: 4 kB / 0.9088 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.9881, allocations: 14.91 kB / 0.9089 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005746/0.9886, allocations: 409.7 kB / 0.9092 GB, free: 13.4 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.989, allocations: 218.5 kB / 0.9095 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.989, allocations: 0 / 0.9095 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.9891, allocations: 0 / 0.9095 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.9891, allocations: 8 kB / 0.9095 GB, free: 13.2 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.9905, allocations: 0.9516 MB / 0.9104 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.9908, allocations: 146.7 kB / 0.9105 GB, free: 12.14 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.9909, allocations: 52.08 kB / 0.9106 GB, free: 12.1 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/0.9927, allocations: 1.908 MB / 0.9124 GB, free: 9.875 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.9928, allocations: 38.56 kB / 0.9125 GB, free: 9.828 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 3.296e-06/0.9928, allocations: 0 / 0.9125 GB, free: 9.828 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0006101/0.9934, allocations: 140.6 kB / 0.9126 GB, free: 9.699 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.9934, allocations: 51.41 kB / 0.9127 GB, free: 9.637 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.9936, allocations: 139 kB / 0.9128 GB, free: 9.504 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.9936, allocations: 25.7 kB / 0.9128 GB, free: 9.473 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.9937, allocations: 143.2 kB / 0.913 GB, free: 9.34 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.9938, allocations: 47.19 kB / 0.913 GB, free: 9.297 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.9938, allocations: 3.938 kB / 0.913 GB, free: 9.293 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9939, allocations: 330.6 kB / 0.9133 GB, free: 8.969 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.994, allocations: 27.94 kB / 0.9133 GB, free: 8.945 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.9941, allocations: 132.8 kB / 0.9135 GB, free: 8.781 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.9945, allocations: 78.67 kB / 0.9136 GB, free: 8.715 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9945, allocations: 0 / 0.9136 GB, free: 8.715 MB / 0.573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005472/0.995, allocations: 210.8 kB / 0.9138 GB, free: 8.523 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9951, allocations: 8.094 kB / 0.9138 GB, free: 8.516 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.9951, allocations: 5.781 kB / 0.9138 GB, free: 8.512 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9951, allocations: 4 kB / 0.9138 GB, free: 8.508 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.9953, allocations: 59.59 kB / 0.9138 GB, free: 8.453 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.9953, allocations: 8 kB / 0.9138 GB, free: 8.445 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.9955, allocations: 27.67 kB / 0.9139 GB, free: 8.418 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.9955, allocations: 8 kB / 0.9139 GB, free: 8.41 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001096/0.9956, allocations: 114.9 kB / 0.914 GB, free: 8.297 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.9957, allocations: 19.81 kB / 0.914 GB, free: 8.277 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005617/0.9963, allocations: 186.3 kB / 0.9142 GB, free: 8.129 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.9963, allocations: 3.906 kB / 0.9142 GB, free: 8.125 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.9963, allocations: 0 / 0.9142 GB, free: 8.125 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.9963, allocations: 3.25 kB / 0.9142 GB, free: 8.125 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.9966, allocations: 184 kB / 0.9144 GB, free: 7.922 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.9966, allocations: 4 kB / 0.9144 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.9967, allocations: 27.97 kB / 0.9144 GB, free: 7.891 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9967, allocations: 4 kB / 0.9144 GB, free: 7.887 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.9967, allocations: 7.875 kB / 0.9144 GB, free: 7.883 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9967, allocations: 0 / 0.9144 GB, free: 7.883 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9967, allocations: 1.031 kB / 0.9144 GB, free: 7.883 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004933/0.9972, allocations: 240.7 kB / 0.9146 GB, free: 7.648 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.9974, allocations: 123.6 kB / 0.9147 GB, free: 7.52 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.9974, allocations: 0 / 0.9147 GB, free: 7.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.9976, allocations: 19.98 kB / 0.9148 GB, free: 7.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.9977, allocations: 7.984 kB / 0.9148 GB, free: 7.492 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.9977, allocations: 15.61 kB / 0.9148 GB, free: 7.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.682e-05/0.9978, allocations: 104 kB / 0.9149 GB, free: 7.387 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004309/0.9982, allocations: 75.62 kB / 0.915 GB, free: 7.316 MB / 0.573 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003483/0.9986, allocations: 189.7 kB / 0.9151 GB, free: 7.125 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000252/0.9989, allocations: 106.9 kB / 0.9152 GB, free: 7.035 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9989, allocations: 4 kB / 0.9152 GB, free: 7.031 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.999, allocations: 43.11 kB / 0.9153 GB, free: 6.996 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.9993, allocations: 29.09 kB / 0.9153 GB, free: 6.977 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.9998, allocations: 173.5 kB / 0.9155 GB, free: 6.797 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/1, allocations: 0.743 MB / 0.9162 GB, free: 6.027 MB / 0.573 GB Notification: Performance of SimCode: time 2.51e-07/1, allocations: 0 / 0.9162 GB, free: 6.027 MB / 0.573 GB Notification: Performance of Templates: time 0.007324/1.008, allocations: 3.322 MB / 0.9194 GB, free: 2.801 MB / 0.573 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)