Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.048e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3188, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.653/1.972, allocations: 0.5854 GB / 0.8727 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.972, allocations: 89.59 kB / 0.8728 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.737/2.709, allocations: 151.6 MB / 1.021 GB, free: 40.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/2.709, allocations: 384 / 1.021 GB, free: 40.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.345e-05/2.71, allocations: 8 kB / 1.021 GB, free: 40.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001175/2.711, allocations: 0.5966 MB / 1.021 GB, free: 39.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/2.711, allocations: 8.031 kB / 1.021 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/2.711, allocations: 51.58 kB / 1.021 GB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/2.712, allocations: 274.5 kB / 1.022 GB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/2.712, allocations: 8 kB / 1.022 GB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/2.712, allocations: 16 kB / 1.022 GB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004227/2.712, allocations: 177.1 kB / 1.022 GB, free: 39.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/2.713, allocations: 274.6 kB / 1.022 GB, free: 38.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/2.713, allocations: 0 / 1.022 GB, free: 38.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/2.713, allocations: 3.953 kB / 1.022 GB, free: 38.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/2.713, allocations: 8 kB / 1.022 GB, free: 38.98 MB / 410.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.002146/2.715, allocations: 1.551 MB / 1.024 GB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/2.715, allocations: 135.2 kB / 1.024 GB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/2.715, allocations: 88.84 kB / 1.024 GB, free: 37.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/2.715, allocations: 0 / 1.024 GB, free: 37.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/2.716, allocations: 38.91 kB / 1.024 GB, free: 37.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.697e-06/2.716, allocations: 0 / 1.024 GB, free: 37.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.006679/2.722, allocations: 0.988 MB / 1.025 GB, free: 35.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/2.722, allocations: 55.41 kB / 1.025 GB, free: 35.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/2.723, allocations: 200 kB / 1.025 GB, free: 35.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/2.723, allocations: 29.64 kB / 1.025 GB, free: 35.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/2.723, allocations: 246.1 kB / 1.025 GB, free: 35.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/2.723, allocations: 82.75 kB / 1.025 GB, free: 35.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/2.723, allocations: 3.938 kB / 1.025 GB, free: 35.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/2.723, allocations: 326.8 kB / 1.026 GB, free: 34.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/2.723, allocations: 79.98 kB / 1.026 GB, free: 34.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/2.723, allocations: 175.8 kB / 1.026 GB, free: 34.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/2.724, allocations: 111.9 kB / 1.026 GB, free: 34.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/2.724, allocations: 0 / 1.026 GB, free: 34.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008024/2.724, allocations: 354.8 kB / 1.026 GB, free: 34.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/2.724, allocations: 11.75 kB / 1.026 GB, free: 34.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/2.724, allocations: 4 kB / 1.026 GB, free: 34.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/2.725, allocations: 62.09 kB / 1.027 GB, free: 34.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/2.725, allocations: 87.89 kB / 1.027 GB, free: 34.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/2.727, allocations: 1.824 MB / 1.028 GB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/2.727, allocations: 15.92 kB / 1.028 GB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/2.727, allocations: 40 kB / 1.028 GB, free: 32.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.727, allocations: 117 kB / 1.029 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006072/2.728, allocations: 255.1 kB / 1.029 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/2.728, allocations: 27.67 kB / 1.029 GB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/2.729, allocations: 348.4 kB / 1.029 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/2.729, allocations: 4 kB / 1.029 GB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.729, allocations: 0 / 1.029 GB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005377/2.73, allocations: 0.5396 MB / 1.03 GB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/2.731, allocations: 0.6573 MB / 1.03 GB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/2.731, allocations: 0 / 1.03 GB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/2.732, allocations: 71.84 kB / 1.03 GB, free: 29.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/2.732, allocations: 28.84 kB / 1.03 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/2.732, allocations: 8 kB / 1.03 GB, free: 29.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008025/2.733, allocations: 1.237 MB / 1.032 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/2.733, allocations: 3.938 kB / 1.032 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/2.733, allocations: 469.3 kB / 1.032 GB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/2.734, allocations: 104.8 kB / 1.032 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/2.734, allocations: 0 / 1.032 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/2.734, allocations: 16.05 kB / 1.032 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/2.734, allocations: 23.97 kB / 1.032 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/2.734, allocations: 31.92 kB / 1.032 GB, free: 27.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001893/2.735, allocations: 160.5 kB / 1.032 GB, free: 27.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.735, allocations: 0 / 1.032 GB, free: 27.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009958/2.736, allocations: 159.9 kB / 1.033 GB, free: 27.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002474/2.738, allocations: 1.961 MB / 1.035 GB, free: 25.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008385/2.739, allocations: 345.6 kB / 1.035 GB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/2.739, allocations: 0 / 1.035 GB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/2.739, allocations: 217.5 kB / 1.035 GB, free: 24.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/2.741, allocations: 125.2 kB / 1.035 GB, free: 24.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/2.742, allocations: 0.5573 MB / 1.036 GB, free: 24.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/2.743, allocations: 0.7757 MB / 1.036 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/2.743, allocations: 135.3 kB / 1.037 GB, free: 23.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/2.743, allocations: 0 / 1.037 GB, free: 23.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.921/5.664, allocations: 12.48 MB / 1.049 GB, free: 10.74 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat