Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.475/2.475, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.241e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4309, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.379/2.81, allocations: 0.7595 GB / 1.111 GB, free: 139.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/2.81, allocations: 74.58 kB / 1.111 GB, free: 139.3 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2142/3.024, allocations: 61.87 MB / 1.171 GB, free: 99.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.794e-06/3.024, allocations: 0 / 1.171 GB, free: 99.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/3.024, allocations: 4 kB / 1.171 GB, free: 99.64 MB / 490.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.0008947/3.025, allocations: 472 kB / 1.172 GB, free: 99.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/3.025, allocations: 12.03 kB / 1.172 GB, free: 99.13 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/3.025, allocations: 48.98 kB / 1.172 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009524/3.035, allocations: 0.7096 MB / 1.173 GB, free: 98.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/3.036, allocations: 284.6 kB / 1.173 GB, free: 98.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/3.036, allocations: 14.95 kB / 1.173 GB, free: 98.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/3.036, allocations: 21.92 kB / 1.173 GB, free: 98.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/3.037, allocations: 0.6484 MB / 1.174 GB, free: 97.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/3.038, allocations: 4 kB / 1.174 GB, free: 97.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/3.038, allocations: 15.42 kB / 1.174 GB, free: 97.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/3.038, allocations: 8 kB / 1.174 GB, free: 97.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/3.04, allocations: 0.7005 MB / 1.174 GB, free: 97.04 MB / 490.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.004147/3.044, allocations: 1.231 MB / 1.175 GB, free: 95.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/3.044, allocations: 285 kB / 1.176 GB, free: 95.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/3.045, allocations: 193.7 kB / 1.176 GB, free: 95.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008204/3.046, allocations: 254.2 kB / 1.176 GB, free: 94.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/3.046, allocations: 42.56 kB / 1.176 GB, free: 94.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.526e-06/3.046, allocations: 0 / 1.176 GB, free: 94.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.001146/3.047, allocations: 367 kB / 1.177 GB, free: 94.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/3.047, allocations: 85.06 kB / 1.177 GB, free: 94.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/3.047, allocations: 120.9 kB / 1.177 GB, free: 94.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/3.047, allocations: 29.7 kB / 1.177 GB, free: 94.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/3.047, allocations: 186.6 kB / 1.177 GB, free: 94.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/3.047, allocations: 102.5 kB / 1.177 GB, free: 94.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/3.047, allocations: 16 kB / 1.177 GB, free: 94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/3.048, allocations: 322.8 kB / 1.177 GB, free: 93.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/3.048, allocations: 164 kB / 1.178 GB, free: 93.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/3.048, allocations: 265.5 kB / 1.178 GB, free: 93.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/3.049, allocations: 192.5 kB / 1.178 GB, free: 93.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/3.049, allocations: 4 kB / 1.178 GB, free: 93.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001246/3.05, allocations: 475 kB / 1.178 GB, free: 92.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/3.05, allocations: 4 kB / 1.178 GB, free: 92.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/3.05, allocations: 4 kB / 1.178 GB, free: 92.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/3.05, allocations: 8 kB / 1.178 GB, free: 92.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009582/3.051, allocations: 79.88 kB / 1.178 GB, free: 92.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/3.051, allocations: 8 kB / 1.179 GB, free: 92.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007292/3.052, allocations: 43.62 kB / 1.179 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.918e-05/3.052, allocations: 24.08 kB / 1.179 GB, free: 92.38 MB / 490.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.0001753/3.052, allocations: 124.9 kB / 1.179 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/3.052, allocations: 11.91 kB / 1.179 GB, free: 92.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/3.054, allocations: 456.6 kB / 1.179 GB, free: 91.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/3.054, allocations: 4 kB / 1.179 GB, free: 91.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/3.054, allocations: 4 kB / 1.179 GB, free: 91.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/3.054, allocations: 3.984 kB / 1.179 GB, free: 91.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/3.055, allocations: 0.5013 MB / 1.18 GB, free: 91.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/3.055, allocations: 0 / 1.18 GB, free: 91.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/3.056, allocations: 55.95 kB / 1.18 GB, free: 91.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/3.056, allocations: 3.938 kB / 1.18 GB, free: 91.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/3.056, allocations: 15.98 kB / 1.18 GB, free: 91.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/3.056, allocations: 0 / 1.18 GB, free: 91.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/3.056, allocations: 3.938 kB / 1.18 GB, free: 91.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/3.058, allocations: 0.6492 MB / 1.18 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/3.058, allocations: 88.95 kB / 1.18 GB, free: 90.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/3.058, allocations: 8 kB / 1.18 GB, free: 90.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/3.059, allocations: 27.92 kB / 1.18 GB, free: 90.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/3.059, allocations: 11.98 kB / 1.18 GB, free: 90.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/3.059, allocations: 23.97 kB / 1.18 GB, free: 90.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.077e-05/3.059, allocations: 95.28 kB / 1.181 GB, free: 90.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.059, allocations: 0 / 1.181 GB, free: 90.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001156/3.06, allocations: 211.9 kB / 1.181 GB, free: 89.99 MB / 490.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.003279/3.063, allocations: 1.897 MB / 1.183 GB, free: 88.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/3.064, allocations: 395.7 kB / 1.183 GB, free: 87.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/3.064, allocations: 0 / 1.183 GB, free: 87.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/3.065, allocations: 187.8 kB / 1.183 GB, free: 87.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/3.066, allocations: 84.72 kB / 1.183 GB, free: 87.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/3.068, allocations: 0.9173 MB / 1.184 GB, free: 86.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/3.068, allocations: 0.7445 MB / 1.185 GB, free: 85.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/3.069, allocations: 71.33 kB / 1.185 GB, free: 85.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/3.069, allocations: 0 / 1.185 GB, free: 85.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.982/6.051, allocations: 10.29 MB / 1.195 GB, free: 75.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat