Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.2 MB / 186.8 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003936, allocations: 12 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08691/0.08734, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.471/2.559, allocations: 0.7381 GB / 1.004 GB, free: 106.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/2.559, allocations: 73.64 kB / 1.004 GB, free: 106.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2037/2.763, allocations: 61.53 MB / 1.064 GB, free: 66.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/2.763, allocations: 0 / 1.064 GB, free: 66.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/2.763, allocations: 4 kB / 1.064 GB, free: 66.68 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.0008431/2.763, allocations: 487.3 kB / 1.064 GB, free: 66.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/2.764, allocations: 8.031 kB / 1.064 GB, free: 66.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/2.764, allocations: 54.55 kB / 1.065 GB, free: 66.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009394/2.773, allocations: 0.7024 MB / 1.065 GB, free: 65.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/2.774, allocations: 278.7 kB / 1.065 GB, free: 65.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/2.774, allocations: 12.33 kB / 1.066 GB, free: 65.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/2.774, allocations: 23.91 kB / 1.066 GB, free: 65.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/2.776, allocations: 0.6917 MB / 1.066 GB, free: 64.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/2.776, allocations: 3.984 kB / 1.066 GB, free: 64.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/2.776, allocations: 15.95 kB / 1.066 GB, free: 64.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/2.776, allocations: 15.98 kB / 1.066 GB, free: 64.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/2.779, allocations: 0.7651 MB / 1.067 GB, free: 63.53 MB / 362.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.004315/2.784, allocations: 1.233 MB / 1.068 GB, free: 62.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/2.785, allocations: 307.1 kB / 1.068 GB, free: 61.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007694/2.786, allocations: 254.1 kB / 1.069 GB, free: 61.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/2.786, allocations: 46.45 kB / 1.069 GB, free: 61.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.504e-06/2.786, allocations: 0 / 1.069 GB, free: 61.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.002088/2.788, allocations: 0.5445 MB / 1.069 GB, free: 61.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/2.788, allocations: 81.11 kB / 1.069 GB, free: 60.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/2.788, allocations: 122.7 kB / 1.069 GB, free: 60.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/2.788, allocations: 33.7 kB / 1.07 GB, free: 60.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/2.788, allocations: 186.6 kB / 1.07 GB, free: 60.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/2.788, allocations: 98.64 kB / 1.07 GB, free: 60.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/2.788, allocations: 4 kB / 1.07 GB, free: 60.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/2.788, allocations: 322.8 kB / 1.07 GB, free: 60.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/2.789, allocations: 183.9 kB / 1.07 GB, free: 59.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/2.79, allocations: 288.2 kB / 1.071 GB, free: 59.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/2.79, allocations: 206.9 kB / 1.071 GB, free: 59.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/2.79, allocations: 4 kB / 1.071 GB, free: 59.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001602/2.792, allocations: 0.5009 MB / 1.071 GB, free: 58.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/2.792, allocations: 11.94 kB / 1.071 GB, free: 58.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/2.792, allocations: 7.953 kB / 1.071 GB, free: 58.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/2.792, allocations: 4 kB / 1.071 GB, free: 58.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009238/2.793, allocations: 87.81 kB / 1.071 GB, free: 58.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/2.793, allocations: 4 kB / 1.071 GB, free: 58.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/2.794, allocations: 44.08 kB / 1.071 GB, free: 58.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/2.794, allocations: 23.98 kB / 1.071 GB, free: 58.76 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 () * 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.0002136/2.794, allocations: 145.8 kB / 1.072 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/2.794, allocations: 15.81 kB / 1.072 GB, free: 58.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/2.796, allocations: 493.9 kB / 1.072 GB, free: 58.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/2.796, allocations: 7.984 kB / 1.072 GB, free: 58.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/2.796, allocations: 3.938 kB / 1.072 GB, free: 58.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/2.796, allocations: 0 / 1.072 GB, free: 58.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/2.797, allocations: 0.4952 MB / 1.073 GB, free: 57.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/2.797, allocations: 0 / 1.073 GB, free: 57.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008807/2.798, allocations: 51.95 kB / 1.073 GB, free: 57.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/2.798, allocations: 4 kB / 1.073 GB, free: 57.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.115e-05/2.798, allocations: 15.94 kB / 1.073 GB, free: 57.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/2.798, allocations: 4 kB / 1.073 GB, free: 57.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.798, allocations: 4 kB / 1.073 GB, free: 57.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/2.8, allocations: 0.6785 MB / 1.073 GB, free: 56.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/2.8, allocations: 92.91 kB / 1.073 GB, free: 56.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/2.8, allocations: 8 kB / 1.073 GB, free: 56.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000792/2.801, allocations: 31.83 kB / 1.073 GB, free: 56.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/2.801, allocations: 19.97 kB / 1.073 GB, free: 56.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/2.801, allocations: 15.98 kB / 1.073 GB, free: 56.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.261e-05/2.801, allocations: 107.6 kB / 1.074 GB, free: 56.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.801, allocations: 0 / 1.074 GB, free: 56.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001151/2.802, allocations: 196 kB / 1.074 GB, free: 56.29 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 () * 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.003714/2.806, allocations: 1.963 MB / 1.076 GB, free: 54.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/2.807, allocations: 428.2 kB / 1.076 GB, free: 53.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/2.807, allocations: 0 / 1.076 GB, free: 53.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006336/2.808, allocations: 214.9 kB / 1.076 GB, free: 53.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000938/2.809, allocations: 80.16 kB / 1.076 GB, free: 53.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/2.814, allocations: 4.153 MB / 1.08 GB, free: 49.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/2.814, allocations: 0.7451 MB / 1.081 GB, free: 48.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/2.815, allocations: 63.39 kB / 1.081 GB, free: 48.49 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/2.815, allocations: 0 / 1.081 GB, free: 48.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.765/5.58, allocations: 10.34 MB / 1.091 GB, free: 38.11 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat