Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") [: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.001877/0.001878, allocations: 179.6 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5969/0.5969, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.106/1.106, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008088/0.0008088, allocations: 105 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.831e-06, allocations: 2.719 kB / 0.5528 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7483/0.8551, allocations: 422.2 MB / 1.045 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.8553, allocations: 73.89 kB / 1.046 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.4365/1.292, allocations: 188 MB / 1.229 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.221e-05/1.292, allocations: 4 kB / 1.229 GB, free: 21.34 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004517/1.296, allocations: 1.215 MB / 1.23 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.296, allocations: 8.031 kB / 1.23 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.297, allocations: 91.7 kB / 1.23 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/1.298, allocations: 230.7 kB / 1.231 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/1.298, allocations: 4 kB / 1.231 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/1.298, allocations: 8 kB / 1.231 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000403/1.298, allocations: 411.4 kB / 1.231 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/1.298, allocations: 204.7 kB / 1.231 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.298, allocations: 4 kB / 1.231 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/1.298, allocations: 3.906 kB / 1.231 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.298, allocations: 4 kB / 1.231 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007211/1.299, allocations: 0.8593 MB / 1.232 GB, free: 18.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/1.299, allocations: 142.3 kB / 1.232 GB, free: 17.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/1.299, allocations: 60.86 kB / 1.232 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2687/1.568, allocations: 48.33 MB / 1.28 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/1.568, allocations: 37.12 kB / 1.28 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/1.568, allocations: 0 / 1.28 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0008872/1.569, allocations: 229.6 kB / 1.28 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/1.569, allocations: 53.97 kB / 1.28 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/1.569, allocations: 113.6 kB / 1.28 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/1.569, allocations: 28.52 kB / 1.28 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/1.569, allocations: 114 kB / 1.28 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/1.569, allocations: 82.89 kB / 1.28 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/1.569, allocations: 0 / 1.28 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/1.569, allocations: 328.1 kB / 1.28 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/1.569, allocations: 43.45 kB / 1.281 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.701e-05/1.569, allocations: 89.38 kB / 1.281 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/1.57, allocations: 76.83 kB / 1.281 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.57, allocations: 0 / 1.281 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007223/1.571, allocations: 257.7 kB / 1.281 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.571, allocations: 3.688 kB / 1.281 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/1.571, allocations: 3.906 kB / 1.281 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.571, allocations: 7.719 kB / 1.281 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/1.571, allocations: 56.17 kB / 1.281 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/1.571, allocations: 3.844 kB / 1.281 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/1.571, allocations: 13.8 kB / 1.281 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/1.571, allocations: 9.219 kB / 1.281 GB, free: 207.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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.64e-05/1.571, allocations: 115.5 kB / 1.281 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/1.571, allocations: 69.86 kB / 1.281 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/1.572, allocations: 0.8002 MB / 1.282 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/1.572, allocations: 17.72 kB / 1.282 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.572, allocations: 3.844 kB / 1.282 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.572, allocations: 0 / 1.282 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/1.573, allocations: 1.158 MB / 1.283 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.573, allocations: 0 / 1.283 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/1.573, allocations: 42.98 kB / 1.283 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.573, allocations: 0 / 1.283 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/1.573, allocations: 10.5 kB / 1.283 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.573, allocations: 0 / 1.283 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.573, allocations: 3.875 kB / 1.283 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001082/1.575, allocations: 0.7427 MB / 1.284 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.232e-05/1.575, allocations: 138.9 kB / 1.284 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/1.575, allocations: 0 / 1.284 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/1.575, allocations: 21.91 kB / 1.284 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/1.575, allocations: 18.73 kB / 1.284 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/1.575, allocations: 13.16 kB / 1.284 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.013e-05/1.575, allocations: 90.09 kB / 1.284 GB, free: 207 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005004/1.58, allocations: 1.68 MB / 1.286 GB, free: 207 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007116/1.587, allocations: 2.695 MB / 1.288 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003343/1.587, allocations: 343.8 kB / 1.289 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.587, allocations: 3.438 kB / 1.289 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/1.588, allocations: 330.5 kB / 1.289 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/1.588, allocations: 36.41 kB / 1.289 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/1.589, allocations: 496.2 kB / 1.29 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/1.589, allocations: 0.8088 MB / 1.29 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/1.589, allocations: 0 / 1.29 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.04471/1.634, allocations: 44.35 MB / 1.334 GB, free: 204.5 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)