Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.276e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3118, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.24/10.55, allocations: 3.616 GB / 3.903 GB, free: 30.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/10.55, allocations: 89.81 kB / 3.904 GB, free: 30.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734/12.28, allocations: 318.9 MB / 4.215 GB, free: 46.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/12.28, allocations: 7.5 kB / 4.215 GB, free: 46.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.623e-05/12.28, allocations: 8 kB / 4.215 GB, free: 46.59 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00527/12.29, allocations: 1.555 MB / 4.216 GB, free: 44.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/12.29, allocations: 8.031 kB / 4.216 GB, free: 44.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/12.29, allocations: 59.47 kB / 4.217 GB, free: 44.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/12.29, allocations: 348.3 kB / 4.217 GB, free: 44.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/12.29, allocations: 12 kB / 4.217 GB, free: 44.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/12.29, allocations: 32 kB / 4.217 GB, free: 44.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001231/12.29, allocations: 0.5531 MB / 4.217 GB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/12.29, allocations: 435.8 kB / 4.218 GB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/12.29, allocations: 3.906 kB / 4.218 GB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/12.29, allocations: 12 kB / 4.218 GB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/12.29, allocations: 11.95 kB / 4.218 GB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003993/12.3, allocations: 2.079 MB / 4.22 GB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/12.3, allocations: 0.5309 MB / 4.22 GB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/12.3, allocations: 238.5 kB / 4.221 GB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005971/12.3, allocations: 0.6956 MB / 4.221 GB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/12.3, allocations: 43 kB / 4.221 GB, free: 39.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.226e-06/12.3, allocations: 0 / 4.221 GB, free: 39.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01706/12.32, allocations: 2.822 MB / 4.224 GB, free: 36.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/12.32, allocations: 59.91 kB / 4.224 GB, free: 36.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/12.32, allocations: 206.9 kB / 4.224 GB, free: 36.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.791e-05/12.32, allocations: 29.7 kB / 4.224 GB, free: 36.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/12.32, allocations: 259.4 kB / 4.225 GB, free: 36.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/12.32, allocations: 212.8 kB / 4.225 GB, free: 35.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/12.32, allocations: 0 / 4.225 GB, free: 35.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.882e-05/12.32, allocations: 334.8 kB / 4.225 GB, free: 35.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/12.32, allocations: 257.5 kB / 4.225 GB, free: 35.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/12.32, allocations: 324.1 kB / 4.226 GB, free: 34.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/12.32, allocations: 368.4 kB / 4.226 GB, free: 34.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/12.32, allocations: 3.656 kB / 4.226 GB, free: 34.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002714/12.32, allocations: 0.8967 MB / 4.227 GB, free: 33.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/12.32, allocations: 8 kB / 4.227 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/12.32, allocations: 0 / 4.227 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/12.32, allocations: 262.4 kB / 4.227 GB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/12.33, allocations: 119.8 kB / 4.227 GB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/12.33, allocations: 3.334 MB / 4.231 GB, free: 29.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/12.33, allocations: 51.86 kB / 4.231 GB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/12.33, allocations: 27.98 kB / 4.231 GB, free: 29.64 MB / 410.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002983/12.33, allocations: 125.2 kB / 4.231 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007161/12.34, allocations: 1.196 MB / 4.232 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/12.34, allocations: 43.48 kB / 4.232 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006407/12.34, allocations: 1.243 MB / 4.233 GB, free: 27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/12.34, allocations: 11.98 kB / 4.233 GB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/12.34, allocations: 0 / 4.233 GB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005717/12.35, allocations: 1.297 MB / 4.234 GB, free: 25.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/12.35, allocations: 1.528 MB / 4.236 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/12.35, allocations: 7.938 kB / 4.236 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009961/12.35, allocations: 111.9 kB / 4.236 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/12.36, allocations: 304.4 kB / 4.236 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/12.36, allocations: 15.98 kB / 4.236 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/12.36, allocations: 0.8002 MB / 4.237 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/12.36, allocations: 0 / 4.237 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/12.36, allocations: 1.514 MB / 4.239 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/12.36, allocations: 116.7 kB / 4.239 GB, free: 21.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/12.36, allocations: 4 kB / 4.239 GB, free: 21.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/12.36, allocations: 47.89 kB / 4.239 GB, free: 21.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/12.36, allocations: 43.88 kB / 4.239 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.581e-05/12.36, allocations: 39.97 kB / 4.239 GB, free: 21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001895/12.37, allocations: 168.5 kB / 4.239 GB, free: 20.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/12.37, allocations: 4 kB / 4.239 GB, free: 20.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002141/12.37, allocations: 0.4955 MB / 4.24 GB, free: 20.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009108/12.38, allocations: 3.373 MB / 4.243 GB, free: 17.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001945/12.38, allocations: 0.8732 MB / 4.244 GB, free: 16.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/12.38, allocations: 0 / 4.244 GB, free: 16.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009155/12.38, allocations: 366.2 kB / 4.244 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/12.38, allocations: 216.8 kB / 4.244 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/12.39, allocations: 1.283 MB / 4.246 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/12.39, allocations: 0.8531 MB / 4.246 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/12.39, allocations: 175.4 kB / 4.247 GB, free: 13.21 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/12.39, allocations: 0 / 4.247 GB, free: 13.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.668/16.05, allocations: 22.29 MB / 4.268 GB, free: 61.81 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.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat