Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.87e-05, allocations: 7.984 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 48.69 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.47/1.573, allocations: 417.7 MB / 0.7168 GB, free: 85.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/1.574, allocations: 95.72 kB / 0.7169 GB, free: 85.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7321/2.306, allocations: 131 MB / 0.8448 GB, free: 105.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/2.306, allocations: 0 / 0.8448 GB, free: 105.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.043e-05/2.306, allocations: 24.38 kB / 0.8448 GB, free: 105.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00248/2.308, allocations: 0.896 MB / 0.8457 GB, free: 104.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/2.308, allocations: 10.66 kB / 0.8457 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/2.309, allocations: 93.19 kB / 0.8458 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/2.31, allocations: 0.5493 MB / 0.8464 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/2.311, allocations: 88.94 kB / 0.8464 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/2.311, allocations: 28.52 kB / 0.8465 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/2.312, allocations: 0.5582 MB / 0.847 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/2.313, allocations: 0.7146 MB / 0.8477 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/2.313, allocations: 0.8438 kB / 0.8477 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/2.314, allocations: 3.906 kB / 0.8477 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.337e-05/2.314, allocations: 42.25 kB / 0.8478 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006007/2.32, allocations: 3.773 MB / 0.8514 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/2.321, allocations: 307.5 kB / 0.8517 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/2.321, allocations: 170.2 kB / 0.8519 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002439/2.323, allocations: 1.374 MB / 0.8532 GB, free: 99.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/2.323, allocations: 41.73 kB / 0.8533 GB, free: 99.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.757e-06/2.323, allocations: 3.438 kB / 0.8533 GB, free: 99.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.004277/2.328, allocations: 1.153 MB / 0.8544 GB, free: 99.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/2.328, allocations: 136.3 kB / 0.8545 GB, free: 99.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/2.329, allocations: 492.3 kB / 0.855 GB, free: 98.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/2.329, allocations: 26.14 kB / 0.855 GB, free: 98.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/2.329, allocations: 450.5 kB / 0.8555 GB, free: 98.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.329, allocations: 114.2 kB / 0.8556 GB, free: 98.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/2.329, allocations: 0 / 0.8556 GB, free: 98.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/2.329, allocations: 345 kB / 0.8559 GB, free: 97.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/2.33, allocations: 186.4 kB / 0.8561 GB, free: 97.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/2.33, allocations: 0.5089 MB / 0.8566 GB, free: 97.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/2.331, allocations: 309 kB / 0.8569 GB, free: 97.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/2.331, allocations: 3.875 kB / 0.8569 GB, free: 97.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002645/2.334, allocations: 0.8205 MB / 0.8577 GB, free: 96.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/2.334, allocations: 12.53 kB / 0.8577 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/2.334, allocations: 11 kB / 0.8577 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/2.336, allocations: 215.1 kB / 0.8579 GB, free: 96.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/2.336, allocations: 137.6 kB / 0.858 GB, free: 96.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/2.338, allocations: 0.8584 MB / 0.8589 GB, free: 96.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/2.339, allocations: 38.81 kB / 0.8589 GB, free: 96.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.804e-05/2.339, allocations: 38.38 kB / 0.8589 GB, free: 96.25 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (77): * Single equations (assignments): 76 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002604/2.339, allocations: 148.2 kB / 0.8591 GB, free: 96.12 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00125/2.341, allocations: 474.8 kB / 0.8595 GB, free: 95.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/2.341, allocations: 62.53 kB / 0.8596 GB, free: 95.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/2.342, allocations: 0.5283 MB / 0.8601 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/2.342, allocations: 3.469 kB / 0.8601 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/2.342, allocations: 0 / 0.8601 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/2.342, allocations: 7 kB / 0.8601 GB, free: 95.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/2.345, allocations: 1.071 MB / 0.8612 GB, free: 94.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/2.345, allocations: 0 / 0.8612 GB, free: 94.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/2.347, allocations: 182.7 kB / 0.8613 GB, free: 94.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/2.347, allocations: 20.53 kB / 0.8614 GB, free: 94.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/2.347, allocations: 7.172 kB / 0.8614 GB, free: 94.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/2.349, allocations: 2.585 MB / 0.8639 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/2.349, allocations: 3.656 kB / 0.8639 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/2.35, allocations: 0.746 MB / 0.8646 GB, free: 91.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/2.351, allocations: 183.1 kB / 0.8648 GB, free: 91.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/2.351, allocations: 7.891 kB / 0.8648 GB, free: 91.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/2.352, allocations: 15.53 kB / 0.8648 GB, free: 91.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/2.352, allocations: 31.22 kB / 0.8649 GB, free: 91.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-05/2.352, allocations: 19.42 kB / 0.8649 GB, free: 91.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005954/2.352, allocations: 361.3 kB / 0.8652 GB, free: 91.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.352, allocations: 0 / 0.8652 GB, free: 91.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001271/2.354, allocations: 212.2 kB / 0.8654 GB, free: 91.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (35): * Single equations (assignments): 31 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002535/2.356, allocations: 1.527 MB / 0.8669 GB, free: 90.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/2.358, allocations: 0.4885 MB / 0.8674 GB, free: 90.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/2.358, allocations: 3.938 kB / 0.8674 GB, free: 90.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/2.359, allocations: 346.4 kB / 0.8677 GB, free: 90.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/2.361, allocations: 245.8 kB / 0.868 GB, free: 90.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/2.364, allocations: 1.051 MB / 0.869 GB, free: 89.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/2.365, allocations: 0.948 MB / 0.8699 GB, free: 88.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/2.365, allocations: 232.6 kB / 0.8701 GB, free: 88.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/2.365, allocations: 0 / 0.8701 GB, free: 88.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.213/5.578, allocations: 17.83 MB / 0.8875 GB, free: 82.04 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat