Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.029e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9134/1.02, allocations: 230.6 MB / 0.5395 GB, free: 106.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/1.021, allocations: 90.02 kB / 0.5396 GB, free: 106.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328/2.349, allocations: 269.2 MB / 0.8025 GB, free: 16.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/2.349, allocations: 0 / 0.8025 GB, free: 16.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.531e-05/2.349, allocations: 19.98 kB / 0.8025 GB, free: 16.09 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004621/2.354, allocations: 1.511 MB / 0.804 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/2.354, allocations: 8.031 kB / 0.804 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/2.354, allocations: 94.52 kB / 0.8041 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/2.355, allocations: 150.9 kB / 0.8043 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/2.357, allocations: 0.5559 MB / 0.8048 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/2.357, allocations: 108.3 kB / 0.8049 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/2.357, allocations: 48 kB / 0.805 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/2.359, allocations: 0.8005 MB / 0.8057 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/2.359, allocations: 0 / 0.8057 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/2.359, allocations: 31.97 kB / 0.8058 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.89e-05/2.359, allocations: 52.92 kB / 0.8058 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/2.361, allocations: 0.5658 MB / 0.8064 GB, free: 11.98 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.006344/2.367, allocations: 4.408 MB / 0.8107 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/2.368, allocations: 310.5 kB / 0.811 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/2.368, allocations: 132.8 kB / 0.8111 GB, free: 6.816 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/2.369, allocations: 344.6 kB / 0.8114 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/2.369, allocations: 38.56 kB / 0.8115 GB, free: 6.359 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.735e-06/2.369, allocations: 0 / 0.8115 GB, free: 6.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.004347/2.373, allocations: 1.219 MB / 0.8127 GB, free: 5.078 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/2.373, allocations: 136.5 kB / 0.8128 GB, free: 4.914 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/2.374, allocations: 0.5617 MB / 0.8133 GB, free: 4.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/2.374, allocations: 37.64 kB / 0.8134 GB, free: 4.305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/2.374, allocations: 436.7 kB / 0.8138 GB, free: 3.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/2.374, allocations: 130.2 kB / 0.8139 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/2.375, allocations: 16 kB / 0.8139 GB, free: 3.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/2.375, allocations: 342.8 kB / 0.8143 GB, free: 3.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/2.375, allocations: 189.5 kB / 0.8144 GB, free: 3.199 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/2.376, allocations: 0.5172 MB / 0.8149 GB, free: 2.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/2.376, allocations: 295.3 kB / 0.8152 GB, free: 2.234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/2.376, allocations: 4 kB / 0.8152 GB, free: 2.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001902/2.378, allocations: 0.834 MB / 0.816 GB, free: 1.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/2.378, allocations: 8 kB / 0.816 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/2.378, allocations: 12 kB / 0.8161 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/2.38, allocations: 265.9 kB / 0.8163 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/2.381, allocations: 139.7 kB / 0.8164 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.301/2.682, allocations: 1.361 MB / 0.8178 GB, free: 67.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/2.683, allocations: 38.86 kB / 0.8178 GB, free: 67.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/2.683, allocations: 46.14 kB / 0.8179 GB, free: 67.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002475/2.684, allocations: 157.3 kB / 0.818 GB, free: 67.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/2.684, allocations: 72.27 kB / 0.8181 GB, free: 67.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/2.686, allocations: 0.6835 MB / 0.8187 GB, free: 67.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/2.686, allocations: 3.406 kB / 0.8187 GB, free: 67.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/2.686, allocations: 0.9844 kB / 0.8187 GB, free: 67.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/2.686, allocations: 4.141 kB / 0.8188 GB, free: 67.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/2.69, allocations: 1.189 MB / 0.8199 GB, free: 67.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/2.69, allocations: 5.266 kB / 0.8199 GB, free: 67.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/2.69, allocations: 43.61 kB / 0.82 GB, free: 67.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/2.692, allocations: 196.9 kB / 0.8201 GB, free: 67.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/2.692, allocations: 13.48 kB / 0.8202 GB, free: 67.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/2.693, allocations: 1.291 MB / 0.8214 GB, free: 66.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.693, allocations: 1.781 kB / 0.8214 GB, free: 66.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/2.695, allocations: 0.7939 MB / 0.8222 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/2.696, allocations: 197.2 kB / 0.8224 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/2.696, allocations: 10.81 kB / 0.8224 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/2.696, allocations: 26.8 kB / 0.8224 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/2.697, allocations: 24.47 kB / 0.8224 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-05/2.697, allocations: 23.88 kB / 0.8225 GB, free: 66.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008866/2.698, allocations: 432.6 kB / 0.8229 GB, free: 65.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.698, allocations: 0 / 0.8229 GB, free: 65.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001929/2.7, allocations: 364.4 kB / 0.8232 GB, free: 65.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003702/2.703, allocations: 1.815 MB / 0.825 GB, free: 65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001732/2.705, allocations: 0.5055 MB / 0.8255 GB, free: 65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/2.705, allocations: 1.062 kB / 0.8255 GB, free: 65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007616/2.706, allocations: 218.2 kB / 0.8257 GB, free: 64.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/2.708, allocations: 286 kB / 0.826 GB, free: 64.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/2.712, allocations: 1.24 MB / 0.8272 GB, free: 64.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/2.713, allocations: 0.9434 MB / 0.8281 GB, free: 63.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/2.713, allocations: 243.2 kB / 0.8283 GB, free: 63.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.083e-06/2.713, allocations: 0 / 0.8283 GB, free: 63.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.347/6.06, allocations: 21.03 MB / 0.8489 GB, free: 63.61 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat