Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.24e-05/4.246e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4242, allocations: 54.86 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.81/2.235, allocations: 0.6066 GB / 0.958 GB, free: 121.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/2.235, allocations: 73.86 kB / 0.9581 GB, free: 121.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1527/2.388, allocations: 45.24 MB / 1.002 GB, free: 84.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/2.388, allocations: 0 / 1.002 GB, free: 84.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/2.388, allocations: 4 kB / 1.002 GB, free: 84.54 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006654/2.388, allocations: 429.6 kB / 1.003 GB, free: 84.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/2.388, allocations: 12.03 kB / 1.003 GB, free: 84.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/2.389, allocations: 33.06 kB / 1.003 GB, free: 84.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/2.389, allocations: 10.03 kB / 1.003 GB, free: 84.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/2.389, allocations: 163 kB / 1.003 GB, free: 83.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/2.389, allocations: 7.984 kB / 1.003 GB, free: 83.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/2.389, allocations: 10.88 kB / 1.003 GB, free: 83.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/2.389, allocations: 72.14 kB / 1.003 GB, free: 83.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/2.389, allocations: 3.906 kB / 1.003 GB, free: 83.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/2.389, allocations: 0 / 1.003 GB, free: 83.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/2.389, allocations: 8 kB / 1.003 GB, free: 83.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/2.389, allocations: 49.22 kB / 1.003 GB, free: 83.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/2.39, allocations: 380.3 kB / 1.003 GB, free: 83.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/2.39, allocations: 68.86 kB / 1.003 GB, free: 83.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/2.39, allocations: 16.48 kB / 1.003 GB, free: 83.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/2.391, allocations: 1.007 MB / 1.004 GB, free: 82.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/2.391, allocations: 34.55 kB / 1.005 GB, free: 81.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/2.391, allocations: 0 / 1.005 GB, free: 81.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.009425/2.401, allocations: 0.6087 MB / 1.005 GB, free: 81.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/2.401, allocations: 55.36 kB / 1.005 GB, free: 81.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/2.401, allocations: 101.7 kB / 1.005 GB, free: 81.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/2.401, allocations: 29.7 kB / 1.005 GB, free: 81.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/2.401, allocations: 165 kB / 1.005 GB, free: 81.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/2.401, allocations: 40.48 kB / 1.005 GB, free: 81.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/2.401, allocations: 6.5 kB / 1.005 GB, free: 81.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.203e-05/2.401, allocations: 320.7 kB / 1.006 GB, free: 80.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/2.402, allocations: 72.27 kB / 1.006 GB, free: 80.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/2.402, allocations: 91.25 kB / 1.006 GB, free: 80.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/2.402, allocations: 79.95 kB / 1.006 GB, free: 80.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/2.402, allocations: 7.875 kB / 1.006 GB, free: 80.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007558/2.403, allocations: 237.5 kB / 1.006 GB, free: 80.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/2.403, allocations: 4 kB / 1.006 GB, free: 80.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/2.403, allocations: 0 / 1.006 GB, free: 80.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/2.403, allocations: 4 kB / 1.006 GB, free: 80.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/2.404, allocations: 51.94 kB / 1.006 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/2.404, allocations: 3.938 kB / 1.006 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/2.405, allocations: 23.88 kB / 1.006 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/2.405, allocations: 15.98 kB / 1.006 GB, free: 80.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/2.405, allocations: 113 kB / 1.006 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/2.405, allocations: 4 kB / 1.006 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/2.406, allocations: 328.2 kB / 1.007 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/2.406, allocations: 0 / 1.007 GB, free: 79.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/2.406, allocations: 3.938 kB / 1.007 GB, free: 79.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/2.406, allocations: 7.984 kB / 1.007 GB, free: 79.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/2.408, allocations: 0.7198 MB / 1.007 GB, free: 78.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/2.408, allocations: 4.25 kB / 1.007 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009039/2.409, allocations: 47.91 kB / 1.008 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/2.409, allocations: 4 kB / 1.008 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/2.409, allocations: 3.984 kB / 1.008 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/2.409, allocations: 4 kB / 1.008 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.409, allocations: 0 / 1.008 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/2.41, allocations: 338 kB / 1.008 GB, free: 78.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/2.41, allocations: 104.9 kB / 1.008 GB, free: 78.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/2.41, allocations: 8 kB / 1.008 GB, free: 78.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/2.411, allocations: 11.98 kB / 1.008 GB, free: 78.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/2.411, allocations: 15.92 kB / 1.008 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/2.411, allocations: 11.98 kB / 1.008 GB, free: 78.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.608e-05/2.411, allocations: 79.28 kB / 1.008 GB, free: 78.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.411, allocations: 0 / 1.008 GB, free: 78.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000854/2.412, allocations: 151.8 kB / 1.008 GB, free: 78.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002107/2.414, allocations: 1.402 MB / 1.01 GB, free: 76.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006788/2.414, allocations: 191.9 kB / 1.01 GB, free: 76.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/2.414, allocations: 0 / 1.01 GB, free: 76.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/2.415, allocations: 114.6 kB / 1.01 GB, free: 76.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/2.415, allocations: 27.97 kB / 1.01 GB, free: 76.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/2.416, allocations: 276.3 kB / 1.01 GB, free: 75.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/2.417, allocations: 0.7007 MB / 1.011 GB, free: 75.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/2.417, allocations: 43.41 kB / 1.011 GB, free: 75.22 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/2.417, allocations: 0 / 1.011 GB, free: 75.22 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.678/5.095, allocations: 7.288 MB / 1.018 GB, free: 67.92 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat