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.942/1.942, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.614e-05, allocations: 0 / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.437/1.553, allocations: 418.1 MB / 0.7226 GB, free: 90.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/1.553, allocations: 96.3 kB / 0.7227 GB, free: 90.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7475/2.301, allocations: 132.1 MB / 0.8517 GB, free: 98.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/2.301, allocations: 0 / 0.8517 GB, free: 98.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.923e-05/2.301, allocations: 25.11 kB / 0.8517 GB, free: 98.96 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.00254/2.304, allocations: 0.8963 MB / 0.8526 GB, free: 98.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/2.304, allocations: 11.56 kB / 0.8526 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/2.304, allocations: 95.84 kB / 0.8527 GB, free: 98.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005165/2.304, allocations: 98.08 kB / 0.8528 GB, free: 98.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/2.306, allocations: 0.551 MB / 0.8534 GB, free: 98.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/2.306, allocations: 100.2 kB / 0.8534 GB, free: 98.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/2.306, allocations: 51.42 kB / 0.8535 GB, free: 98.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/2.308, allocations: 0.7806 MB / 0.8543 GB, free: 97.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/2.308, allocations: 3.75 kB / 0.8543 GB, free: 97.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/2.308, allocations: 22.94 kB / 0.8543 GB, free: 97.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.571e-05/2.308, allocations: 43.25 kB / 0.8543 GB, free: 97.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/2.31, allocations: 0.6126 MB / 0.8549 GB, free: 97.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007709/2.317, allocations: 3.64 MB / 0.8585 GB, free: 95.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/2.319, allocations: 383.5 kB / 0.8588 GB, free: 95.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/2.319, allocations: 192.6 kB / 0.859 GB, free: 95.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003476/2.323, allocations: 1.643 MB / 0.8606 GB, free: 94.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/2.323, allocations: 38.69 kB / 0.8607 GB, free: 94.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 4.168e-06/2.323, allocations: 0 / 0.8607 GB, free: 94.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.005285/2.328, allocations: 1.294 MB / 0.8619 GB, free: 93.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/2.328, allocations: 143.8 kB / 0.8621 GB, free: 93.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/2.33, allocations: 492.9 kB / 0.8625 GB, free: 93.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/2.33, allocations: 35.52 kB / 0.8626 GB, free: 93.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/2.33, allocations: 420.9 kB / 0.863 GB, free: 93.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/2.33, allocations: 151.3 kB / 0.8631 GB, free: 93.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/2.33, allocations: 11.34 kB / 0.8631 GB, free: 93.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/2.331, allocations: 345 kB / 0.8635 GB, free: 92.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/2.331, allocations: 199.8 kB / 0.8637 GB, free: 92.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/2.332, allocations: 0.5215 MB / 0.8642 GB, free: 92.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/2.333, allocations: 306.2 kB / 0.8645 GB, free: 92.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/2.333, allocations: 3.875 kB / 0.8645 GB, free: 92.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002938/2.336, allocations: 0.8205 MB / 0.8653 GB, free: 91.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/2.336, allocations: 7.812 kB / 0.8653 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/2.336, allocations: 11.88 kB / 0.8653 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/2.339, allocations: 255.4 kB / 0.8655 GB, free: 91.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/2.34, allocations: 134.7 kB / 0.8656 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/2.342, allocations: 0.8431 MB / 0.8665 GB, free: 91.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/2.343, allocations: 46.97 kB / 0.8665 GB, free: 91.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/2.343, allocations: 50.33 kB / 0.8666 GB, free: 91.13 MB / 426.7 MB 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002954/2.344, allocations: 155.9 kB / 0.8667 GB, free: 90.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/2.344, allocations: 65.41 kB / 0.8668 GB, free: 90.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/2.346, allocations: 0.716 MB / 0.8675 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/2.346, allocations: 3.969 kB / 0.8675 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/2.346, allocations: 3.938 kB / 0.8675 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/2.346, allocations: 7.75 kB / 0.8675 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/2.35, allocations: 1.317 MB / 0.8688 GB, free: 89.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/2.35, allocations: 0 / 0.8688 GB, free: 89.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/2.353, allocations: 200.8 kB / 0.869 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/2.353, allocations: 20 kB / 0.869 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/2.353, allocations: 15.44 kB / 0.869 GB, free: 89.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/2.355, allocations: 2.678 MB / 0.8716 GB, free: 87.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/2.356, allocations: 0 / 0.8716 GB, free: 87.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/2.358, allocations: 1.001 MB / 0.8726 GB, free: 86.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/2.359, allocations: 206.1 kB / 0.8728 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/2.359, allocations: 11.69 kB / 0.8728 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/2.36, allocations: 23.52 kB / 0.8728 GB, free: 86.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/2.36, allocations: 46.81 kB / 0.8729 GB, free: 86.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.47e-05/2.36, allocations: 23.22 kB / 0.8729 GB, free: 86.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009456/2.361, allocations: 397.5 kB / 0.8733 GB, free: 85.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.82e-07/2.361, allocations: 0 / 0.8733 GB, free: 85.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001895/2.363, allocations: 235.1 kB / 0.8735 GB, free: 85.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * 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.003688/2.367, allocations: 2.206 MB / 0.8756 GB, free: 84.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/2.369, allocations: 0.5468 MB / 0.8762 GB, free: 84.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.369, allocations: 0 / 0.8762 GB, free: 84.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/2.371, allocations: 396.3 kB / 0.8766 GB, free: 83.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/2.374, allocations: 300 kB / 0.8768 GB, free: 83.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/2.379, allocations: 1.186 MB / 0.878 GB, free: 83.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/2.38, allocations: 0.9448 MB / 0.8789 GB, free: 82.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/2.38, allocations: 243.2 kB / 0.8792 GB, free: 82.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/2.38, allocations: 0 / 0.8792 GB, free: 82.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.092/5.473, allocations: 18.26 MB / 0.897 GB, free: 77.62 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