Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.IdealGasH2O") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.738/0.738, allocations: 110.8 MB / 118 MB, free: 14.54 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001805/0.001805, allocations: 152 kB / 143.7 MB, free: 4.867 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.921e-06, allocations: 0 / 173.4 MB, free: 23.03 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05044/0.05046, allocations: 25.16 MB / 198.6 MB, free: 13.94 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5511/0.6016, allocations: 290 MB / 488.6 MB, free: 23.65 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.6019, allocations: 59.16 kB / 488.7 MB, free: 23.62 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.05319/0.6551, allocations: 25.41 MB / 0.502 GB, free: 132 kB / 234.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.6551, allocations: 0 / 0.502 GB, free: 132 kB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.1034/0.7585, allocations: 438.5 kB / 0.5025 GB, free: 95.16 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.7586, allocations: 7.844 kB / 0.5025 GB, free: 95.16 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.7586, allocations: 12.62 kB / 0.5025 GB, free: 95.16 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.7587, allocations: 165 kB / 0.5026 GB, free: 94.96 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.7587, allocations: 6.031 kB / 0.5026 GB, free: 94.96 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.7588, allocations: 7.781 kB / 0.5026 GB, free: 94.96 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002208/0.759, allocations: 129.9 kB / 0.5028 GB, free: 94.96 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.7591, allocations: 94.23 kB / 0.5029 GB, free: 94.93 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.7592, allocations: 5.438 kB / 0.5029 GB, free: 94.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7592, allocations: 2.25 kB / 0.5029 GB, free: 94.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7592, allocations: 0 / 0.5029 GB, free: 94.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.7598, allocations: 341.4 kB / 0.5032 GB, free: 94.69 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.7604, allocations: 122 kB / 0.5033 GB, free: 94.67 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.7605, allocations: 38.77 kB / 0.5033 GB, free: 94.66 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009179/0.7614, allocations: 1.018 MB / 0.5043 GB, free: 93.64 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.7615, allocations: 40.28 kB / 0.5044 GB, free: 93.59 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.7615, allocations: 0 / 0.5044 GB, free: 93.59 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.004564/0.766, allocations: 1.23 MB / 0.5056 GB, free: 93.55 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.7661, allocations: 54.73 kB / 0.5056 GB, free: 93.49 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.7662, allocations: 103.6 kB / 0.5057 GB, free: 93.39 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.7662, allocations: 28.05 kB / 0.5058 GB, free: 93.36 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.7662, allocations: 86.02 kB / 0.5058 GB, free: 93.28 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.7663, allocations: 65.31 kB / 0.5059 GB, free: 93.25 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.7663, allocations: 0 / 0.5059 GB, free: 93.25 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.7663, allocations: 318.7 kB / 0.5062 GB, free: 92.93 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.7664, allocations: 34.47 kB / 0.5062 GB, free: 92.93 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.7665, allocations: 77 kB / 0.5063 GB, free: 92.89 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.7683, allocations: 0.5526 MB / 0.5069 GB, free: 92.89 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7683, allocations: 0 / 0.5069 GB, free: 92.89 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001994/0.7703, allocations: 0.6545 MB / 0.5075 GB, free: 92.84 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7703, allocations: 3.25 kB / 0.5075 GB, free: 92.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.7704, allocations: 5.438 kB / 0.5075 GB, free: 92.84 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.7704, allocations: 3.781 kB / 0.5075 GB, free: 92.84 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.7707, allocations: 45.44 kB / 0.5075 GB, free: 92.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7707, allocations: 3.531 kB / 0.5075 GB, free: 92.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.7709, allocations: 10.14 kB / 0.5076 GB, free: 92.84 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.7709, allocations: 13.91 kB / 0.5076 GB, free: 92.84 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.9e-05/0.771, allocations: 108.2 kB / 0.5077 GB, free: 92.73 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.771, allocations: 7.25 kB / 0.5077 GB, free: 92.73 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.7732, allocations: 0.6927 MB / 0.5084 GB, free: 92.68 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.7732, allocations: 5.688 kB / 0.5084 GB, free: 92.68 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7732, allocations: 0 / 0.5084 GB, free: 92.68 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7732, allocations: 0 / 0.5084 GB, free: 92.68 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.7756, allocations: 0.942 MB / 0.5093 GB, free: 92.4 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.7756, allocations: 3.188 kB / 0.5093 GB, free: 92.4 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.7759, allocations: 39.64 kB / 0.5093 GB, free: 92.4 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7759, allocations: 3.906 kB / 0.5093 GB, free: 92.39 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7759, allocations: 7.312 kB / 0.5093 GB, free: 92.39 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7759, allocations: 3.469 kB / 0.5093 GB, free: 92.39 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7759, allocations: 0 / 0.5093 GB, free: 92.39 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001961/0.7779, allocations: 0.7568 MB / 0.5101 GB, free: 92.21 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.7779, allocations: 84.95 kB / 0.5102 GB, free: 92.11 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.778, allocations: 0 / 0.5102 GB, free: 92.11 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.7782, allocations: 12.11 kB / 0.5102 GB, free: 92.11 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.7782, allocations: 12.44 kB / 0.5102 GB, free: 92.11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.7782, allocations: 9.875 kB / 0.5102 GB, free: 92.11 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.384e-05/0.7783, allocations: 82.75 kB / 0.5103 GB, free: 92.04 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005489/0.7788, allocations: 114.6 kB / 0.5104 GB, free: 92.04 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001043/0.7799, allocations: 0.6866 MB / 0.5111 GB, free: 91.93 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.7801, allocations: 109.9 kB / 0.5112 GB, free: 91.93 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7802, allocations: 0 / 0.5112 GB, free: 91.93 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.819e-05/0.7802, allocations: 51.11 kB / 0.5112 GB, free: 91.93 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.7806, allocations: 35.11 kB / 0.5112 GB, free: 91.93 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.7811, allocations: 135.8 kB / 0.5114 GB, free: 91.84 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.7814, allocations: 0.7262 MB / 0.5121 GB, free: 91.14 MB / 234.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7814, allocations: 0 / 0.5121 GB, free: 91.14 MB / 234.7 MB Notification: Performance of Templates: time 0.01095/0.7923, allocations: 6.635 MB / 0.5186 GB, free: 90.64 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.1_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1)