Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.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.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.004067/0.004067, allocations: 178.2 kB / 7.452 MB, free: 2.508 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.533/1.533, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001912/0.001913, allocations: 123.8 kB / 217.7 MB, free: 8.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.764e-06/7.805e-06, allocations: 0 / 261.7 MB, free: 26.63 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09492, allocations: 38.76 MB / 300.5 MB, free: 3.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.723/1.818, allocations: 0.7373 GB / 1.031 GB, free: 7.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/1.818, allocations: 67.97 kB / 1.031 GB, free: 6.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3624/2.181, allocations: 60.83 MB / 1.09 GB, free: 103.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/2.181, allocations: 4 kB / 1.09 GB, free: 103.5 MB / 362.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.0009077/2.182, allocations: 471.5 kB / 1.091 GB, free: 103 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/2.182, allocations: 8.031 kB / 1.091 GB, free: 103 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/2.188, allocations: 0.8342 MB / 1.092 GB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/2.188, allocations: 278.7 kB / 1.092 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/2.188, allocations: 8 kB / 1.092 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/2.189, allocations: 15.91 kB / 1.092 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001311/2.19, allocations: 0.6523 MB / 1.092 GB, free: 101.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/2.191, allocations: 420.5 kB / 1.093 GB, free: 100.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/2.191, allocations: 4 kB / 1.093 GB, free: 100.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/2.191, allocations: 3.938 kB / 1.093 GB, free: 100.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/2.191, allocations: 11.98 kB / 1.093 GB, free: 100.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/2.194, allocations: 1.33 MB / 1.094 GB, free: 99.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/2.194, allocations: 316.2 kB / 1.094 GB, free: 99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/2.195, allocations: 226.1 kB / 1.095 GB, free: 98.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/2.195, allocations: 250.1 kB / 1.095 GB, free: 98.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/2.195, allocations: 46.52 kB / 1.095 GB, free: 98.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 4.208e-06/2.195, allocations: 0 / 1.095 GB, free: 98.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009741/2.196, allocations: 442.3 kB / 1.095 GB, free: 98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/2.197, allocations: 85.11 kB / 1.095 GB, free: 97.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/2.197, allocations: 113 kB / 1.096 GB, free: 97.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-05/2.197, allocations: 25.7 kB / 1.096 GB, free: 97.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/2.197, allocations: 116.4 kB / 1.096 GB, free: 97.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/2.197, allocations: 102.5 kB / 1.096 GB, free: 97.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/2.197, allocations: 0 / 1.096 GB, free: 97.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/2.197, allocations: 330.8 kB / 1.096 GB, free: 97.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/2.197, allocations: 200 kB / 1.096 GB, free: 97.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/2.198, allocations: 308.8 kB / 1.097 GB, free: 96.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/2.198, allocations: 240 kB / 1.097 GB, free: 96.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/2.198, allocations: 4 kB / 1.097 GB, free: 96.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009449/2.199, allocations: 0.5245 MB / 1.097 GB, free: 95.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/2.199, allocations: 4 kB / 1.097 GB, free: 95.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/2.199, allocations: 4.406 kB / 1.097 GB, free: 95.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/2.199, allocations: 15.91 kB / 1.097 GB, free: 95.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/2.2, allocations: 87.81 kB / 1.097 GB, free: 95.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/2.2, allocations: 8 kB / 1.097 GB, free: 95.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/2.2, allocations: 39.66 kB / 1.098 GB, free: 95.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/2.2, allocations: 16 kB / 1.098 GB, free: 95.72 MB / 362.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.0001745/2.201, allocations: 112.9 kB / 1.098 GB, free: 95.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/2.201, allocations: 23.8 kB / 1.098 GB, free: 95.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/2.202, allocations: 0.5368 MB / 1.098 GB, free: 95.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/2.202, allocations: 4 kB / 1.098 GB, free: 95.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/2.202, allocations: 4 kB / 1.098 GB, free: 95.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/2.202, allocations: 3.984 kB / 1.098 GB, free: 95.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007962/2.203, allocations: 0.5046 MB / 1.099 GB, free: 94.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/2.203, allocations: 0 / 1.099 GB, free: 94.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/2.203, allocations: 59.89 kB / 1.099 GB, free: 94.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/2.203, allocations: 4 kB / 1.099 GB, free: 94.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/2.204, allocations: 11.98 kB / 1.099 GB, free: 94.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/2.204, allocations: 0 / 1.099 GB, free: 94.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/2.204, allocations: 4 kB / 1.099 GB, free: 94.4 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001061/2.205, allocations: 0.738 MB / 1.099 GB, free: 93.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/2.205, allocations: 92.86 kB / 1.1 GB, free: 93.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/2.205, allocations: 8 kB / 1.1 GB, free: 93.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/2.205, allocations: 27.91 kB / 1.1 GB, free: 93.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/2.205, allocations: 11.98 kB / 1.1 GB, free: 93.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/2.206, allocations: 27.95 kB / 1.1 GB, free: 93.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.911e-05/2.206, allocations: 95.72 kB / 1.1 GB, free: 93.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001098/2.207, allocations: 199.9 kB / 1.1 GB, free: 93.17 MB / 362.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.002348/2.209, allocations: 0.867 MB / 1.101 GB, free: 92.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007221/2.21, allocations: 480.3 kB / 1.101 GB, free: 91.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.21, allocations: 4.125 kB / 1.101 GB, free: 91.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/2.21, allocations: 231.9 kB / 1.101 GB, free: 91.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/2.211, allocations: 83.84 kB / 1.102 GB, free: 91.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/2.212, allocations: 0.7685 MB / 1.102 GB, free: 90.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/2.213, allocations: 0.779 MB / 1.103 GB, free: 89.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.084e-06/2.213, allocations: 0 / 1.103 GB, free: 89.91 MB / 362.7 MB Notification: Performance of Templates: time 0.02176/2.235, allocations: 13.14 MB / 1.116 GB, free: 76.74 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)