Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.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.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") [: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.002061/0.002061, allocations: 189.8 kB / 8.134 MB, free: 2.215 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.125/1.125, allocations: 194.2 MB / 202.8 MB, free: 8.727 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.001796/0.001796, allocations: 118.6 kB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.047e-06, allocations: 4 kB / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07252/0.07254, allocations: 44.48 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.187, allocations: 0.7496 GB / 1.084 GB, free: 18.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/1.187, allocations: 67.97 kB / 1.084 GB, free: 18.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2488/1.436, allocations: 61.14 MB / 1.143 GB, free: 110.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/1.436, allocations: 0 / 1.143 GB, free: 110.9 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008934/1.437, allocations: 466 kB / 1.144 GB, free: 110.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/1.437, allocations: 9.844 kB / 1.144 GB, free: 110.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/1.444, allocations: 0.8323 MB / 1.145 GB, free: 110 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/1.444, allocations: 283.5 kB / 1.145 GB, free: 109.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.444, allocations: 3.969 kB / 1.145 GB, free: 109.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/1.444, allocations: 16.56 kB / 1.145 GB, free: 109.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001142/1.446, allocations: 0.648 MB / 1.146 GB, free: 109.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/1.446, allocations: 426.1 kB / 1.146 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.446, allocations: 0 / 1.146 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/1.446, allocations: 4 kB / 1.146 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/1.446, allocations: 10.41 kB / 1.146 GB, free: 109.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/1.449, allocations: 1.312 MB / 1.147 GB, free: 108.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/1.45, allocations: 317.2 kB / 1.148 GB, free: 108 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/1.45, allocations: 227.4 kB / 1.148 GB, free: 107.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/1.451, allocations: 248.9 kB / 1.148 GB, free: 107.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/1.451, allocations: 37.62 kB / 1.148 GB, free: 107.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/1.451, allocations: 3.938 kB / 1.148 GB, free: 107.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008876/1.452, allocations: 437 kB / 1.149 GB, free: 107.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/1.452, allocations: 91.84 kB / 1.149 GB, free: 107.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/1.452, allocations: 126.1 kB / 1.149 GB, free: 107.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/1.452, allocations: 25.7 kB / 1.149 GB, free: 107.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/1.452, allocations: 118.5 kB / 1.149 GB, free: 107 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/1.452, allocations: 95.84 kB / 1.149 GB, free: 106.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/1.452, allocations: 0 / 1.149 GB, free: 106.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/1.452, allocations: 329.9 kB / 1.149 GB, free: 106.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.452, allocations: 204.5 kB / 1.149 GB, free: 106.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/1.453, allocations: 322.1 kB / 1.15 GB, free: 106.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/1.453, allocations: 237.5 kB / 1.15 GB, free: 106.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.453, allocations: 3.125 kB / 1.15 GB, free: 106.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009322/1.454, allocations: 0.5335 MB / 1.151 GB, free: 105.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.454, allocations: 7.094 kB / 1.151 GB, free: 105.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.454, allocations: 3.062 kB / 1.151 GB, free: 105.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.454, allocations: 6.656 kB / 1.151 GB, free: 105.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/1.455, allocations: 86.16 kB / 1.151 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.455, allocations: 3.312 kB / 1.151 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/1.455, allocations: 35.52 kB / 1.151 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/1.455, allocations: 23.52 kB / 1.151 GB, free: 105.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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 0.0001324/1.455, allocations: 119.8 kB / 1.151 GB, free: 105.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.456, allocations: 17.19 kB / 1.151 GB, free: 105.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.457, allocations: 0.5415 MB / 1.151 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.457, allocations: 3.031 kB / 1.151 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.457, allocations: 3.156 kB / 1.151 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/1.457, allocations: 0 / 1.151 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/1.458, allocations: 0.5018 MB / 1.152 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.458, allocations: 11.03 kB / 1.152 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/1.458, allocations: 67.19 kB / 1.152 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/1.458, allocations: 3.094 kB / 1.152 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/1.458, allocations: 7.156 kB / 1.152 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.458, allocations: 7.016 kB / 1.152 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.458, allocations: 3.906 kB / 1.152 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009642/1.459, allocations: 0.7259 MB / 1.153 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/1.459, allocations: 99.08 kB / 1.153 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/1.459, allocations: 7.078 kB / 1.153 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005863/1.46, allocations: 13.3 kB / 1.153 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/1.46, allocations: 25.98 kB / 1.153 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/1.46, allocations: 20.45 kB / 1.153 GB, free: 104.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.499e-05/1.46, allocations: 96.56 kB / 1.153 GB, free: 104.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009234/1.461, allocations: 200.6 kB / 1.153 GB, free: 104.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001637/1.463, allocations: 0.8784 MB / 1.154 GB, free: 103.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006872/1.463, allocations: 475.9 kB / 1.154 GB, free: 103.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.463, allocations: 0 / 1.154 GB, free: 103.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/1.464, allocations: 237.7 kB / 1.155 GB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/1.464, allocations: 89.73 kB / 1.155 GB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/1.466, allocations: 0.7677 MB / 1.155 GB, free: 102.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/1.466, allocations: 0.7868 MB / 1.156 GB, free: 101.9 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/1.466, allocations: 0 / 1.156 GB, free: 101.9 MB / 394.7 MB Notification: Performance of Templates: time 0.01721/1.484, allocations: 13.15 MB / 1.169 GB, free: 88.82 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)