Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.739e-05, allocations: 4 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4048, allocations: 54.86 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.909/2.314, allocations: 0.6367 GB / 0.9881 GB, free: 93.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/2.315, allocations: 92.69 kB / 0.9882 GB, free: 93.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117/3.432, allocations: 229.5 MB / 1.212 GB, free: 67.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.354e-06/3.432, allocations: 3.938 kB / 1.212 GB, free: 67.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.691e-05/3.432, allocations: 23.98 kB / 1.212 GB, free: 67.39 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003945/3.436, allocations: 1.157 MB / 1.213 GB, free: 66.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/3.436, allocations: 8.031 kB / 1.213 GB, free: 66.19 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/3.436, allocations: 94.52 kB / 1.214 GB, free: 66.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/3.438, allocations: 139 kB / 1.214 GB, free: 65.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/3.439, allocations: 0.5405 MB / 1.214 GB, free: 65.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/3.439, allocations: 104.4 kB / 1.214 GB, free: 65.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/3.44, allocations: 51.89 kB / 1.214 GB, free: 65.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/3.441, allocations: 0.7972 MB / 1.215 GB, free: 64.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/3.441, allocations: 3.953 kB / 1.215 GB, free: 64.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/3.442, allocations: 24 kB / 1.215 GB, free: 64.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.401e-05/3.442, allocations: 36.98 kB / 1.215 GB, free: 64.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/3.443, allocations: 0.5913 MB / 1.216 GB, free: 63.67 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.006584/3.45, allocations: 3.902 MB / 1.22 GB, free: 59.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/3.451, allocations: 323.3 kB / 1.22 GB, free: 59.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/3.451, allocations: 171 kB / 1.22 GB, free: 59.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/3.451, allocations: 25.05 kB / 1.22 GB, free: 58.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/3.451, allocations: 42.78 kB / 1.22 GB, free: 58.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.218e-06/3.451, allocations: 0 / 1.22 GB, free: 58.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008781/3.46, allocations: 1.505 MB / 1.222 GB, free: 57.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/3.46, allocations: 132.5 kB / 1.222 GB, free: 57.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009274/3.461, allocations: 0.5188 MB / 1.222 GB, free: 56.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/3.461, allocations: 33.7 kB / 1.222 GB, free: 56.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/3.462, allocations: 405.1 kB / 1.223 GB, free: 56.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/3.462, allocations: 150 kB / 1.223 GB, free: 56.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/3.462, allocations: 12 kB / 1.223 GB, free: 56.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.882e-05/3.462, allocations: 338.8 kB / 1.223 GB, free: 55.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/3.462, allocations: 197.5 kB / 1.223 GB, free: 55.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/3.463, allocations: 0.5083 MB / 1.224 GB, free: 54.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006483/3.464, allocations: 303.9 kB / 1.224 GB, free: 54.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/3.464, allocations: 4 kB / 1.224 GB, free: 54.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001943/3.466, allocations: 0.8026 MB / 1.225 GB, free: 53.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/3.466, allocations: 13.56 kB / 1.225 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/3.466, allocations: 8 kB / 1.225 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/3.468, allocations: 293.1 kB / 1.225 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/3.469, allocations: 135.8 kB / 1.225 GB, free: 53.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/3.47, allocations: 0.8943 MB / 1.226 GB, free: 52.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/3.471, allocations: 51.88 kB / 1.226 GB, free: 52.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/3.472, allocations: 75.98 kB / 1.226 GB, free: 52.28 MB / 490.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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/3.472, allocations: 156.7 kB / 1.226 GB, free: 52.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/3.472, allocations: 67.2 kB / 1.227 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/3.474, allocations: 0.6664 MB / 1.227 GB, free: 51.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/3.474, allocations: 4 kB / 1.227 GB, free: 51.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/3.474, allocations: 0 / 1.227 GB, free: 51.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/3.474, allocations: 0 / 1.227 GB, free: 51.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/3.477, allocations: 1.246 MB / 1.228 GB, free: 50.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/3.477, allocations: 0 / 1.228 GB, free: 50.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/3.479, allocations: 207.8 kB / 1.229 GB, free: 49.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/3.479, allocations: 28.73 kB / 1.229 GB, free: 49.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/3.479, allocations: 24.14 kB / 1.229 GB, free: 49.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/3.481, allocations: 2.665 MB / 1.231 GB, free: 46.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/3.481, allocations: 7.969 kB / 1.231 GB, free: 46.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/3.483, allocations: 0.8311 MB / 1.232 GB, free: 45.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/3.484, allocations: 188.2 kB / 1.232 GB, free: 45.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/3.484, allocations: 8 kB / 1.232 GB, free: 45.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/3.484, allocations: 31.91 kB / 1.232 GB, free: 45.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/3.485, allocations: 47.94 kB / 1.232 GB, free: 45.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.181e-05/3.485, allocations: 39.98 kB / 1.232 GB, free: 45.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007469/3.485, allocations: 411.2 kB / 1.233 GB, free: 45.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/3.485, allocations: 0 / 1.233 GB, free: 45.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002162/3.488, allocations: 383.8 kB / 1.233 GB, free: 44.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * 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: 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.004385/3.492, allocations: 2.683 MB / 1.236 GB, free: 42.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/3.494, allocations: 0.5197 MB / 1.236 GB, free: 41.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/3.494, allocations: 0 / 1.236 GB, free: 41.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/3.495, allocations: 386.3 kB / 1.237 GB, free: 41.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/3.498, allocations: 307.1 kB / 1.237 GB, free: 40.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/3.51, allocations: 2.653 MB / 1.24 GB, free: 38.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/3.51, allocations: 0.9416 MB / 1.24 GB, free: 37.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00083/3.511, allocations: 279.3 kB / 1.241 GB, free: 36.94 MB / 490.7 MB Notification: Performance of SimCode: time 1.293e-06/3.511, allocations: 0 / 1.241 GB, free: 36.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.246/6.758, allocations: 23.6 MB / 1.264 GB, free: 13.33 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat