Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.547/2.547, allocations: 235 MB / 247.6 MB, free: 14.42 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.572e-05/4.58e-05, allocations: 7.984 kB / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4111, allocations: 54.85 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.86/2.271, allocations: 0.5928 GB / 0.9442 GB, free: 134.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/2.271, allocations: 69.16 kB / 0.9443 GB, free: 134.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2251/2.496, allocations: 60.97 MB / 1.004 GB, free: 85.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/2.496, allocations: 0 / 1.004 GB, free: 85.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/2.496, allocations: 4 kB / 1.004 GB, free: 85.06 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002157/2.499, allocations: 0.7168 MB / 1.005 GB, free: 84.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/2.499, allocations: 8.031 kB / 1.005 GB, free: 84.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.284e-05/2.499, allocations: 54.55 kB / 1.005 GB, free: 84.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/2.512, allocations: 0.5898 MB / 1.005 GB, free: 83.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/2.513, allocations: 254.8 kB / 1.005 GB, free: 83.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/2.513, allocations: 135.3 kB / 1.006 GB, free: 83.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/2.513, allocations: 23.98 kB / 1.006 GB, free: 83.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/2.514, allocations: 0.5155 MB / 1.006 GB, free: 82.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/2.514, allocations: 8 kB / 1.006 GB, free: 82.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/2.514, allocations: 12 kB / 1.006 GB, free: 82.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/2.514, allocations: 4 kB / 1.006 GB, free: 82.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/2.516, allocations: 0.5628 MB / 1.007 GB, free: 82.03 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/2.519, allocations: 1.635 MB / 1.008 GB, free: 80.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/2.519, allocations: 142.5 kB / 1.008 GB, free: 80.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/2.519, allocations: 76.83 kB / 1.008 GB, free: 80.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008996/2.52, allocations: 0.6975 MB / 1.009 GB, free: 79.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/2.52, allocations: 38.56 kB / 1.009 GB, free: 79.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/2.52, allocations: 4 kB / 1.009 GB, free: 79.21 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001212/2.521, allocations: 271.4 kB / 1.009 GB, free: 78.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/2.521, allocations: 51.41 kB / 1.009 GB, free: 78.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/2.522, allocations: 170.5 kB / 1.01 GB, free: 78.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/2.522, allocations: 29.64 kB / 1.01 GB, free: 78.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/2.522, allocations: 261.8 kB / 1.01 GB, free: 78.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/2.522, allocations: 63.11 kB / 1.01 GB, free: 78.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/2.522, allocations: 8 kB / 1.01 GB, free: 78.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.066e-05/2.522, allocations: 322.8 kB / 1.01 GB, free: 78.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/2.522, allocations: 60.73 kB / 1.01 GB, free: 77.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/2.522, allocations: 251.7 kB / 1.011 GB, free: 77.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/2.523, allocations: 104.6 kB / 1.011 GB, free: 77.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/2.523, allocations: 8 kB / 1.011 GB, free: 77.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007381/2.523, allocations: 338.2 kB / 1.011 GB, free: 77.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/2.524, allocations: 11.95 kB / 1.011 GB, free: 77.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/2.524, allocations: 8 kB / 1.011 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/2.524, allocations: 8 kB / 1.011 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/2.524, allocations: 123.8 kB / 1.011 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003205/2.525, allocations: 0.6059 MB / 1.012 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/2.525, allocations: 35.59 kB / 1.012 GB, free: 76.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/2.525, allocations: 43.98 kB / 1.012 GB, free: 76.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001701/2.525, allocations: 136.8 kB / 1.012 GB, free: 76.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.012e-05/2.525, allocations: 23.75 kB / 1.012 GB, free: 76.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/2.526, allocations: 294 kB / 1.012 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/2.526, allocations: 3.938 kB / 1.012 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/2.526, allocations: 0 / 1.012 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/2.527, allocations: 4 kB / 1.012 GB, free: 75.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008325/2.527, allocations: 0.525 MB / 1.013 GB, free: 75.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.527, allocations: 4 kB / 1.013 GB, free: 75.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/2.528, allocations: 59.91 kB / 1.013 GB, free: 75.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/2.528, allocations: 7.984 kB / 1.013 GB, free: 75.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/2.528, allocations: 8 kB / 1.013 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002721/2.528, allocations: 0.5977 MB / 1.013 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/2.528, allocations: 3.984 kB / 1.013 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/2.529, allocations: 323.4 kB / 1.014 GB, free: 74.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/2.529, allocations: 120.8 kB / 1.014 GB, free: 74.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/2.529, allocations: 7.938 kB / 1.014 GB, free: 74.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/2.529, allocations: 11.98 kB / 1.014 GB, free: 74.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/2.529, allocations: 23.94 kB / 1.014 GB, free: 73.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/2.529, allocations: 19.98 kB / 1.014 GB, free: 73.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000133/2.529, allocations: 135 kB / 1.014 GB, free: 73.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.529, allocations: 0 / 1.014 GB, free: 73.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001243/2.531, allocations: 239.8 kB / 1.014 GB, free: 73.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002238/2.533, allocations: 1.772 MB / 1.016 GB, free: 71.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007275/2.534, allocations: 193.4 kB / 1.016 GB, free: 71.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/2.534, allocations: 4.125 kB / 1.016 GB, free: 71.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/2.534, allocations: 79.84 kB / 1.016 GB, free: 71.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/2.535, allocations: 48.14 kB / 1.016 GB, free: 71.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1163/2.651, allocations: 32.42 MB / 1.048 GB, free: 38.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/2.651, allocations: 0.7286 MB / 1.049 GB, free: 38.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/2.652, allocations: 103.4 kB / 1.049 GB, free: 37.99 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/2.652, allocations: 0 / 1.049 GB, free: 37.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.918/5.57, allocations: 9.205 MB / 1.058 GB, free: 28.77 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat