Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.FlueGas.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.0006417, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1033, allocations: 44.51 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.415/2.518, allocations: 0.7504 GB / 1.052 GB, free: 88.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/2.518, allocations: 79.08 kB / 1.052 GB, free: 88.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2083/2.727, allocations: 61.81 MB / 1.112 GB, free: 33.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/2.727, allocations: 0 / 1.112 GB, free: 33.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/2.727, allocations: 8 kB / 1.112 GB, free: 33.48 MB / 410.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.0008682/2.728, allocations: 483.3 kB / 1.113 GB, free: 32.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/2.728, allocations: 8.031 kB / 1.113 GB, free: 32.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.302e-05/2.728, allocations: 54.55 kB / 1.113 GB, free: 32.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00963/2.737, allocations: 0.7024 MB / 1.113 GB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/2.738, allocations: 274.8 kB / 1.114 GB, free: 31.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/2.738, allocations: 20.27 kB / 1.114 GB, free: 31.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/2.738, allocations: 23.94 kB / 1.114 GB, free: 31.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/2.741, allocations: 0.6879 MB / 1.114 GB, free: 31.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/2.741, allocations: 0 / 1.114 GB, free: 31.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/2.741, allocations: 8 kB / 1.114 GB, free: 31.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/2.741, allocations: 11.94 kB / 1.114 GB, free: 31.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/2.744, allocations: 0.7728 MB / 1.115 GB, free: 30.34 MB / 410.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.004194/2.748, allocations: 1.233 MB / 1.116 GB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/2.749, allocations: 309 kB / 1.117 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007807/2.75, allocations: 250.2 kB / 1.117 GB, free: 28.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/2.75, allocations: 38.56 kB / 1.117 GB, free: 28.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/2.75, allocations: 0 / 1.117 GB, free: 28.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.002188/2.752, allocations: 0.5491 MB / 1.117 GB, free: 27.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/2.752, allocations: 81.11 kB / 1.118 GB, free: 27.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/2.752, allocations: 128.8 kB / 1.118 GB, free: 27.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.754e-05/2.752, allocations: 33.7 kB / 1.118 GB, free: 27.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/2.752, allocations: 186.6 kB / 1.118 GB, free: 27.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/2.753, allocations: 90.66 kB / 1.118 GB, free: 27.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/2.753, allocations: 4 kB / 1.118 GB, free: 27.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/2.753, allocations: 326.8 kB / 1.118 GB, free: 26.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/2.753, allocations: 179.6 kB / 1.118 GB, free: 26.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/2.754, allocations: 284.7 kB / 1.119 GB, free: 26.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/2.755, allocations: 205.2 kB / 1.119 GB, free: 26.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/2.755, allocations: 4 kB / 1.119 GB, free: 26.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001696/2.756, allocations: 0.511 MB / 1.119 GB, free: 25.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/2.757, allocations: 11.94 kB / 1.119 GB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/2.757, allocations: 4 kB / 1.119 GB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/2.757, allocations: 4 kB / 1.119 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009238/2.758, allocations: 79.89 kB / 1.12 GB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/2.758, allocations: 8.391 kB / 1.12 GB, free: 25.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/2.758, allocations: 43.67 kB / 1.12 GB, free: 25.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/2.758, allocations: 23.98 kB / 1.12 GB, free: 25.58 MB / 410.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.0002431/2.759, allocations: 141.7 kB / 1.12 GB, free: 25.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/2.759, allocations: 23.84 kB / 1.12 GB, free: 25.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/2.761, allocations: 490.3 kB / 1.12 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/2.761, allocations: 4 kB / 1.12 GB, free: 24.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/2.761, allocations: 4 kB / 1.12 GB, free: 24.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/2.761, allocations: 3.984 kB / 1.12 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/2.762, allocations: 0.4915 MB / 1.121 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/2.762, allocations: 0 / 1.121 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00092/2.763, allocations: 51.95 kB / 1.121 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/2.763, allocations: 7.938 kB / 1.121 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.149e-05/2.763, allocations: 15.98 kB / 1.121 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/2.763, allocations: 0 / 1.121 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/2.763, allocations: 3.938 kB / 1.121 GB, free: 24.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/2.765, allocations: 0.6845 MB / 1.121 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/2.765, allocations: 92.86 kB / 1.122 GB, free: 23.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/2.765, allocations: 11.98 kB / 1.122 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008248/2.766, allocations: 23.92 kB / 1.122 GB, free: 23.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/2.766, allocations: 19.97 kB / 1.122 GB, free: 23.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/2.766, allocations: 19.98 kB / 1.122 GB, free: 23.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.102e-05/2.766, allocations: 95.27 kB / 1.122 GB, free: 23.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.766, allocations: 0 / 1.122 GB, free: 23.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001176/2.767, allocations: 207.9 kB / 1.122 GB, free: 23.1 MB / 410.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.004083/2.772, allocations: 1.943 MB / 1.124 GB, free: 21.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/2.773, allocations: 438.8 kB / 1.124 GB, free: 20.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/2.773, allocations: 0 / 1.124 GB, free: 20.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/2.774, allocations: 208.4 kB / 1.124 GB, free: 20.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/2.775, allocations: 88.34 kB / 1.124 GB, free: 20.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/2.78, allocations: 4.153 MB / 1.129 GB, free: 16.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/2.781, allocations: 0.7522 MB / 1.129 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/2.781, allocations: 67.39 kB / 1.129 GB, free: 15.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/2.781, allocations: 0 / 1.129 GB, free: 15.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.196/5.977, allocations: 10.33 MB / 1.139 GB, free: 4.934 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat