Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.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.006915/0.006915, allocations: 183.4 kB / 7.457 MB, free: 2.504 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.582/1.582, allocations: 170.6 MB / 178.4 MB, free: 15.78 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.001933/0.001933, allocations: 119.8 kB / 217.7 MB, free: 8.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.218/0.218, allocations: 37.98 MB / 294.8 MB, free: 9.656 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.195e-06, allocations: 0 / 349.5 MB, free: 37.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1291, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.163/2.293, allocations: 0.7454 GB / 1.134 GB, free: 146.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/2.293, allocations: 71.22 kB / 1.134 GB, free: 146.3 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.1284/2.421, allocations: 61.01 MB / 1.194 GB, free: 84.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/2.421, allocations: 0 / 1.194 GB, free: 84.73 MB / 426.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.001372/2.423, allocations: 470.5 kB / 1.194 GB, free: 84.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.308e-05/2.423, allocations: 8.031 kB / 1.194 GB, free: 84.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006197/2.429, allocations: 0.8381 MB / 1.195 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/2.43, allocations: 282.7 kB / 1.195 GB, free: 83.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/2.43, allocations: 8 kB / 1.195 GB, free: 83.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/2.43, allocations: 15.91 kB / 1.195 GB, free: 83.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001277/2.431, allocations: 0.6446 MB / 1.196 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/2.432, allocations: 424.5 kB / 1.197 GB, free: 81.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/2.432, allocations: 4 kB / 1.197 GB, free: 81.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/2.432, allocations: 0 / 1.197 GB, free: 81.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/2.432, allocations: 11.98 kB / 1.197 GB, free: 81.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/2.435, allocations: 1.305 MB / 1.198 GB, free: 80.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/2.436, allocations: 320.2 kB / 1.198 GB, free: 80.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/2.436, allocations: 225.7 kB / 1.198 GB, free: 80.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/2.437, allocations: 254.2 kB / 1.199 GB, free: 79.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/2.437, allocations: 34.91 kB / 1.199 GB, free: 79.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/2.437, allocations: 3.938 kB / 1.199 GB, free: 79.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009366/2.438, allocations: 444.9 kB / 1.199 GB, free: 79.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/2.438, allocations: 89.05 kB / 1.199 GB, free: 79.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/2.438, allocations: 118.1 kB / 1.199 GB, free: 79.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/2.438, allocations: 25.7 kB / 1.199 GB, free: 79.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/2.438, allocations: 108.4 kB / 1.199 GB, free: 78.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/2.438, allocations: 110.4 kB / 1.199 GB, free: 78.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/2.438, allocations: 4 kB / 1.199 GB, free: 78.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/2.438, allocations: 322.8 kB / 1.2 GB, free: 78.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/2.439, allocations: 199.7 kB / 1.2 GB, free: 78.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/2.439, allocations: 304.8 kB / 1.2 GB, free: 77.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/2.439, allocations: 231.8 kB / 1.2 GB, free: 77.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/2.439, allocations: 0 / 1.2 GB, free: 77.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009028/2.44, allocations: 0.544 MB / 1.201 GB, free: 77.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/2.44, allocations: 7.938 kB / 1.201 GB, free: 77.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/2.44, allocations: 4 kB / 1.201 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/2.44, allocations: 11.91 kB / 1.201 GB, free: 77.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/2.441, allocations: 80.28 kB / 1.201 GB, free: 77.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/2.441, allocations: 7.938 kB / 1.201 GB, free: 77.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/2.441, allocations: 43.66 kB / 1.201 GB, free: 77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/2.441, allocations: 20 kB / 1.201 GB, free: 76.98 MB / 426.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.0001542/2.442, allocations: 109.6 kB / 1.201 GB, free: 76.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/2.442, allocations: 19.8 kB / 1.201 GB, free: 76.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/2.443, allocations: 0.5448 MB / 1.202 GB, free: 76.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/2.443, allocations: 4 kB / 1.202 GB, free: 76.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/2.443, allocations: 0 / 1.202 GB, free: 76.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/2.443, allocations: 3.984 kB / 1.202 GB, free: 76.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007477/2.444, allocations: 0.5082 MB / 1.202 GB, free: 75.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/2.444, allocations: 0 / 1.202 GB, free: 75.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/2.444, allocations: 63.89 kB / 1.202 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/2.444, allocations: 4 kB / 1.202 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/2.444, allocations: 7.984 kB / 1.202 GB, free: 75.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/2.444, allocations: 3.938 kB / 1.202 GB, free: 75.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/2.444, allocations: 0 / 1.202 GB, free: 75.67 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001058/2.445, allocations: 0.7427 MB / 1.203 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/2.446, allocations: 96.84 kB / 1.203 GB, free: 74.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/2.446, allocations: 4 kB / 1.203 GB, free: 74.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/2.446, allocations: 27.84 kB / 1.203 GB, free: 74.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/2.446, allocations: 15.98 kB / 1.203 GB, free: 74.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/2.446, allocations: 19.97 kB / 1.203 GB, free: 74.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.869e-05/2.446, allocations: 99.33 kB / 1.203 GB, free: 74.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001145/2.448, allocations: 195.9 kB / 1.204 GB, free: 74.43 MB / 426.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.002384/2.45, allocations: 0.8594 MB / 1.204 GB, free: 73.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008043/2.451, allocations: 487.6 kB / 1.205 GB, free: 73.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/2.451, allocations: 0 / 1.205 GB, free: 73.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/2.451, allocations: 239 kB / 1.205 GB, free: 72.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006871/2.452, allocations: 72.73 kB / 1.205 GB, free: 72.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/2.453, allocations: 0.7802 MB / 1.206 GB, free: 71.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/2.454, allocations: 0.779 MB / 1.207 GB, free: 71.18 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/2.454, allocations: 0 / 1.207 GB, free: 71.18 MB / 426.7 MB Notification: Performance of Templates: time 0.02064/2.474, allocations: 13.05 MB / 1.219 GB, free: 58.12 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)