Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 235 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.725e-05, allocations: 4 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.397, allocations: 54.84 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.318/2.715, allocations: 0.7588 GB / 1.105 GB, free: 136 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/2.716, allocations: 73.42 kB / 1.105 GB, free: 136 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.2053/2.921, allocations: 60.85 MB / 1.164 GB, free: 84.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/2.921, allocations: 0 / 1.164 GB, free: 84.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/2.921, allocations: 4 kB / 1.164 GB, free: 84.91 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.0008103/2.922, allocations: 478.2 kB / 1.165 GB, free: 84.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/2.922, allocations: 8.031 kB / 1.165 GB, free: 84.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009382/2.932, allocations: 0.7136 MB / 1.166 GB, free: 83.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/2.932, allocations: 282.7 kB / 1.166 GB, free: 83.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/2.932, allocations: 11.94 kB / 1.166 GB, free: 83.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/2.932, allocations: 8 kB / 1.166 GB, free: 83.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001671/2.934, allocations: 0.6484 MB / 1.166 GB, free: 82.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008879/2.935, allocations: 412.5 kB / 1.167 GB, free: 82.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/2.935, allocations: 0 / 1.167 GB, free: 82.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/2.935, allocations: 4 kB / 1.167 GB, free: 82.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/2.935, allocations: 11.98 kB / 1.167 GB, free: 82.25 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.004606/2.94, allocations: 1.329 MB / 1.168 GB, free: 80.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/2.941, allocations: 325.1 kB / 1.168 GB, free: 80.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/2.941, allocations: 223 kB / 1.169 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008065/2.942, allocations: 246.1 kB / 1.169 GB, free: 80.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/2.942, allocations: 42.91 kB / 1.169 GB, free: 80 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.236e-06/2.942, allocations: 0 / 1.169 GB, free: 80 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.001285/2.943, allocations: 441.5 kB / 1.169 GB, free: 79.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/2.943, allocations: 81.11 kB / 1.169 GB, free: 79.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/2.943, allocations: 120.9 kB / 1.17 GB, free: 79.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/2.943, allocations: 29.7 kB / 1.17 GB, free: 79.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/2.943, allocations: 112.5 kB / 1.17 GB, free: 79.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/2.944, allocations: 106.5 kB / 1.17 GB, free: 79.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/2.944, allocations: 0 / 1.17 GB, free: 79.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/2.944, allocations: 326.8 kB / 1.17 GB, free: 78.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/2.944, allocations: 192 kB / 1.17 GB, free: 78.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/2.945, allocations: 300.8 kB / 1.171 GB, free: 78.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/2.945, allocations: 227.5 kB / 1.171 GB, free: 78.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/2.945, allocations: 4 kB / 1.171 GB, free: 78 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001359/2.947, allocations: 0.5166 MB / 1.171 GB, free: 77.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/2.947, allocations: 4.406 kB / 1.171 GB, free: 77.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/2.947, allocations: 8 kB / 1.171 GB, free: 77.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/2.947, allocations: 8 kB / 1.171 GB, free: 77.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/2.948, allocations: 91.81 kB / 1.171 GB, free: 77.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/2.948, allocations: 7.984 kB / 1.171 GB, free: 77.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000759/2.949, allocations: 39.62 kB / 1.171 GB, free: 77.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/2.949, allocations: 23.98 kB / 1.171 GB, free: 77.3 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 (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.0001907/2.949, allocations: 116.9 kB / 1.172 GB, free: 77.18 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001192/2.95, allocations: 445.4 kB / 1.172 GB, free: 76.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/2.95, allocations: 11.91 kB / 1.172 GB, free: 76.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/2.952, allocations: 0.5278 MB / 1.173 GB, free: 76.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/2.952, allocations: 4 kB / 1.173 GB, free: 76.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/2.952, allocations: 0 / 1.173 GB, free: 76.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/2.952, allocations: 4 kB / 1.173 GB, free: 76.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/2.953, allocations: 0.503 MB / 1.173 GB, free: 75.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/2.953, allocations: 3.984 kB / 1.173 GB, free: 75.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/2.954, allocations: 67.88 kB / 1.173 GB, free: 75.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/2.954, allocations: 4 kB / 1.173 GB, free: 75.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/2.954, allocations: 11.98 kB / 1.173 GB, free: 75.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/2.954, allocations: 160 / 1.173 GB, free: 75.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/2.954, allocations: 0 / 1.173 GB, free: 75.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/2.956, allocations: 0.7386 MB / 1.174 GB, free: 74.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/2.956, allocations: 96.84 kB / 1.174 GB, free: 74.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/2.956, allocations: 4 kB / 1.174 GB, free: 74.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008673/2.957, allocations: 19.97 kB / 1.174 GB, free: 74.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/2.957, allocations: 11.98 kB / 1.174 GB, free: 74.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/2.957, allocations: 27.92 kB / 1.174 GB, free: 74.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.546e-05/2.957, allocations: 99.72 kB / 1.174 GB, free: 74.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.6e-07/2.957, allocations: 0 / 1.174 GB, free: 74.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00117/2.958, allocations: 192 kB / 1.174 GB, free: 74.34 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 (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.003433/2.962, allocations: 2.054 MB / 1.176 GB, free: 72.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/2.963, allocations: 475.7 kB / 1.177 GB, free: 71.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/2.963, allocations: 0 / 1.177 GB, free: 71.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004597/2.963, allocations: 235.8 kB / 1.177 GB, free: 71.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/2.964, allocations: 84.59 kB / 1.177 GB, free: 71.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/2.967, allocations: 0.8914 MB / 1.178 GB, free: 70.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/2.967, allocations: 0.7407 MB / 1.179 GB, free: 69.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001387/2.968, allocations: 129.9 kB / 1.179 GB, free: 69.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/2.969, allocations: 59.39 kB / 1.179 GB, free: 69.59 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/2.969, allocations: 4 kB / 1.179 GB, free: 69.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/3.029, allocations: 13.62 MB / 1.192 GB, free: 55.97 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/3.029, allocations: 127.9 kB / 1.192 GB, free: 55.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/5.989, allocations: 1 kB / 1.192 GB, free: 55.78 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat