Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.2 MB / 224.8 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004591, allocations: 19.98 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 48.7 MB / 331.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.443/2.56, allocations: 0.7462 GB / 1.07 GB, free: 91.72 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/2.56, allocations: 71.59 kB / 1.07 GB, free: 91.69 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.2172/2.778, allocations: 61.71 MB / 1.13 GB, free: 33.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.778, allocations: 0 / 1.13 GB, free: 33.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/2.778, allocations: 4 kB / 1.13 GB, free: 33.64 MB / 442.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.001031/2.779, allocations: 482.5 kB / 1.131 GB, free: 33.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/2.779, allocations: 12.03 kB / 1.131 GB, free: 33.11 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.024e-05/2.779, allocations: 54.48 kB / 1.131 GB, free: 33.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/2.792, allocations: 0.7102 MB / 1.131 GB, free: 32.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000769/2.793, allocations: 278.7 kB / 1.132 GB, free: 32.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/2.793, allocations: 12.33 kB / 1.132 GB, free: 32.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/2.793, allocations: 19.98 kB / 1.132 GB, free: 31.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/2.796, allocations: 0.7034 MB / 1.132 GB, free: 31.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/2.796, allocations: 3.984 kB / 1.132 GB, free: 31.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/2.797, allocations: 4 kB / 1.132 GB, free: 31.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/2.797, allocations: 8 kB / 1.132 GB, free: 31.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/2.8, allocations: 0.7651 MB / 1.133 GB, free: 30.49 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005458/2.806, allocations: 1.233 MB / 1.134 GB, free: 29.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/2.807, allocations: 316.9 kB / 1.135 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009992/2.808, allocations: 250.2 kB / 1.135 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/2.809, allocations: 42.56 kB / 1.135 GB, free: 28.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.827e-06/2.809, allocations: 0 / 1.135 GB, free: 28.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.002959/2.811, allocations: 0.5411 MB / 1.135 GB, free: 28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/2.812, allocations: 81.11 kB / 1.135 GB, free: 27.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/2.812, allocations: 113.3 kB / 1.136 GB, free: 27.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/2.812, allocations: 33.7 kB / 1.136 GB, free: 27.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.359e-05/2.812, allocations: 186.6 kB / 1.136 GB, free: 27.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/2.812, allocations: 102.6 kB / 1.136 GB, free: 27.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/2.812, allocations: 4 kB / 1.136 GB, free: 27.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.407e-05/2.812, allocations: 326.8 kB / 1.136 GB, free: 27.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007904/2.813, allocations: 187.6 kB / 1.136 GB, free: 26.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/2.814, allocations: 284.5 kB / 1.137 GB, free: 26.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/2.814, allocations: 211 kB / 1.137 GB, free: 26.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/2.815, allocations: 0 / 1.137 GB, free: 26.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001665/2.816, allocations: 0.5047 MB / 1.137 GB, free: 25.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/2.816, allocations: 11.92 kB / 1.137 GB, free: 25.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/2.816, allocations: 8.406 kB / 1.137 GB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/2.816, allocations: 12 kB / 1.137 GB, free: 25.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/2.817, allocations: 75.89 kB / 1.137 GB, free: 25.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/2.817, allocations: 8 kB / 1.137 GB, free: 25.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007149/2.818, allocations: 39.75 kB / 1.138 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/2.818, allocations: 16 kB / 1.138 GB, free: 25.73 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0002356/2.818, allocations: 153.6 kB / 1.138 GB, free: 25.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/2.818, allocations: 23.75 kB / 1.138 GB, free: 25.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/2.82, allocations: 486.4 kB / 1.138 GB, free: 25.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/2.82, allocations: 3.984 kB / 1.138 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/2.82, allocations: 4 kB / 1.138 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/2.82, allocations: 0 / 1.138 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/2.821, allocations: 0.4947 MB / 1.139 GB, free: 24.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/2.821, allocations: 7.953 kB / 1.139 GB, free: 24.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009094/2.822, allocations: 59.89 kB / 1.139 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/2.822, allocations: 0 / 1.139 GB, free: 24.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/2.822, allocations: 11.98 kB / 1.139 GB, free: 24.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/2.822, allocations: 4 kB / 1.139 GB, free: 24.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.822, allocations: 0 / 1.139 GB, free: 24.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/2.824, allocations: 0.681 MB / 1.139 GB, free: 23.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/2.825, allocations: 96.86 kB / 1.139 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/2.825, allocations: 4 kB / 1.139 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/2.825, allocations: 23.97 kB / 1.14 GB, free: 23.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/2.826, allocations: 15.98 kB / 1.14 GB, free: 23.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/2.826, allocations: 19.97 kB / 1.14 GB, free: 23.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.484e-05/2.826, allocations: 111.2 kB / 1.14 GB, free: 23.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.826, allocations: 4 kB / 1.14 GB, free: 23.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001127/2.827, allocations: 204 kB / 1.14 GB, free: 23.24 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.003952/2.831, allocations: 1.937 MB / 1.142 GB, free: 21.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/2.832, allocations: 427.6 kB / 1.142 GB, free: 20.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/2.832, allocations: 0 / 1.142 GB, free: 20.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006557/2.833, allocations: 199.8 kB / 1.142 GB, free: 20.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/2.834, allocations: 84.72 kB / 1.142 GB, free: 20.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/2.839, allocations: 4.153 MB / 1.146 GB, free: 16.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/2.839, allocations: 0.7451 MB / 1.147 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/2.84, allocations: 63.41 kB / 1.147 GB, free: 15.47 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/2.84, allocations: 0 / 1.147 GB, free: 15.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.757/5.597, allocations: 10.24 MB / 1.157 GB, free: 5.195 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat