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.938/1.938, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.651e-05, allocations: 8 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.488/1.592, allocations: 418.1 MB / 0.7226 GB, free: 91.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004192/1.593, allocations: 88.27 kB / 0.7227 GB, free: 91.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7167/2.31, allocations: 132.1 MB / 0.8517 GB, free: 99.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/2.31, allocations: 0 / 0.8517 GB, free: 99.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.565e-05/2.31, allocations: 15.75 kB / 0.8517 GB, free: 99.04 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.002275/2.312, allocations: 0.9041 MB / 0.8526 GB, free: 98.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/2.312, allocations: 11.22 kB / 0.8526 GB, free: 98.49 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/2.312, allocations: 98.06 kB / 0.8527 GB, free: 98.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004328/2.313, allocations: 85.44 kB / 0.8528 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/2.314, allocations: 0.5518 MB / 0.8533 GB, free: 98.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/2.314, allocations: 102 kB / 0.8534 GB, free: 98.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/2.314, allocations: 51.17 kB / 0.8535 GB, free: 98.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/2.316, allocations: 0.8007 MB / 0.8542 GB, free: 97.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/2.316, allocations: 3 kB / 0.8542 GB, free: 97.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/2.316, allocations: 21.41 kB / 0.8543 GB, free: 97.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.752e-05/2.316, allocations: 42.36 kB / 0.8543 GB, free: 97.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/2.318, allocations: 0.6238 MB / 0.8549 GB, free: 97.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/2.323, allocations: 3.637 MB / 0.8585 GB, free: 95.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/2.324, allocations: 386.1 kB / 0.8588 GB, free: 95.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/2.325, allocations: 199.6 kB / 0.859 GB, free: 95.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002479/2.327, allocations: 1.648 MB / 0.8606 GB, free: 94.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/2.327, allocations: 35.81 kB / 0.8607 GB, free: 94.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.937e-06/2.327, allocations: 3.656 kB / 0.8607 GB, free: 94.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.003628/2.331, allocations: 1.291 MB / 0.8619 GB, free: 93.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/2.331, allocations: 145.6 kB / 0.8621 GB, free: 93.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007885/2.332, allocations: 498.7 kB / 0.8625 GB, free: 93.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/2.332, allocations: 37.61 kB / 0.8626 GB, free: 93.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/2.332, allocations: 412.9 kB / 0.863 GB, free: 93.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/2.332, allocations: 150.6 kB / 0.8631 GB, free: 93.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/2.333, allocations: 12 kB / 0.8631 GB, free: 93.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/2.333, allocations: 340.9 kB / 0.8635 GB, free: 92.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/2.333, allocations: 199.4 kB / 0.8636 GB, free: 92.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/2.334, allocations: 0.5315 MB / 0.8642 GB, free: 92.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/2.334, allocations: 305.7 kB / 0.8645 GB, free: 92.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/2.334, allocations: 3.906 kB / 0.8645 GB, free: 92.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002023/2.336, allocations: 0.847 MB / 0.8653 GB, free: 91.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/2.337, allocations: 10.59 kB / 0.8653 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/2.337, allocations: 11.38 kB / 0.8653 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/2.338, allocations: 252.3 kB / 0.8655 GB, free: 91.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/2.339, allocations: 138.1 kB / 0.8657 GB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/2.34, allocations: 0.8374 MB / 0.8665 GB, free: 91.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/2.341, allocations: 56.56 kB / 0.8666 GB, free: 91.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/2.342, allocations: 46.73 kB / 0.8666 GB, free: 91.12 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.0002328/2.342, allocations: 152.4 kB / 0.8667 GB, free: 90.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/2.342, allocations: 66.28 kB / 0.8668 GB, free: 90.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/2.344, allocations: 0.7182 MB / 0.8675 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/2.344, allocations: 3.812 kB / 0.8675 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/2.344, allocations: 3.953 kB / 0.8675 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/2.344, allocations: 3.75 kB / 0.8675 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/2.346, allocations: 1.323 MB / 0.8688 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/2.346, allocations: 7.719 kB / 0.8688 GB, free: 89.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/2.348, allocations: 200.5 kB / 0.869 GB, free: 89.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/2.348, allocations: 24.41 kB / 0.869 GB, free: 89.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/2.348, allocations: 15 kB / 0.869 GB, free: 89.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/2.351, allocations: 2.674 MB / 0.8717 GB, free: 87.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.351, allocations: 3.75 kB / 0.8717 GB, free: 87.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/2.352, allocations: 0.9954 MB / 0.8726 GB, free: 86.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/2.353, allocations: 190.2 kB / 0.8728 GB, free: 86.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/2.353, allocations: 19.59 kB / 0.8728 GB, free: 86.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/2.354, allocations: 35.09 kB / 0.8729 GB, free: 86.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/2.354, allocations: 38.12 kB / 0.8729 GB, free: 86.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/2.354, allocations: 19.11 kB / 0.8729 GB, free: 86.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006576/2.355, allocations: 391.3 kB / 0.8733 GB, free: 85.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.355, allocations: 0 / 0.8733 GB, free: 85.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00121/2.356, allocations: 230.2 kB / 0.8735 GB, free: 85.93 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.002841/2.359, allocations: 2.204 MB / 0.8757 GB, free: 84.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/2.361, allocations: 0.5753 MB / 0.8762 GB, free: 84.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/2.361, allocations: 0 / 0.8762 GB, free: 84.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/2.362, allocations: 408.8 kB / 0.8766 GB, free: 83.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/2.365, allocations: 302.8 kB / 0.8769 GB, free: 83.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/2.368, allocations: 1.194 MB / 0.8781 GB, free: 83.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/2.368, allocations: 0.9429 MB / 0.879 GB, free: 82.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/2.369, allocations: 243.8 kB / 0.8792 GB, free: 82.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/2.369, allocations: 0 / 0.8792 GB, free: 82.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.315/5.684, allocations: 18.27 MB / 0.8971 GB, free: 77.64 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