Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") [: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.745/0.745, allocations: 110.8 MB / 118 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001739/0.001739, allocations: 155.1 kB / 143.7 MB, free: 9.938 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.021e-05, allocations: 0 / 173.5 MB, free: 12.15 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06025/0.06029, allocations: 25.17 MB / 198.6 MB, free: 2.926 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.5372, allocations: 208 MB / 406.6 MB, free: 66.51 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5375, allocations: 63.62 kB / 406.7 MB, free: 66.48 MB / 234.7 MB Notification: Performance of FrontEnd: time 0.02152/0.559, allocations: 9.601 MB / 416.3 MB, free: 58.83 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.5591, allocations: 4.938 kB / 416.3 MB, free: 58.83 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007803/0.5599, allocations: 458.2 kB / 416.7 MB, free: 58.34 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5599, allocations: 11.97 kB / 416.8 MB, free: 58.33 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.56, allocations: 15.81 kB / 416.8 MB, free: 58.32 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.5603, allocations: 209.9 kB / 417 MB, free: 58.08 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.5603, allocations: 8 kB / 417 MB, free: 58.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.5603, allocations: 11.81 kB / 417 MB, free: 58.06 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002176/0.5605, allocations: 108.3 kB / 417.1 MB, free: 57.99 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.5608, allocations: 185.8 kB / 417.3 MB, free: 57.81 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5608, allocations: 7.625 kB / 417.3 MB, free: 57.81 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.5608, allocations: 0.5625 kB / 417.3 MB, free: 57.81 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5609, allocations: 4 kB / 417.3 MB, free: 57.8 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.5621, allocations: 1.121 MB / 418.4 MB, free: 56.65 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.5624, allocations: 115.8 kB / 418.5 MB, free: 56.56 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.5624, allocations: 35.92 kB / 418.6 MB, free: 56.53 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005161/0.563, allocations: 0.6785 MB / 419.2 MB, free: 55.78 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.563, allocations: 30.56 kB / 419.3 MB, free: 55.74 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.563, allocations: 0 / 419.3 MB, free: 55.74 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.00205/0.5651, allocations: 0.5926 MB / 419.9 MB, free: 55.18 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.5651, allocations: 67.3 kB / 419.9 MB, free: 55.1 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.5652, allocations: 142.2 kB / 420.1 MB, free: 54.96 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.5653, allocations: 25.7 kB / 420.1 MB, free: 54.93 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.5653, allocations: 140.2 kB / 420.2 MB, free: 54.79 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.5654, allocations: 62.91 kB / 420.3 MB, free: 54.74 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.5655, allocations: 0 / 420.3 MB, free: 54.74 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.5655, allocations: 329.3 kB / 420.6 MB, free: 54.41 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.5656, allocations: 62.17 kB / 420.7 MB, free: 54.38 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.5658, allocations: 170.1 kB / 420.8 MB, free: 54.2 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.566, allocations: 82.7 kB / 420.9 MB, free: 54.14 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.566, allocations: 4 kB / 420.9 MB, free: 54.13 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000446/0.5665, allocations: 255.4 kB / 421.2 MB, free: 53.92 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5665, allocations: 4 kB / 421.2 MB, free: 53.92 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5665, allocations: 4.469 kB / 421.2 MB, free: 53.91 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.5665, allocations: 8 kB / 421.2 MB, free: 53.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.5669, allocations: 83.81 kB / 421.3 MB, free: 53.82 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5669, allocations: 4 kB / 421.3 MB, free: 53.82 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.5672, allocations: 17.61 kB / 421.3 MB, free: 53.81 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.5673, allocations: 13.56 kB / 421.3 MB, free: 53.8 MB / 234.7 MB 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 (37): * Single equations (assignments): 37 * 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 8.577e-05/0.5673, allocations: 112.4 kB / 421.4 MB, free: 53.68 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.5674, allocations: 19.81 kB / 421.4 MB, free: 53.66 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.5679, allocations: 202.5 kB / 421.6 MB, free: 53.5 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5679, allocations: 2.062 kB / 421.6 MB, free: 53.5 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.568, allocations: 7.938 kB / 421.6 MB, free: 53.49 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.568, allocations: 0 / 421.6 MB, free: 53.49 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.569, allocations: 0.5205 MB / 422.2 MB, free: 52.98 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.569, allocations: 0 / 422.2 MB, free: 52.98 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.5693, allocations: 49.2 kB / 422.2 MB, free: 52.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.5693, allocations: 7.984 kB / 422.2 MB, free: 52.93 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.5693, allocations: 0 / 422.2 MB, free: 52.93 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5693, allocations: 4 kB / 422.2 MB, free: 52.92 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5694, allocations: 4.062 kB / 422.2 MB, free: 52.92 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005176/0.5699, allocations: 397.2 kB / 422.6 MB, free: 52.54 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.5699, allocations: 88.92 kB / 422.7 MB, free: 52.43 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.57, allocations: 7.625 kB / 422.7 MB, free: 52.43 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.5703, allocations: 11.98 kB / 422.7 MB, free: 52.42 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.5703, allocations: 7.984 kB / 422.7 MB, free: 52.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.5703, allocations: 14.61 kB / 422.7 MB, free: 52.4 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.878e-05/0.5704, allocations: 106.6 kB / 422.8 MB, free: 52.3 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003867/0.5708, allocations: 66.25 kB / 422.9 MB, free: 52.24 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.000255/0.5711, allocations: 147 kB / 423.1 MB, free: 52.09 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.5714, allocations: 176.6 kB / 423.2 MB, free: 51.96 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5714, allocations: 0 / 423.2 MB, free: 51.96 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.5715, allocations: 71.17 kB / 423.3 MB, free: 51.91 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.5718, allocations: 41.7 kB / 423.3 MB, free: 51.88 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.5726, allocations: 272.7 kB / 423.6 MB, free: 51.61 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.573, allocations: 0.7469 MB / 424.3 MB, free: 50.84 MB / 234.7 MB Notification: Performance of SimCode: time 2.3e-07/0.573, allocations: 0.8438 kB / 424.3 MB, free: 50.84 MB / 234.7 MB Notification: Performance of Templates: time 0.007098/0.5801, allocations: 3.124 MB / 427.5 MB, free: 47.77 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)