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.967/1.967, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.133e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.69 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.483/2.595, allocations: 0.7461 GB / 1.06 GB, free: 73.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/2.595, allocations: 68.45 kB / 1.06 GB, free: 73.72 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.217/2.812, allocations: 61.62 MB / 1.121 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/2.813, allocations: 3.938 kB / 1.121 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/2.813, allocations: 3.938 kB / 1.121 GB, free: 13.41 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.0008682/2.813, allocations: 478.5 kB / 1.121 GB, free: 12.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/2.813, allocations: 8.031 kB / 1.121 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.698e-05/2.814, allocations: 50.55 kB / 1.121 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009758/2.823, allocations: 0.7063 MB / 1.122 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/2.824, allocations: 278.8 kB / 1.122 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/2.824, allocations: 8.328 kB / 1.122 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/2.824, allocations: 19.95 kB / 1.122 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/2.826, allocations: 0.6606 MB / 1.123 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/2.826, allocations: 0 / 1.123 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/2.826, allocations: 8 kB / 1.123 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/2.826, allocations: 12 kB / 1.123 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/2.828, allocations: 0.7028 MB / 1.123 GB, free: 10.38 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.004394/2.833, allocations: 1.234 MB / 1.125 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007368/2.833, allocations: 289 kB / 1.125 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/2.834, allocations: 185.8 kB / 1.125 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008522/2.835, allocations: 254 kB / 1.125 GB, free: 8.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/2.835, allocations: 38.56 kB / 1.125 GB, free: 8.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.026e-06/2.835, allocations: 0 / 1.125 GB, free: 8.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001228/2.836, allocations: 369.6 kB / 1.126 GB, free: 7.902 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/2.836, allocations: 81.11 kB / 1.126 GB, free: 7.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/2.836, allocations: 124.9 kB / 1.126 GB, free: 7.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/2.836, allocations: 29.7 kB / 1.126 GB, free: 7.641 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/2.836, allocations: 190.8 kB / 1.126 GB, free: 7.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/2.837, allocations: 102.6 kB / 1.126 GB, free: 7.352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/2.837, allocations: 4 kB / 1.126 GB, free: 7.348 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/2.837, allocations: 322.8 kB / 1.127 GB, free: 7.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/2.837, allocations: 167.7 kB / 1.127 GB, free: 6.859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/2.838, allocations: 268.6 kB / 1.127 GB, free: 6.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/2.838, allocations: 199.9 kB / 1.127 GB, free: 6.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/2.838, allocations: 7.953 kB / 1.127 GB, free: 6.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001304/2.84, allocations: 484.3 kB / 1.128 GB, free: 5.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/2.84, allocations: 8 kB / 1.128 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/2.84, allocations: 4 kB / 1.128 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/2.84, allocations: 4 kB / 1.128 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/2.841, allocations: 83.83 kB / 1.128 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/2.841, allocations: 7.984 kB / 1.128 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/2.841, allocations: 47.86 kB / 1.128 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/2.842, allocations: 23.98 kB / 1.128 GB, free: 5.695 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.0001882/2.842, allocations: 116.9 kB / 1.128 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/2.842, allocations: 15.86 kB / 1.128 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/2.843, allocations: 454.1 kB / 1.128 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/2.843, allocations: 8 kB / 1.128 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.843, allocations: 0 / 1.128 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/2.843, allocations: 0 / 1.128 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/2.845, allocations: 0.497 MB / 1.129 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/2.845, allocations: 7.984 kB / 1.129 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/2.846, allocations: 59.89 kB / 1.129 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/2.846, allocations: 3.938 kB / 1.129 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/2.846, allocations: 11.98 kB / 1.129 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/2.846, allocations: 4 kB / 1.129 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.846, allocations: 0 / 1.129 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/2.847, allocations: 0.6419 MB / 1.13 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/2.847, allocations: 92.95 kB / 1.13 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/2.848, allocations: 8 kB / 1.13 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/2.848, allocations: 19.97 kB / 1.13 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/2.848, allocations: 19.98 kB / 1.13 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/2.849, allocations: 15.98 kB / 1.13 GB, free: 3.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.881e-05/2.849, allocations: 99.7 kB / 1.13 GB, free: 3.527 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/2.849, allocations: 0 / 1.13 GB, free: 3.527 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001173/2.85, allocations: 207.9 kB / 1.13 GB, free: 3.324 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.003576/2.853, allocations: 1.903 MB / 1.132 GB, free: 1.387 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/2.855, allocations: 395.7 kB / 1.132 GB, free: 1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/2.855, allocations: 0 / 1.132 GB, free: 1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/2.855, allocations: 191.7 kB / 1.132 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/2.856, allocations: 99.73 kB / 1.133 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2856/3.142, allocations: 0.9039 MB / 1.133 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/3.142, allocations: 0.7466 MB / 1.134 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/3.143, allocations: 66.36 kB / 1.134 GB, free: 119.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/3.143, allocations: 0 / 1.134 GB, free: 119.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.906/6.049, allocations: 10.24 MB / 1.144 GB, free: 119.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