Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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/Complex 3.2.1+maint.om/package.mo): time 0.002973/0.002973, allocations: 177.8 kB / 7.446 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.174/1.174, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001686/0.001686, allocations: 104.6 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.685e-06/7.705e-06, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06826/0.06828, allocations: 38.76 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5692/0.6375, allocations: 262.3 MB / 0.5497 GB, free: 33.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.6378, allocations: 67.34 kB / 0.5497 GB, free: 32.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02072/0.6586, allocations: 9.052 MB / 0.5586 GB, free: 25.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.6586, allocations: 0 / 0.5586 GB, free: 25.71 MB / 346.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.0008201/0.6594, allocations: 452.8 kB / 0.559 GB, free: 25.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6595, allocations: 12.03 kB / 0.559 GB, free: 25.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.6597, allocations: 23.8 kB / 0.559 GB, free: 25.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.6599, allocations: 208.6 kB / 0.5592 GB, free: 24.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.6599, allocations: 15.94 kB / 0.5592 GB, free: 24.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.66, allocations: 8 kB / 0.5592 GB, free: 24.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002259/0.6602, allocations: 111.3 kB / 0.5594 GB, free: 24.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.6604, allocations: 174.1 kB / 0.5595 GB, free: 24.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6605, allocations: 7.938 kB / 0.5595 GB, free: 24.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.6605, allocations: 0 / 0.5595 GB, free: 24.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6605, allocations: 8 kB / 0.5595 GB, free: 24.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.6616, allocations: 0.9084 MB / 0.5604 GB, free: 23.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.6618, allocations: 120.9 kB / 0.5605 GB, free: 23.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.6619, allocations: 39.05 kB / 0.5606 GB, free: 23.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/0.6624, allocations: 0.5118 MB / 0.5611 GB, free: 23.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.6624, allocations: 30.56 kB / 0.5611 GB, free: 23.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.6624, allocations: 0 / 0.5611 GB, free: 23.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001799/0.6642, allocations: 0.592 MB / 0.5617 GB, free: 22.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.6642, allocations: 58.64 kB / 0.5617 GB, free: 22.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.6643, allocations: 139 kB / 0.5619 GB, free: 22.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.6644, allocations: 25.7 kB / 0.5619 GB, free: 22.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.6644, allocations: 142.4 kB / 0.562 GB, free: 22.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.6645, allocations: 64.3 kB / 0.5621 GB, free: 22.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.6645, allocations: 4 kB / 0.5621 GB, free: 22.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.6645, allocations: 329.3 kB / 0.5624 GB, free: 21.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.6646, allocations: 62.19 kB / 0.5625 GB, free: 21.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.6648, allocations: 166.6 kB / 0.5626 GB, free: 21.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.6649, allocations: 79.91 kB / 0.5627 GB, free: 21.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6649, allocations: 0 / 0.5627 GB, free: 21.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003787/0.6653, allocations: 248.3 kB / 0.5629 GB, free: 21.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6654, allocations: 4 kB / 0.5629 GB, free: 21.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6654, allocations: 4 kB / 0.5629 GB, free: 21.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6654, allocations: 8 kB / 0.563 GB, free: 21.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.6658, allocations: 82.44 kB / 0.563 GB, free: 21.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6658, allocations: 11.92 kB / 0.563 GB, free: 21.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.666, allocations: 28.27 kB / 0.5631 GB, free: 21.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.6661, allocations: 11.5 kB / 0.5631 GB, free: 21.13 MB / 346.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 7.246e-05/0.6661, allocations: 108.9 kB / 0.5632 GB, free: 21.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.6662, allocations: 15.81 kB / 0.5632 GB, free: 21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.6666, allocations: 204.8 kB / 0.5634 GB, free: 20.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.6667, allocations: 7.938 kB / 0.5634 GB, free: 20.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6667, allocations: 0 / 0.5634 GB, free: 20.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6667, allocations: 4 kB / 0.5634 GB, free: 20.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.6676, allocations: 0.5149 MB / 0.5639 GB, free: 20.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6676, allocations: 7.984 kB / 0.5639 GB, free: 20.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.6679, allocations: 56.02 kB / 0.564 GB, free: 20.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.668, allocations: 4 kB / 0.564 GB, free: 20.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.668, allocations: 4 kB / 0.564 GB, free: 20.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.668, allocations: 0 / 0.564 GB, free: 20.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.668, allocations: 0 / 0.564 GB, free: 20.25 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004116/0.6684, allocations: 391.2 kB / 0.5644 GB, free: 19.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.6685, allocations: 92.91 kB / 0.5644 GB, free: 19.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.6685, allocations: 4 kB / 0.5644 GB, free: 19.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.6688, allocations: 12.05 kB / 0.5645 GB, free: 19.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.6688, allocations: 19.42 kB / 0.5645 GB, free: 19.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.6688, allocations: 4 kB / 0.5645 GB, free: 19.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.928e-05/0.6689, allocations: 111 kB / 0.5646 GB, free: 19.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003612/0.6693, allocations: 52 kB / 0.5646 GB, free: 19.58 MB / 346.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.0002058/0.6695, allocations: 151.3 kB / 0.5648 GB, free: 19.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.6697, allocations: 172 kB / 0.5649 GB, free: 19.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6698, allocations: 0 / 0.5649 GB, free: 19.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.6698, allocations: 66.55 kB / 0.565 GB, free: 19.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.6702, allocations: 31.31 kB / 0.565 GB, free: 19.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.6709, allocations: 282.6 kB / 0.5653 GB, free: 18.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.6711, allocations: 0.7622 MB / 0.5661 GB, free: 18.16 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6712, allocations: 0 / 0.5661 GB, free: 18.16 MB / 346.7 MB Notification: Performance of Templates: time 0.005639/0.6768, allocations: 3.007 MB / 0.569 GB, free: 15.16 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)