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.954/1.954, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.747e-05/4.758e-05, allocations: 8 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.435/2.54, allocations: 0.7461 GB / 1.06 GB, free: 72.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/2.54, allocations: 64.97 kB / 1.06 GB, free: 72.84 MB / 426.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.212/2.752, allocations: 61.62 MB / 1.121 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.486e-06/2.752, allocations: 0 / 1.121 GB, free: 12.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/2.752, allocations: 3.938 kB / 1.121 GB, free: 12.71 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.0008321/2.753, allocations: 474.6 kB / 1.121 GB, free: 12.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/2.753, allocations: 8.031 kB / 1.121 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.311e-05/2.753, allocations: 54.55 kB / 1.121 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009727/2.763, allocations: 0.7063 MB / 1.122 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/2.764, allocations: 278.7 kB / 1.122 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/2.764, allocations: 12.33 kB / 1.122 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/2.764, allocations: 19.95 kB / 1.122 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/2.766, allocations: 0.6564 MB / 1.123 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/2.766, allocations: 0 / 1.123 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/2.766, allocations: 4 kB / 1.123 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/2.766, allocations: 11.98 kB / 1.123 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/2.768, allocations: 0.7105 MB / 1.124 GB, free: 9.68 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004578/2.773, allocations: 1.23 MB / 1.125 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/2.773, allocations: 285.2 kB / 1.125 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/2.774, allocations: 189.6 kB / 1.125 GB, free: 7.902 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/2.775, allocations: 250.1 kB / 1.125 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/2.775, allocations: 34.56 kB / 1.125 GB, free: 7.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.878e-06/2.775, allocations: 0 / 1.125 GB, free: 7.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001314/2.776, allocations: 373.8 kB / 1.126 GB, free: 7.207 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/2.776, allocations: 81.09 kB / 1.126 GB, free: 7.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/2.776, allocations: 120.9 kB / 1.126 GB, free: 6.984 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/2.776, allocations: 33.7 kB / 1.126 GB, free: 6.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/2.776, allocations: 190.6 kB / 1.126 GB, free: 6.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.777, allocations: 90.66 kB / 1.126 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/2.777, allocations: 4 kB / 1.126 GB, free: 6.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/2.777, allocations: 326.8 kB / 1.127 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/2.777, allocations: 171.6 kB / 1.127 GB, free: 6.168 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/2.778, allocations: 268.5 kB / 1.127 GB, free: 5.859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/2.778, allocations: 199.9 kB / 1.127 GB, free: 5.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/2.778, allocations: 3.953 kB / 1.127 GB, free: 5.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001323/2.78, allocations: 480.3 kB / 1.128 GB, free: 5.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/2.78, allocations: 8 kB / 1.128 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/2.78, allocations: 8 kB / 1.128 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/2.78, allocations: 4 kB / 1.128 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/2.781, allocations: 83.88 kB / 1.128 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/2.781, allocations: 7.938 kB / 1.128 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/2.781, allocations: 43.98 kB / 1.128 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/2.782, allocations: 19.98 kB / 1.128 GB, free: 5.016 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 (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.0001766/2.782, allocations: 120.9 kB / 1.128 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/2.782, allocations: 15.86 kB / 1.128 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/2.783, allocations: 462 kB / 1.128 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/2.783, allocations: 0 / 1.128 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/2.783, allocations: 4 kB / 1.128 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/2.783, allocations: 0 / 1.128 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/2.785, allocations: 0.497 MB / 1.129 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/2.785, allocations: 0 / 1.129 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/2.786, allocations: 59.89 kB / 1.129 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/2.786, allocations: 3.938 kB / 1.129 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/2.786, allocations: 11.98 kB / 1.129 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/2.786, allocations: 4 kB / 1.129 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.786, allocations: 0 / 1.129 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/2.787, allocations: 0.6382 MB / 1.13 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/2.787, allocations: 96.86 kB / 1.13 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/2.787, allocations: 7.938 kB / 1.13 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/2.788, allocations: 19.97 kB / 1.13 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/2.788, allocations: 19.98 kB / 1.13 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/2.788, allocations: 19.98 kB / 1.13 GB, free: 2.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.939e-05/2.788, allocations: 103.6 kB / 1.13 GB, free: 2.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.788, allocations: 0 / 1.13 GB, free: 2.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001189/2.79, allocations: 203.9 kB / 1.13 GB, free: 2.641 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 (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.003282/2.793, allocations: 1.903 MB / 1.132 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/2.794, allocations: 387.7 kB / 1.132 GB, free: 332 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/2.794, allocations: 0 / 1.132 GB, free: 332 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/2.794, allocations: 196.4 kB / 1.132 GB, free: 136 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/2.795, allocations: 92.55 kB / 1.133 GB, free: 44 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2729/3.068, allocations: 0.9117 MB / 1.133 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/3.069, allocations: 0.7391 MB / 1.134 GB, free: 118.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/3.069, allocations: 66.75 kB / 1.134 GB, free: 118.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.183e-06/3.069, allocations: 1.438 kB / 1.134 GB, free: 118.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/5.87, allocations: 10.27 MB / 1.144 GB, free: 118.1 MB / 426.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