Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.264e-05/4.281e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.27/11.4, allocations: 3.661 GB / 3.975 GB, free: 18.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/11.4, allocations: 95.92 kB / 3.975 GB, free: 18.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.618/14.02, allocations: 428.6 MB / 4.394 GB, free: 53.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/14.02, allocations: 0 / 4.394 GB, free: 53.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001102/14.02, allocations: 23.95 kB / 4.394 GB, free: 53.28 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01227/14.03, allocations: 2.342 MB / 4.396 GB, free: 52.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/14.03, allocations: 13.28 kB / 4.396 GB, free: 52.1 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003917/14.03, allocations: 123.5 kB / 4.396 GB, free: 52.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008909/14.03, allocations: 105.6 kB / 4.396 GB, free: 52.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/14.03, allocations: 0.6462 MB / 4.397 GB, free: 51.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/14.03, allocations: 123.7 kB / 4.397 GB, free: 51.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/14.03, allocations: 69.09 kB / 4.397 GB, free: 51.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/14.04, allocations: 1.128 MB / 4.398 GB, free: 51.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/14.04, allocations: 1.812 kB / 4.398 GB, free: 51.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/14.04, allocations: 32.53 kB / 4.398 GB, free: 51.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/14.04, allocations: 58.34 kB / 4.398 GB, free: 51.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004444/14.04, allocations: 1.123 MB / 4.399 GB, free: 51.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/14.06, allocations: 4.393 MB / 4.404 GB, free: 49.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/14.06, allocations: 0.7466 MB / 4.404 GB, free: 49.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/14.06, allocations: 385 kB / 4.405 GB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/14.06, allocations: 1.578 MB / 4.406 GB, free: 47.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/14.06, allocations: 40.91 kB / 4.406 GB, free: 47.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 5.481e-06/14.06, allocations: 3.938 kB / 4.406 GB, free: 47.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02329/14.09, allocations: 3.561 MB / 4.41 GB, free: 47.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/14.09, allocations: 111.8 kB / 4.41 GB, free: 47.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/14.09, allocations: 0.5408 MB / 4.41 GB, free: 46.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002638/14.09, allocations: 47.02 kB / 4.41 GB, free: 46.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/14.09, allocations: 437.3 kB / 4.411 GB, free: 46.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003242/14.09, allocations: 284.5 kB / 4.411 GB, free: 46.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/14.09, allocations: 21.97 kB / 4.411 GB, free: 46.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/14.09, allocations: 358 kB / 4.412 GB, free: 46.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/14.09, allocations: 428.3 kB / 4.412 GB, free: 46.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/14.09, allocations: 0.7394 MB / 4.413 GB, free: 45.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/14.09, allocations: 0.5247 MB / 4.413 GB, free: 45.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/14.09, allocations: 9.281 kB / 4.413 GB, free: 45.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004156/14.1, allocations: 1.488 MB / 4.415 GB, free: 45.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/14.1, allocations: 11.06 kB / 4.415 GB, free: 45.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/14.1, allocations: 7.469 kB / 4.415 GB, free: 45.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01247/14.11, allocations: 1.322 MB / 4.416 GB, free: 45.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/14.11, allocations: 172.2 kB / 4.416 GB, free: 45.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/14.11, allocations: 1.379 MB / 4.417 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/14.11, allocations: 95.03 kB / 4.418 GB, free: 45.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/14.12, allocations: 65.44 kB / 4.418 GB, free: 45.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.000368/14.12, allocations: 166.3 kB / 4.418 GB, free: 44.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/14.12, allocations: 80.5 kB / 4.418 GB, free: 44.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/14.12, allocations: 1.47 MB / 4.419 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/14.12, allocations: 8.469 kB / 4.419 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/14.12, allocations: 0 / 4.419 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/14.12, allocations: 7.469 kB / 4.419 GB, free: 44.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/14.13, allocations: 2.327 MB / 4.422 GB, free: 44.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/14.13, allocations: 0 / 4.422 GB, free: 44.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/14.13, allocations: 262.7 kB / 4.422 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/14.13, allocations: 309.8 kB / 4.422 GB, free: 44.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/14.13, allocations: 42.56 kB / 4.422 GB, free: 44.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/14.13, allocations: 2.155 MB / 4.424 GB, free: 42.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/14.13, allocations: 0 / 4.424 GB, free: 42.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/14.14, allocations: 1.824 MB / 4.426 GB, free: 41.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008229/14.14, allocations: 282.8 kB / 4.426 GB, free: 41.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/14.14, allocations: 29.73 kB / 4.426 GB, free: 41.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/14.14, allocations: 71.88 kB / 4.426 GB, free: 41.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/14.14, allocations: 60.31 kB / 4.426 GB, free: 41.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/14.14, allocations: 49.84 kB / 4.426 GB, free: 41.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008046/14.14, allocations: 447.8 kB / 4.427 GB, free: 41.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/14.14, allocations: 0 / 4.427 GB, free: 41.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003811/14.14, allocations: 0.8239 MB / 4.428 GB, free: 40.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.01111/14.16, allocations: 4.256 MB / 4.432 GB, free: 38.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005023/14.16, allocations: 1.117 MB / 4.433 GB, free: 38.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/14.16, allocations: 0 / 4.433 GB, free: 38.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003435/14.16, allocations: 0.618 MB / 4.434 GB, free: 38.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005241/14.17, allocations: 420.8 kB / 4.434 GB, free: 38.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/14.18, allocations: 2.216 MB / 4.436 GB, free: 37.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009683/14.18, allocations: 1.054 MB / 4.437 GB, free: 36.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/14.18, allocations: 345.7 kB / 4.438 GB, free: 36.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.964e-06/14.18, allocations: 0 / 4.438 GB, free: 36.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.657/17.84, allocations: 34.92 MB / 4.472 GB, free: 14.13 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat