Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001993/0.001993, allocations: 188.2 kB / 8.132 MB, free: 2.078 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.136/1.136, allocations: 194.2 MB / 202.8 MB, free: 8.75 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.001773/0.001773, allocations: 121.9 kB / 247.8 MB, free: 6.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.992e-06, allocations: 0 / 297.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07159/0.07161, allocations: 44.5 MB / 342.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.5108, allocations: 267.7 MB / 0.5954 GB, free: 57.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001731/0.511, allocations: 65.91 kB / 0.5955 GB, free: 57.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02039/0.5314, allocations: 9.055 MB / 0.6043 GB, free: 50.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.5314, allocations: 4 kB / 0.6043 GB, free: 50.25 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006812/0.5321, allocations: 454.7 kB / 0.6048 GB, free: 49.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.5321, allocations: 8.031 kB / 0.6048 GB, free: 49.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.5324, allocations: 19.81 kB / 0.6048 GB, free: 49.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.5325, allocations: 210.4 kB / 0.605 GB, free: 49.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.5326, allocations: 4 kB / 0.605 GB, free: 49.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.5326, allocations: 19.81 kB / 0.605 GB, free: 49.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002157/0.5328, allocations: 108.3 kB / 0.6051 GB, free: 49.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.5331, allocations: 180.8 kB / 0.6053 GB, free: 49.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5331, allocations: 5.906 kB / 0.6053 GB, free: 49.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.5331, allocations: 4 kB / 0.6053 GB, free: 49.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5331, allocations: 8 kB / 0.6053 GB, free: 49.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.5342, allocations: 0.9006 MB / 0.6062 GB, free: 48.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.5344, allocations: 127.6 kB / 0.6063 GB, free: 48.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.5345, allocations: 38.98 kB / 0.6063 GB, free: 48.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/0.5349, allocations: 0.5084 MB / 0.6068 GB, free: 47.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.535, allocations: 34.5 kB / 0.6069 GB, free: 47.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.535, allocations: 0 / 0.6069 GB, free: 47.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.00183/0.5368, allocations: 0.5903 MB / 0.6074 GB, free: 47.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.391e-05/0.5368, allocations: 51.41 kB / 0.6075 GB, free: 47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.5369, allocations: 143.6 kB / 0.6076 GB, free: 46.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5369, allocations: 25.7 kB / 0.6077 GB, free: 46.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.537, allocations: 142.9 kB / 0.6078 GB, free: 46.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.537, allocations: 74 kB / 0.6079 GB, free: 46.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.5371, allocations: 0 / 0.6079 GB, free: 46.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.602e-05/0.5371, allocations: 322 kB / 0.6082 GB, free: 46.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-05/0.5372, allocations: 64.55 kB / 0.6082 GB, free: 46.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.5373, allocations: 160.2 kB / 0.6084 GB, free: 46.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5375, allocations: 79.08 kB / 0.6085 GB, free: 46.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5375, allocations: 4 kB / 0.6085 GB, free: 46.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004184/0.5379, allocations: 252 kB / 0.6087 GB, free: 45.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.538, allocations: 4 kB / 0.6087 GB, free: 45.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.538, allocations: 4 kB / 0.6087 GB, free: 45.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.538, allocations: 8 kB / 0.6087 GB, free: 45.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.5384, allocations: 82.89 kB / 0.6088 GB, free: 45.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.5384, allocations: 7.938 kB / 0.6088 GB, free: 45.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.5387, allocations: 20.27 kB / 0.6088 GB, free: 45.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.5388, allocations: 20.56 kB / 0.6088 GB, free: 45.69 MB / 394.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 6.526e-05/0.5388, allocations: 116.6 kB / 0.609 GB, free: 45.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.5389, allocations: 15.81 kB / 0.609 GB, free: 45.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.5393, allocations: 200.2 kB / 0.6092 GB, free: 45.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5393, allocations: 4 kB / 0.6092 GB, free: 45.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5394, allocations: 0 / 0.6092 GB, free: 45.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5394, allocations: 4 kB / 0.6092 GB, free: 45.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009498/0.5403, allocations: 0.5112 MB / 0.6097 GB, free: 44.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5403, allocations: 4 kB / 0.6097 GB, free: 44.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.5407, allocations: 55.53 kB / 0.6097 GB, free: 44.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5407, allocations: 4 kB / 0.6097 GB, free: 44.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.5407, allocations: 3.984 kB / 0.6097 GB, free: 44.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5408, allocations: 4 kB / 0.6097 GB, free: 44.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5408, allocations: 3.938 kB / 0.6097 GB, free: 44.82 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004083/0.5412, allocations: 387 kB / 0.6101 GB, free: 44.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.5412, allocations: 92.86 kB / 0.6102 GB, free: 44.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.5413, allocations: 3.062 kB / 0.6102 GB, free: 44.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.5416, allocations: 16.05 kB / 0.6102 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.5416, allocations: 15.17 kB / 0.6102 GB, free: 44.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.5416, allocations: 11.89 kB / 0.6102 GB, free: 44.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.581e-05/0.5417, allocations: 107.6 kB / 0.6103 GB, free: 44.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.5421, allocations: 59.19 kB / 0.6104 GB, free: 44.15 MB / 394.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.0001612/0.5422, allocations: 147.1 kB / 0.6105 GB, free: 43.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.5425, allocations: 174 kB / 0.6107 GB, free: 43.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5425, allocations: 4 kB / 0.6107 GB, free: 43.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.5426, allocations: 65.61 kB / 0.6108 GB, free: 43.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.5429, allocations: 24.7 kB / 0.6108 GB, free: 43.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.5436, allocations: 283.1 kB / 0.6111 GB, free: 43.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.5438, allocations: 0.7514 MB / 0.6118 GB, free: 42.74 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5438, allocations: 0 / 0.6118 GB, free: 42.74 MB / 394.7 MB Notification: Performance of Templates: time 0.00524/0.5491, allocations: 3.012 MB / 0.6147 GB, free: 39.77 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)