Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [: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 3.2.2+maint.om/package.mo): time 0.00109/0.00109, allocations: 193.2 kB / 8.137 MB, free: 2.086 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.099/1.099, allocations: 194.2 MB / 202.8 MB, free: 8.754 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001799/0.001799, allocations: 113.5 kB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.045e-06, allocations: 4 kB / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07129/0.07132, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.683/0.7543, allocations: 433.9 MB / 0.7578 GB, free: 55.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.7546, allocations: 83.94 kB / 0.7579 GB, free: 55.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.4027/1.157, allocations: 154.2 MB / 0.9085 GB, free: 56.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/1.157, allocations: 4 kB / 0.9085 GB, free: 56.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007281/1.158, allocations: 0.6045 MB / 0.9091 GB, free: 56.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/1.158, allocations: 12.02 kB / 0.9091 GB, free: 56.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/1.158, allocations: 39.62 kB / 0.9091 GB, free: 56.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/1.159, allocations: 282.5 kB / 0.9094 GB, free: 55.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/1.159, allocations: 8 kB / 0.9094 GB, free: 55.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/1.159, allocations: 12 kB / 0.9094 GB, free: 55.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002948/1.159, allocations: 176.9 kB / 0.9096 GB, free: 55.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/1.16, allocations: 281.8 kB / 0.9099 GB, free: 55.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.16, allocations: 0 / 0.9099 GB, free: 55.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/1.16, allocations: 4 kB / 0.9099 GB, free: 55.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/1.16, allocations: 7.984 kB / 0.9099 GB, free: 55.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/1.161, allocations: 1.565 MB / 0.9114 GB, free: 53.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/1.161, allocations: 117.6 kB / 0.9115 GB, free: 53.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/1.161, allocations: 79.27 kB / 0.9116 GB, free: 53.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/1.161, allocations: 7.984 kB / 0.9116 GB, free: 53.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/1.161, allocations: 34.56 kB / 0.9116 GB, free: 53.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/1.161, allocations: 0 / 0.9116 GB, free: 53.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.004185/1.166, allocations: 0.9726 MB / 0.9126 GB, free: 52.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.39e-05/1.166, allocations: 59.31 kB / 0.9126 GB, free: 52.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/1.166, allocations: 195.9 kB / 0.9128 GB, free: 52.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.166, allocations: 25.7 kB / 0.9128 GB, free: 52.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/1.166, allocations: 179.7 kB / 0.913 GB, free: 51.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/1.166, allocations: 86.73 kB / 0.9131 GB, free: 51.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/1.166, allocations: 0 / 0.9131 GB, free: 51.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.581e-05/1.166, allocations: 334.8 kB / 0.9134 GB, free: 51.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/1.166, allocations: 79.92 kB / 0.9135 GB, free: 51.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/1.166, allocations: 175.9 kB / 0.9137 GB, free: 51.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/1.166, allocations: 112.5 kB / 0.9138 GB, free: 51.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.166, allocations: 0 / 0.9138 GB, free: 51.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005576/1.167, allocations: 355.4 kB / 0.9141 GB, free: 50.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.167, allocations: 5.562 kB / 0.9141 GB, free: 50.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.167, allocations: 4 kB / 0.9141 GB, free: 50.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/1.167, allocations: 61.69 kB / 0.9142 GB, free: 50.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/1.168, allocations: 87.83 kB / 0.9143 GB, free: 50.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009506/1.169, allocations: 1.812 MB / 0.916 GB, free: 48.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/1.169, allocations: 15.89 kB / 0.916 GB, free: 48.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/1.169, allocations: 32 kB / 0.9161 GB, free: 48.63 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/1.169, allocations: 116.9 kB / 0.9162 GB, free: 48.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/1.169, allocations: 27.81 kB / 0.9162 GB, free: 48.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/1.17, allocations: 390.9 kB / 0.9166 GB, free: 48.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.17, allocations: 4 kB / 0.9166 GB, free: 48.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.17, allocations: 3.938 kB / 0.9166 GB, free: 48.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003675/1.17, allocations: 0.5435 MB / 0.9171 GB, free: 47.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007874/1.171, allocations: 0.6508 MB / 0.9178 GB, free: 46.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.171, allocations: 0 / 0.9178 GB, free: 46.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/1.172, allocations: 71.89 kB / 0.9178 GB, free: 46.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.718e-05/1.172, allocations: 24.91 kB / 0.9179 GB, free: 46.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/1.172, allocations: 11.98 kB / 0.9179 GB, free: 46.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005413/1.172, allocations: 1.225 MB / 0.9191 GB, free: 45.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.172, allocations: 0 / 0.9191 GB, free: 45.31 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005041/1.173, allocations: 471.7 kB / 0.9195 GB, free: 44.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/1.173, allocations: 108.8 kB / 0.9196 GB, free: 44.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/1.173, allocations: 0 / 0.9196 GB, free: 44.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/1.173, allocations: 11.91 kB / 0.9196 GB, free: 44.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/1.173, allocations: 19.97 kB / 0.9196 GB, free: 44.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/1.173, allocations: 31.98 kB / 0.9197 GB, free: 44.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001038/1.173, allocations: 160.6 kB / 0.9198 GB, free: 44.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005857/1.174, allocations: 167.9 kB / 0.92 GB, free: 44.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009255/1.175, allocations: 0.9139 MB / 0.9209 GB, free: 43.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004821/1.175, allocations: 331.7 kB / 0.9212 GB, free: 43.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.175, allocations: 8 kB / 0.9212 GB, free: 43.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/1.176, allocations: 210.6 kB / 0.9214 GB, free: 42.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/1.176, allocations: 104.3 kB / 0.9215 GB, free: 42.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008269/1.177, allocations: 484.4 kB / 0.922 GB, free: 42.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/1.178, allocations: 0.8775 MB / 0.9228 GB, free: 41.42 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/1.178, allocations: 0 / 0.9228 GB, free: 41.42 MB / 394.7 MB Notification: Performance of Templates: time 0.01615/1.194, allocations: 12.38 MB / 0.9349 GB, free: 29.08 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)