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.938/1.938, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.301e-05, allocations: 0 / 267.6 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 48.71 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.393/2.496, allocations: 0.7457 GB / 1.055 GB, free: 75.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/2.496, allocations: 70.97 kB / 1.055 GB, free: 75.55 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.2029/2.699, allocations: 60.61 MB / 1.114 GB, free: 18.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/2.699, allocations: 0 / 1.114 GB, free: 18.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/2.699, allocations: 4 kB / 1.114 GB, free: 18.58 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.0007814/2.7, allocations: 478.5 kB / 1.114 GB, free: 18.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/2.7, allocations: 12.03 kB / 1.114 GB, free: 18.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009266/2.709, allocations: 0.6985 MB / 1.115 GB, free: 17.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/2.71, allocations: 286.7 kB / 1.115 GB, free: 17.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/2.71, allocations: 4 kB / 1.115 GB, free: 17.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/2.71, allocations: 12 kB / 1.115 GB, free: 17.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001665/2.712, allocations: 0.6407 MB / 1.116 GB, free: 16.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008784/2.713, allocations: 416.4 kB / 1.116 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/2.713, allocations: 0 / 1.116 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/2.713, allocations: 0 / 1.116 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/2.713, allocations: 8 kB / 1.116 GB, free: 15.95 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.004481/2.717, allocations: 1.32 MB / 1.118 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/2.718, allocations: 321 kB / 1.118 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/2.718, allocations: 225.7 kB / 1.118 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007734/2.719, allocations: 258.2 kB / 1.118 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/2.719, allocations: 38.56 kB / 1.118 GB, free: 13.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/2.719, allocations: 4 kB / 1.118 GB, free: 13.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001668/2.721, allocations: 440.4 kB / 1.119 GB, free: 13.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/2.721, allocations: 81.11 kB / 1.119 GB, free: 13.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/2.721, allocations: 120.9 kB / 1.119 GB, free: 13.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.532e-05/2.721, allocations: 29.69 kB / 1.119 GB, free: 12.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/2.721, allocations: 175 kB / 1.119 GB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/2.722, allocations: 106.4 kB / 1.119 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/2.722, allocations: 0 / 1.119 GB, free: 12.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/2.722, allocations: 330.8 kB / 1.12 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/2.722, allocations: 199.7 kB / 1.12 GB, free: 12.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/2.723, allocations: 292.8 kB / 1.12 GB, free: 11.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/2.724, allocations: 231.8 kB / 1.12 GB, free: 11.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/2.724, allocations: 4 kB / 1.12 GB, free: 11.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001901/2.726, allocations: 0.5167 MB / 1.121 GB, free: 11.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/2.726, allocations: 6.344 kB / 1.121 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/2.726, allocations: 4 kB / 1.121 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/2.726, allocations: 8.406 kB / 1.121 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/2.727, allocations: 91.81 kB / 1.121 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/2.727, allocations: 11.98 kB / 1.121 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/2.728, allocations: 35.67 kB / 1.121 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/2.728, allocations: 19.98 kB / 1.121 GB, free: 10.93 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.0002411/2.729, allocations: 117.6 kB / 1.121 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00167/2.73, allocations: 444.1 kB / 1.122 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/2.731, allocations: 15.91 kB / 1.122 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/2.733, allocations: 0.5254 MB / 1.122 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/2.733, allocations: 4 kB / 1.122 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/2.733, allocations: 0 / 1.122 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/2.733, allocations: 0 / 1.122 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/2.735, allocations: 0.5106 MB / 1.123 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/2.735, allocations: 11.95 kB / 1.123 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/2.736, allocations: 67.88 kB / 1.123 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/2.736, allocations: 4 kB / 1.123 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.876e-05/2.736, allocations: 7.984 kB / 1.123 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/2.736, allocations: 0 / 1.123 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.736, allocations: 0 / 1.123 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/2.739, allocations: 0.7342 MB / 1.123 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/2.739, allocations: 92.86 kB / 1.123 GB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/2.739, allocations: 4 kB / 1.123 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/2.74, allocations: 19.97 kB / 1.123 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/2.74, allocations: 19.97 kB / 1.124 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/2.74, allocations: 19.97 kB / 1.124 GB, free: 8.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.331e-05/2.74, allocations: 99.66 kB / 1.124 GB, free: 8.152 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.72e-07/2.741, allocations: 0 / 1.124 GB, free: 8.152 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001674/2.742, allocations: 196 kB / 1.124 GB, free: 7.961 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.004714/2.747, allocations: 2.064 MB / 1.126 GB, free: 5.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001521/2.748, allocations: 464.4 kB / 1.126 GB, free: 5.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/2.749, allocations: 7.938 kB / 1.126 GB, free: 5.402 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007032/2.749, allocations: 241.8 kB / 1.127 GB, free: 5.168 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/2.751, allocations: 79.97 kB / 1.127 GB, free: 5.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/2.754, allocations: 0.9238 MB / 1.127 GB, free: 4.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/2.754, allocations: 0.7408 MB / 1.128 GB, free: 3.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007818/2.755, allocations: 71.39 kB / 1.128 GB, free: 3.281 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/2.755, allocations: 0 / 1.128 GB, free: 3.281 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.936/5.691, allocations: 10.68 MB / 1.139 GB, free: 122.8 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