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.898/1.898, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.337e-05, allocations: 0 / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9226/1.028, allocations: 230.6 MB / 0.5396 GB, free: 106.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.028, allocations: 90.81 kB / 0.5396 GB, free: 106.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.218/2.246, allocations: 269.2 MB / 0.8026 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/2.246, allocations: 192 / 0.8026 GB, free: 15.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.409e-05/2.246, allocations: 19.94 kB / 0.8026 GB, free: 15.77 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.004721/2.251, allocations: 1.511 MB / 0.8041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/2.251, allocations: 8.031 kB / 0.8041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/2.251, allocations: 106.4 kB / 0.8042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/2.253, allocations: 139 kB / 0.8043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/2.254, allocations: 0.552 MB / 0.8048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/2.254, allocations: 104.4 kB / 0.8049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/2.254, allocations: 48 kB / 0.805 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/2.256, allocations: 0.8064 MB / 0.8058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/2.256, allocations: 0 / 0.8058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/2.256, allocations: 24 kB / 0.8058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.532e-05/2.256, allocations: 40.92 kB / 0.8058 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/2.258, allocations: 0.56 MB / 0.8064 GB, free: 11.69 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.006336/2.264, allocations: 4.408 MB / 0.8107 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/2.265, allocations: 302.5 kB / 0.811 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/2.265, allocations: 128.8 kB / 0.8111 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/2.266, allocations: 352.6 kB / 0.8114 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/2.266, allocations: 38.56 kB / 0.8115 GB, free: 6.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/2.266, allocations: 0 / 0.8115 GB, free: 6.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.004343/2.27, allocations: 1.22 MB / 0.8127 GB, free: 4.789 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/2.27, allocations: 136.5 kB / 0.8128 GB, free: 4.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009389/2.271, allocations: 0.5579 MB / 0.8133 GB, free: 4.062 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/2.271, allocations: 29.7 kB / 0.8134 GB, free: 4.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/2.272, allocations: 432.8 kB / 0.8138 GB, free: 3.598 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/2.272, allocations: 134.2 kB / 0.8139 GB, free: 3.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/2.272, allocations: 15.94 kB / 0.8139 GB, free: 3.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/2.272, allocations: 350.8 kB / 0.8143 GB, free: 3.098 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004689/2.272, allocations: 189.5 kB / 0.8144 GB, free: 2.914 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/2.273, allocations: 0.5155 MB / 0.8149 GB, free: 2.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/2.274, allocations: 299.3 kB / 0.8152 GB, free: 1.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/2.274, allocations: 4 kB / 0.8152 GB, free: 1.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001891/2.276, allocations: 0.8031 MB / 0.816 GB, free: 1.129 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/2.276, allocations: 8 kB / 0.816 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/2.276, allocations: 12 kB / 0.816 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/2.278, allocations: 265.7 kB / 0.8163 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/2.278, allocations: 131.8 kB / 0.8164 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.305/2.583, allocations: 1.358 MB / 0.8177 GB, free: 67.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/2.585, allocations: 37.94 kB / 0.8178 GB, free: 67.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/2.585, allocations: 49.56 kB / 0.8178 GB, free: 67.14 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.0003396/2.586, allocations: 158.4 kB / 0.818 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/2.586, allocations: 71.55 kB / 0.818 GB, free: 67.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/2.589, allocations: 0.6873 MB / 0.8187 GB, free: 66.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/2.59, allocations: 5 kB / 0.8187 GB, free: 66.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/2.59, allocations: 0.5156 kB / 0.8187 GB, free: 66.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/2.59, allocations: 3.469 kB / 0.8187 GB, free: 66.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004674/2.594, allocations: 1.185 MB / 0.8199 GB, free: 66.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/2.594, allocations: 1.156 kB / 0.8199 GB, free: 66.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/2.595, allocations: 38.47 kB / 0.8199 GB, free: 66.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/2.597, allocations: 196.7 kB / 0.8201 GB, free: 66.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/2.597, allocations: 15.61 kB / 0.8201 GB, free: 66.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/2.599, allocations: 1.291 MB / 0.8214 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/2.599, allocations: 0 / 0.8214 GB, free: 65.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/2.602, allocations: 0.8013 MB / 0.8222 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/2.602, allocations: 199.8 kB / 0.8224 GB, free: 65.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/2.603, allocations: 7.078 kB / 0.8224 GB, free: 65.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/2.604, allocations: 31.5 kB / 0.8224 GB, free: 65.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/2.604, allocations: 27.39 kB / 0.8224 GB, free: 65.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/2.604, allocations: 24 kB / 0.8224 GB, free: 65.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001265/2.605, allocations: 429.9 kB / 0.8229 GB, free: 65.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.605, allocations: 0 / 0.8229 GB, free: 65.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002939/2.608, allocations: 364.8 kB / 0.8232 GB, free: 65.18 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.005081/2.613, allocations: 1.821 MB / 0.825 GB, free: 64.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002365/2.616, allocations: 0.4886 MB / 0.8255 GB, free: 64.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/2.616, allocations: 1.094 kB / 0.8255 GB, free: 64.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/2.617, allocations: 212.9 kB / 0.8257 GB, free: 64.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/2.62, allocations: 285.8 kB / 0.8259 GB, free: 64.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/2.627, allocations: 1.249 MB / 0.8272 GB, free: 63.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008027/2.627, allocations: 0.939 MB / 0.8281 GB, free: 63.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/2.628, allocations: 243.6 kB / 0.8283 GB, free: 63.24 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/2.628, allocations: 1.188 kB / 0.8283 GB, free: 63.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.19/5.818, allocations: 21.02 MB / 0.8488 GB, free: 62.81 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