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 2.054/2.054, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.764e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.056/2.165, allocations: 0.6299 GB / 0.9442 GB, free: 31.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/2.165, allocations: 94.31 kB / 0.9443 GB, free: 31.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439/3.604, allocations: 229.4 MB / 1.168 GB, free: 69.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/3.604, allocations: 0 / 1.168 GB, free: 69.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.809e-05/3.604, allocations: 25.17 kB / 1.168 GB, free: 69.24 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.003822/3.608, allocations: 1.146 MB / 1.169 GB, free: 68.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/3.608, allocations: 14.7 kB / 1.17 GB, free: 68.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/3.609, allocations: 98.36 kB / 1.17 GB, free: 68.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/3.61, allocations: 131.4 kB / 1.17 GB, free: 68.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/3.611, allocations: 0.5494 MB / 1.17 GB, free: 68.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/3.612, allocations: 100.9 kB / 1.17 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/3.612, allocations: 50.75 kB / 1.17 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/3.613, allocations: 0.7979 MB / 1.171 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/3.613, allocations: 1.125 kB / 1.171 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/3.614, allocations: 23.69 kB / 1.171 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.273e-05/3.614, allocations: 44.33 kB / 1.171 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/3.615, allocations: 0.6024 MB / 1.172 GB, free: 68.12 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.005954/3.621, allocations: 3.9 MB / 1.176 GB, free: 65.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/3.622, allocations: 326.2 kB / 1.176 GB, free: 65.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/3.622, allocations: 169.8 kB / 1.176 GB, free: 65.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/3.622, allocations: 23.8 kB / 1.176 GB, free: 65.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/3.623, allocations: 44 kB / 1.176 GB, free: 65.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 4.258e-06/3.623, allocations: 3.609 kB / 1.176 GB, free: 65.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008615/3.631, allocations: 1.5 MB / 1.178 GB, free: 65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/3.631, allocations: 135.2 kB / 1.178 GB, free: 64.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/3.632, allocations: 0.518 MB / 1.178 GB, free: 64.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/3.632, allocations: 36.64 kB / 1.178 GB, free: 64.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/3.633, allocations: 414.2 kB / 1.179 GB, free: 64.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/3.633, allocations: 142.3 kB / 1.179 GB, free: 64.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/3.633, allocations: 15.25 kB / 1.179 GB, free: 64.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/3.633, allocations: 340.2 kB / 1.179 GB, free: 64.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/3.633, allocations: 190.3 kB / 1.179 GB, free: 64.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/3.634, allocations: 0.5263 MB / 1.18 GB, free: 63.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/3.635, allocations: 302.8 kB / 1.18 GB, free: 63.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/3.635, allocations: 0 / 1.18 GB, free: 63.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00202/3.637, allocations: 0.8304 MB / 1.181 GB, free: 63.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/3.637, allocations: 15.33 kB / 1.181 GB, free: 63.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/3.637, allocations: 7.688 kB / 1.181 GB, free: 63.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/3.639, allocations: 314.4 kB / 1.181 GB, free: 63.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/3.64, allocations: 130.6 kB / 1.181 GB, free: 63.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/3.641, allocations: 0.8973 MB / 1.182 GB, free: 63.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/3.642, allocations: 47.73 kB / 1.182 GB, free: 63.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/3.643, allocations: 70.14 kB / 1.182 GB, free: 63.03 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.0002971/3.643, allocations: 158.2 kB / 1.183 GB, free: 62.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/3.643, allocations: 68.12 kB / 1.183 GB, free: 62.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/3.645, allocations: 0.6589 MB / 1.183 GB, free: 62.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/3.645, allocations: 6.562 kB / 1.183 GB, free: 62.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/3.645, allocations: 0 / 1.183 GB, free: 62.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/3.645, allocations: 3.422 kB / 1.183 GB, free: 62.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/3.648, allocations: 1.249 MB / 1.185 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/3.648, allocations: 0 / 1.185 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/3.65, allocations: 213.7 kB / 1.185 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/3.65, allocations: 24.58 kB / 1.185 GB, free: 62.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/3.65, allocations: 19.33 kB / 1.185 GB, free: 62.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/3.652, allocations: 2.677 MB / 1.187 GB, free: 59.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/3.652, allocations: 5.406 kB / 1.187 GB, free: 59.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/3.654, allocations: 0.846 MB / 1.188 GB, free: 59.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/3.655, allocations: 176.3 kB / 1.188 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/3.655, allocations: 13.12 kB / 1.188 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/3.655, allocations: 27.36 kB / 1.188 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/3.656, allocations: 34.73 kB / 1.188 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/3.656, allocations: 40.56 kB / 1.188 GB, free: 59.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007148/3.656, allocations: 421.8 kB / 1.189 GB, free: 59.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.252e-06/3.656, allocations: 0 / 1.189 GB, free: 59.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001828/3.658, allocations: 385.8 kB / 1.189 GB, free: 59.21 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.004186/3.662, allocations: 2.657 MB / 1.192 GB, free: 57.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/3.664, allocations: 0.5313 MB / 1.192 GB, free: 57.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/3.664, allocations: 3.125 kB / 1.192 GB, free: 57.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/3.666, allocations: 382.5 kB / 1.193 GB, free: 57.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/3.668, allocations: 326 kB / 1.193 GB, free: 57.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/3.68, allocations: 2.65 MB / 1.196 GB, free: 57.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/3.68, allocations: 0.9402 MB / 1.197 GB, free: 56.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009274/3.681, allocations: 276.9 kB / 1.197 GB, free: 56.69 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/3.681, allocations: 2.438 kB / 1.197 GB, free: 56.69 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.369/7.051, allocations: 23.58 MB / 1.22 GB, free: 55.42 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