Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.604e-05/4.619e-05, allocations: 0 / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.042/2.163, allocations: 0.6299 GB / 0.9442 GB, free: 31.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/2.164, allocations: 86.7 kB / 0.9443 GB, free: 31.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381/3.545, allocations: 229.4 MB / 1.168 GB, free: 69.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.515e-06/3.545, allocations: 7.156 kB / 1.168 GB, free: 69.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.402e-05/3.545, allocations: 18.97 kB / 1.168 GB, free: 69.06 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.003767/3.549, allocations: 1.153 MB / 1.169 GB, free: 68.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/3.549, allocations: 11.53 kB / 1.169 GB, free: 68.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/3.549, allocations: 90.3 kB / 1.17 GB, free: 68.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/3.55, allocations: 145.7 kB / 1.17 GB, free: 68.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/3.552, allocations: 0.5475 MB / 1.17 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/3.552, allocations: 103 kB / 1.17 GB, free: 68.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/3.552, allocations: 48.78 kB / 1.17 GB, free: 68.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/3.554, allocations: 0.796 MB / 1.171 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/3.554, allocations: 5 kB / 1.171 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/3.554, allocations: 23.16 kB / 1.171 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.803e-05/3.554, allocations: 41.25 kB / 1.171 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/3.555, allocations: 0.6046 MB / 1.172 GB, free: 67.95 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.006054/3.561, allocations: 3.904 MB / 1.176 GB, free: 65.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/3.562, allocations: 326.3 kB / 1.176 GB, free: 65.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/3.563, allocations: 168.7 kB / 1.176 GB, free: 65.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/3.563, allocations: 26.22 kB / 1.176 GB, free: 65.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/3.563, allocations: 37.03 kB / 1.176 GB, free: 65.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.937e-06/3.563, allocations: 3.844 kB / 1.176 GB, free: 65.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008457/3.571, allocations: 1.502 MB / 1.178 GB, free: 64.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/3.571, allocations: 136.2 kB / 1.178 GB, free: 64.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/3.572, allocations: 0.5156 MB / 1.178 GB, free: 64.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.082e-05/3.572, allocations: 36.2 kB / 1.178 GB, free: 64.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/3.573, allocations: 408.5 kB / 1.179 GB, free: 64.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/3.573, allocations: 149.1 kB / 1.179 GB, free: 64.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/3.573, allocations: 16.81 kB / 1.179 GB, free: 64.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/3.573, allocations: 342.9 kB / 1.179 GB, free: 63.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/3.574, allocations: 189.2 kB / 1.179 GB, free: 63.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/3.574, allocations: 0.5266 MB / 1.18 GB, free: 63.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/3.575, allocations: 293.5 kB / 1.18 GB, free: 63.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/3.575, allocations: 7.5 kB / 1.18 GB, free: 63.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00198/3.577, allocations: 0.8305 MB / 1.181 GB, free: 63.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/3.577, allocations: 19.67 kB / 1.181 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/3.577, allocations: 14.45 kB / 1.181 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/3.579, allocations: 294.6 kB / 1.181 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007843/3.58, allocations: 138.7 kB / 1.181 GB, free: 63.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/3.581, allocations: 0.8925 MB / 1.182 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/3.582, allocations: 51.22 kB / 1.182 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/3.582, allocations: 66.8 kB / 1.182 GB, free: 62.86 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.0002495/3.583, allocations: 159.6 kB / 1.183 GB, free: 62.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/3.583, allocations: 70 kB / 1.183 GB, free: 62.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/3.585, allocations: 0.6528 MB / 1.183 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/3.585, allocations: 3.969 kB / 1.183 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/3.585, allocations: 0 / 1.183 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/3.585, allocations: 6.078 kB / 1.183 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/3.588, allocations: 1.25 MB / 1.184 GB, free: 62.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/3.588, allocations: 3.719 kB / 1.184 GB, free: 62.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/3.59, allocations: 211.3 kB / 1.185 GB, free: 62.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/3.59, allocations: 22.38 kB / 1.185 GB, free: 62.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/3.59, allocations: 27.12 kB / 1.185 GB, free: 62.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/3.592, allocations: 2.679 MB / 1.187 GB, free: 59.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/3.592, allocations: 4.469 kB / 1.187 GB, free: 59.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/3.594, allocations: 0.8446 MB / 1.188 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/3.594, allocations: 180.3 kB / 1.188 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/3.594, allocations: 11.44 kB / 1.188 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/3.595, allocations: 26.42 kB / 1.188 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/3.595, allocations: 37.92 kB / 1.188 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.409e-05/3.595, allocations: 43.52 kB / 1.188 GB, free: 59.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007031/3.596, allocations: 414.6 kB / 1.189 GB, free: 59.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/3.596, allocations: 0 / 1.189 GB, free: 59.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00179/3.598, allocations: 376.6 kB / 1.189 GB, free: 59.04 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.004295/3.602, allocations: 2.662 MB / 1.192 GB, free: 57.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/3.604, allocations: 0.5385 MB / 1.192 GB, free: 57.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/3.604, allocations: 0 / 1.192 GB, free: 57.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/3.605, allocations: 383.1 kB / 1.193 GB, free: 57.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/3.608, allocations: 326.2 kB / 1.193 GB, free: 57.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/3.619, allocations: 2.65 MB / 1.196 GB, free: 57.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/3.62, allocations: 0.9427 MB / 1.197 GB, free: 56.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008355/3.621, allocations: 277.2 kB / 1.197 GB, free: 56.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.164e-06/3.621, allocations: 3.656 kB / 1.197 GB, free: 56.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.502/7.123, allocations: 23.57 MB / 1.22 GB, free: 55.25 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat