Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.547e-05, allocations: 4 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.935/2.038, allocations: 0.6299 GB / 0.9443 GB, free: 30.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/2.038, allocations: 94.94 kB / 0.9444 GB, free: 30.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363/3.402, allocations: 229.4 MB / 1.168 GB, free: 68.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/3.402, allocations: 0 / 1.168 GB, free: 68.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.261e-05/3.402, allocations: 19.94 kB / 1.168 GB, free: 68.6 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.003909/3.406, allocations: 1.15 MB / 1.17 GB, free: 68.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/3.406, allocations: 7.812 kB / 1.17 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/3.406, allocations: 99.95 kB / 1.17 GB, free: 68.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/3.407, allocations: 136.9 kB / 1.17 GB, free: 67.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/3.409, allocations: 0.5463 MB / 1.17 GB, free: 67.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/3.409, allocations: 104.8 kB / 1.17 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/3.409, allocations: 55.33 kB / 1.17 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/3.411, allocations: 0.7904 MB / 1.171 GB, free: 67.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/3.411, allocations: 5.219 kB / 1.171 GB, free: 67.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/3.411, allocations: 21.03 kB / 1.171 GB, free: 67.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.997e-05/3.411, allocations: 40.92 kB / 1.171 GB, free: 67.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/3.413, allocations: 0.5852 MB / 1.172 GB, free: 67.47 MB / 426.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.006144/3.419, allocations: 3.913 MB / 1.176 GB, free: 64.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/3.42, allocations: 317.1 kB / 1.176 GB, free: 64.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/3.42, allocations: 166.1 kB / 1.176 GB, free: 64.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/3.42, allocations: 27.86 kB / 1.176 GB, free: 64.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/3.42, allocations: 42.03 kB / 1.176 GB, free: 64.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.967e-06/3.42, allocations: 0 / 1.176 GB, free: 64.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008632/3.429, allocations: 1.498 MB / 1.178 GB, free: 64.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/3.429, allocations: 135.7 kB / 1.178 GB, free: 64.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/3.43, allocations: 0.5247 MB / 1.178 GB, free: 64.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/3.43, allocations: 38.36 kB / 1.178 GB, free: 64.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/3.43, allocations: 406.4 kB / 1.179 GB, free: 63.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/3.43, allocations: 146.4 kB / 1.179 GB, free: 63.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/3.431, allocations: 13.44 kB / 1.179 GB, free: 63.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/3.431, allocations: 345.4 kB / 1.179 GB, free: 63.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/3.431, allocations: 189.6 kB / 1.179 GB, free: 63.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/3.432, allocations: 0.5186 MB / 1.18 GB, free: 62.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/3.433, allocations: 301.7 kB / 1.18 GB, free: 62.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/3.433, allocations: 2.844 kB / 1.18 GB, free: 62.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001927/3.434, allocations: 0.8023 MB / 1.181 GB, free: 62.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/3.435, allocations: 11.42 kB / 1.181 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/3.435, allocations: 13.53 kB / 1.181 GB, free: 62.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/3.437, allocations: 303 kB / 1.181 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/3.438, allocations: 134.7 kB / 1.181 GB, free: 62.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/3.439, allocations: 0.8964 MB / 1.182 GB, free: 62.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/3.44, allocations: 49.03 kB / 1.182 GB, free: 62.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/3.44, allocations: 68.95 kB / 1.182 GB, free: 62.38 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 (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.0002373/3.44, allocations: 157.2 kB / 1.183 GB, free: 62.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/3.441, allocations: 70.28 kB / 1.183 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/3.443, allocations: 0.6559 MB / 1.183 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/3.443, allocations: 6.719 kB / 1.183 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/3.443, allocations: 3.562 kB / 1.183 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/3.443, allocations: 3.375 kB / 1.183 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/3.445, allocations: 1.244 MB / 1.184 GB, free: 61.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/3.445, allocations: 0 / 1.184 GB, free: 61.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/3.447, allocations: 212.8 kB / 1.185 GB, free: 61.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/3.448, allocations: 25.19 kB / 1.185 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/3.448, allocations: 17.38 kB / 1.185 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/3.45, allocations: 2.677 MB / 1.187 GB, free: 59.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/3.45, allocations: 1.125 kB / 1.187 GB, free: 59.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/3.452, allocations: 0.8472 MB / 1.188 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/3.452, allocations: 174.1 kB / 1.188 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/3.452, allocations: 11.52 kB / 1.188 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/3.453, allocations: 31.09 kB / 1.188 GB, free: 58.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/3.453, allocations: 41.47 kB / 1.188 GB, free: 58.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/3.453, allocations: 43.69 kB / 1.188 GB, free: 58.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006912/3.454, allocations: 409.1 kB / 1.189 GB, free: 58.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.5e-07/3.454, allocations: 4.562 kB / 1.189 GB, free: 58.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001923/3.456, allocations: 392 kB / 1.189 GB, free: 58.56 MB / 426.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.004191/3.46, allocations: 2.655 MB / 1.192 GB, free: 57.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/3.462, allocations: 0.5181 MB / 1.192 GB, free: 57.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/3.462, allocations: 3.406 kB / 1.192 GB, free: 57.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/3.463, allocations: 377.3 kB / 1.193 GB, free: 57.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/3.466, allocations: 325.4 kB / 1.193 GB, free: 57.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/3.477, allocations: 2.638 MB / 1.196 GB, free: 56.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/3.477, allocations: 0.938 MB / 1.196 GB, free: 56.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008094/3.478, allocations: 283.5 kB / 1.197 GB, free: 56.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.462e-06/3.478, allocations: 0 / 1.197 GB, free: 56.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.276/6.754, allocations: 23.6 MB / 1.22 GB, free: 54.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.DryAirNasa_res.mat does not exist to compare? outputFormat=mat