Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.159e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3122, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.37, allocations: 333.2 MB / 0.6127 GB, free: 88.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/1.37, allocations: 77.89 kB / 0.6128 GB, free: 88.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2795/1.65, allocations: 86.74 MB / 0.6975 GB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.65, allocations: 0 / 0.6975 GB, free: 8.723 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/1.65, allocations: 8 kB / 0.6975 GB, free: 8.715 MB / 394.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.0008598/1.651, allocations: 0.5303 MB / 0.698 GB, free: 8.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.651, allocations: 12.03 kB / 0.698 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/1.651, allocations: 39.7 kB / 0.6981 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/1.652, allocations: 286.8 kB / 0.6983 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.652, allocations: 8 kB / 0.6983 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/1.652, allocations: 19.94 kB / 0.6984 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004296/1.652, allocations: 177.1 kB / 0.6985 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/1.653, allocations: 252.3 kB / 0.6988 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.653, allocations: 0 / 0.6988 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/1.653, allocations: 4 kB / 0.6988 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/1.653, allocations: 4 kB / 0.6988 GB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/1.655, allocations: 1.239 MB / 0.7 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/1.655, allocations: 171 kB / 0.7001 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/1.655, allocations: 81.17 kB / 0.7002 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/1.656, allocations: 170.4 kB / 0.7004 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/1.656, allocations: 38.75 kB / 0.7004 GB, free: 5.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.665e-06/1.656, allocations: 4 kB / 0.7004 GB, free: 5.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002705/1.658, allocations: 0.7803 MB / 0.7012 GB, free: 4.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.658, allocations: 59.41 kB / 0.7012 GB, free: 4.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/1.659, allocations: 195.1 kB / 0.7014 GB, free: 4.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/1.659, allocations: 25.7 kB / 0.7015 GB, free: 4.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/1.659, allocations: 246.2 kB / 0.7017 GB, free: 4.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/1.659, allocations: 86.66 kB / 0.7018 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/1.659, allocations: 0 / 0.7018 GB, free: 3.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/1.659, allocations: 330.8 kB / 0.7021 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/1.66, allocations: 68 kB / 0.7022 GB, free: 3.543 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/1.66, allocations: 163.8 kB / 0.7023 GB, free: 3.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/1.661, allocations: 105.3 kB / 0.7024 GB, free: 3.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/1.661, allocations: 4 kB / 0.7024 GB, free: 3.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008314/1.662, allocations: 392 kB / 0.7028 GB, free: 2.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.662, allocations: 8 kB / 0.7028 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.662, allocations: 0 / 0.7028 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/1.662, allocations: 46.11 kB / 0.7028 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/1.662, allocations: 79.84 kB / 0.7029 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2665/1.929, allocations: 2.459 MB / 0.7053 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/1.93, allocations: 16.28 kB / 0.7053 GB, free: 108.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/1.93, allocations: 12.12 kB / 0.7053 GB, free: 108.1 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002399/1.93, allocations: 118.2 kB / 0.7055 GB, free: 108 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009743/1.931, allocations: 310.9 kB / 0.7058 GB, free: 107.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.339e-05/1.931, allocations: 31.89 kB / 0.7058 GB, free: 107.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009834/1.932, allocations: 331.7 kB / 0.7061 GB, free: 107.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/1.932, allocations: 2.688 kB / 0.7061 GB, free: 107.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.932, allocations: 4.172 kB / 0.7061 GB, free: 107.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008228/1.933, allocations: 0.6014 MB / 0.7067 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/1.935, allocations: 0.6828 MB / 0.7074 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.935, allocations: 3.969 kB / 0.7074 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/1.935, allocations: 59.75 kB / 0.7074 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/1.935, allocations: 23.66 kB / 0.7074 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/1.935, allocations: 6.078 kB / 0.7074 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009294/1.936, allocations: 1.225 MB / 0.7086 GB, free: 105.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.936, allocations: 1.469 kB / 0.7086 GB, free: 105.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/1.937, allocations: 0.4991 MB / 0.7091 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/1.937, allocations: 94.64 kB / 0.7092 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/1.938, allocations: 8 kB / 0.7092 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/1.938, allocations: 9.781 kB / 0.7092 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/1.938, allocations: 15 kB / 0.7093 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/1.938, allocations: 16.41 kB / 0.7093 GB, free: 105.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002138/1.938, allocations: 153 kB / 0.7094 GB, free: 105.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.938, allocations: 1.969 kB / 0.7094 GB, free: 105.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008315/1.939, allocations: 112.6 kB / 0.7095 GB, free: 105.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.001682/1.941, allocations: 1.251 MB / 0.7107 GB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000896/1.942, allocations: 414.5 kB / 0.7111 GB, free: 104.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.942, allocations: 0 / 0.7111 GB, free: 104.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/1.942, allocations: 207.7 kB / 0.7113 GB, free: 104 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.944, allocations: 126.3 kB / 0.7115 GB, free: 104 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/1.945, allocations: 0.5498 MB / 0.712 GB, free: 103.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/1.946, allocations: 0.7676 MB / 0.7127 GB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/1.946, allocations: 95.33 kB / 0.7128 GB, free: 103.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.854e-06/1.946, allocations: 0 / 0.7128 GB, free: 103.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.819/4.765, allocations: 8.012 MB / 0.7207 GB, free: 103 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat