Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.004564/0.004564, allocations: 181.1 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.723/0.723, allocations: 130.6 MB / 138.5 MB, free: 2.152 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.3 MB / 391.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 109.1 kB / 473.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.262e-06, allocations: 0 / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1814, allocations: 81.59 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.361, allocations: 353.4 MB / 0.9727 GB, free: 195 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.362, allocations: 69.45 kB / 0.9728 GB, free: 195 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.04454/1.406, allocations: 19.84 MB / 0.9921 GB, free: 193.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.406, allocations: 0 / 0.9921 GB, free: 193.3 MB / 0.6667 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.0006979/1.407, allocations: 480.5 kB / 0.9926 GB, free: 192.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.407, allocations: 7.844 kB / 0.9926 GB, free: 192.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/1.407, allocations: 25.56 kB / 0.9926 GB, free: 192.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/1.407, allocations: 221.8 kB / 0.9928 GB, free: 192.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/1.407, allocations: 3.906 kB / 0.9928 GB, free: 192.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/1.407, allocations: 15.75 kB / 0.9929 GB, free: 192.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005096/1.408, allocations: 409.2 kB / 0.9933 GB, free: 192.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/1.408, allocations: 214.3 kB / 0.9935 GB, free: 192.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.408, allocations: 3.938 kB / 0.9935 GB, free: 192.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/1.408, allocations: 0 / 0.9935 GB, free: 192.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/1.408, allocations: 11.8 kB / 0.9935 GB, free: 192.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/1.409, allocations: 0.9482 MB / 0.9944 GB, free: 191.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/1.41, allocations: 136.5 kB / 0.9945 GB, free: 191.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/1.41, allocations: 53.73 kB / 0.9946 GB, free: 191.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.411, allocations: 1.914 MB / 0.9965 GB, free: 189.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/1.411, allocations: 41.72 kB / 0.9965 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/1.411, allocations: 0 / 0.9965 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0004702/1.411, allocations: 134.5 kB / 0.9966 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.411, allocations: 51.41 kB / 0.9967 GB, free: 189.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/1.411, allocations: 138.2 kB / 0.9968 GB, free: 189.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/1.411, allocations: 25.7 kB / 0.9968 GB, free: 189.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/1.411, allocations: 144.1 kB / 0.997 GB, free: 189.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/1.411, allocations: 47.55 kB / 0.997 GB, free: 189.3 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/1.411, allocations: 3.906 kB / 0.997 GB, free: 189.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/1.412, allocations: 325.4 kB / 0.9973 GB, free: 189 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/1.412, allocations: 32.41 kB / 0.9974 GB, free: 189 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/1.412, allocations: 131.5 kB / 0.9975 GB, free: 188.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/1.412, allocations: 86.23 kB / 0.9976 GB, free: 188.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.412, allocations: 2.016 kB / 0.9976 GB, free: 188.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004384/1.412, allocations: 207.8 kB / 0.9978 GB, free: 188.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/1.412, allocations: 3.906 kB / 0.9978 GB, free: 188.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.412, allocations: 5.875 kB / 0.9978 GB, free: 188.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.412, allocations: 3.906 kB / 0.9978 GB, free: 188.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/1.413, allocations: 61.7 kB / 0.9978 GB, free: 188.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.413, allocations: 7.844 kB / 0.9978 GB, free: 188.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/1.413, allocations: 25.23 kB / 0.9979 GB, free: 188.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.413, allocations: 15.72 kB / 0.9979 GB, free: 188.8 MB / 0.6667 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 6.926e-05/1.413, allocations: 112.9 kB / 0.998 GB, free: 188.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/1.413, allocations: 21.39 kB / 0.998 GB, free: 188.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/1.413, allocations: 180.5 kB / 0.9982 GB, free: 188.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/1.413, allocations: 0 / 0.9982 GB, free: 188.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.413, allocations: 0 / 0.9982 GB, free: 188.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.413, allocations: 9.781 kB / 0.9982 GB, free: 188.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/1.414, allocations: 175.6 kB / 0.9984 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.414, allocations: 0 / 0.9984 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/1.414, allocations: 35.81 kB / 0.9984 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.414, allocations: 7.906 kB / 0.9984 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/1.414, allocations: 3.516 kB / 0.9984 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.414, allocations: 3.906 kB / 0.9984 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.414, allocations: 0 / 0.9984 GB, free: 188.4 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003894/1.414, allocations: 236.4 kB / 0.9986 GB, free: 188.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/1.414, allocations: 117.4 kB / 0.9987 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/1.414, allocations: 3.906 kB / 0.9987 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/1.415, allocations: 19.89 kB / 0.9988 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/1.415, allocations: 8.406 kB / 0.9988 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/1.415, allocations: 14.34 kB / 0.9988 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.43e-05/1.415, allocations: 100.9 kB / 0.9989 GB, free: 188.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000394/1.415, allocations: 76.59 kB / 0.999 GB, free: 188.1 MB / 0.6667 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.0003017/1.415, allocations: 200.4 kB / 0.9991 GB, free: 188 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002167/1.416, allocations: 106 kB / 0.9992 GB, free: 188 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.416, allocations: 3.938 kB / 0.9993 GB, free: 188 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-05/1.416, allocations: 38 kB / 0.9993 GB, free: 188 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/1.416, allocations: 34.17 kB / 0.9993 GB, free: 187.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/1.416, allocations: 173.7 kB / 0.9995 GB, free: 187.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/1.417, allocations: 0.7429 MB / 1 GB, free: 187.1 MB / 0.6667 GB Notification: Performance of SimCode: time 2.1e-07/1.417, allocations: 0 / 1 GB, free: 187.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.00704/1.424, allocations: 3.311 MB / 1.003 GB, free: 186.7 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)