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 2.024/2.024, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.735e-05, allocations: 4 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9501/1.056, allocations: 230.2 MB / 0.5337 GB, free: 92.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/1.056, allocations: 94.5 kB / 0.5338 GB, free: 92.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281/2.338, allocations: 267.1 MB / 0.7947 GB, free: 17.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/2.338, allocations: 0 / 0.7947 GB, free: 17.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.241e-05/2.338, allocations: 20 kB / 0.7947 GB, free: 17.2 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.004958/2.343, allocations: 1.506 MB / 0.7961 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/2.343, allocations: 12.03 kB / 0.7962 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/2.345, allocations: 142.9 kB / 0.7963 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/2.346, allocations: 0.5623 MB / 0.7968 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/2.346, allocations: 88.64 kB / 0.7969 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/2.347, allocations: 28 kB / 0.797 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001277/2.348, allocations: 0.4906 MB / 0.7974 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/2.349, allocations: 0.7262 MB / 0.7981 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/2.349, allocations: 0 / 0.7981 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-05/2.35, allocations: 7.938 kB / 0.7982 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.936e-05/2.35, allocations: 41.22 kB / 0.7982 GB, free: 13.41 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.006369/2.356, allocations: 4.314 MB / 0.8024 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/2.357, allocations: 290.5 kB / 0.8027 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/2.357, allocations: 124.8 kB / 0.8028 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/2.357, allocations: 340.6 kB / 0.8031 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/2.357, allocations: 38.56 kB / 0.8032 GB, free: 7.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.717e-06/2.357, allocations: 0 / 0.8032 GB, free: 7.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005011/2.362, allocations: 1.212 MB / 0.8043 GB, free: 6.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/2.362, allocations: 132.5 kB / 0.8045 GB, free: 6.492 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/2.363, allocations: 474.2 kB / 0.8049 GB, free: 6.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/2.363, allocations: 29.7 kB / 0.805 GB, free: 5.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/2.364, allocations: 441.1 kB / 0.8054 GB, free: 5.551 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/2.364, allocations: 134.1 kB / 0.8055 GB, free: 5.418 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/2.364, allocations: 0 / 0.8055 GB, free: 5.418 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/2.364, allocations: 338.8 kB / 0.8058 GB, free: 5.078 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/2.364, allocations: 177.5 kB / 0.806 GB, free: 4.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/2.365, allocations: 0.5 MB / 0.8065 GB, free: 4.246 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/2.366, allocations: 346.9 kB / 0.8068 GB, free: 3.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/2.366, allocations: 4 kB / 0.8068 GB, free: 3.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002456/2.369, allocations: 0.7986 MB / 0.8076 GB, free: 3.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/2.369, allocations: 12.91 kB / 0.8076 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/2.369, allocations: 8 kB / 0.8076 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/2.37, allocations: 213.5 kB / 0.8078 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/2.371, allocations: 131.8 kB / 0.8079 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/2.372, allocations: 1.393 MB / 0.8093 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/2.373, allocations: 23.98 kB / 0.8093 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/2.374, allocations: 56.06 kB / 0.8094 GB, free: 1.207 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.0002084/2.374, allocations: 132.7 kB / 0.8095 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001877/2.376, allocations: 494.5 kB / 0.81 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/2.376, allocations: 67.2 kB / 0.81 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3093/2.685, allocations: 0.6806 MB / 0.8107 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/2.685, allocations: 4.156 kB / 0.8107 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-06/2.685, allocations: 1.125 kB / 0.8107 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/2.685, allocations: 2.25 kB / 0.8107 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/2.689, allocations: 1.146 MB / 0.8118 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/2.689, allocations: 1.25 kB / 0.8118 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/2.689, allocations: 41.94 kB / 0.8119 GB, free: 72.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008602/2.69, allocations: 154.3 kB / 0.812 GB, free: 72.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/2.69, allocations: 6.844 kB / 0.812 GB, free: 72.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/2.692, allocations: 1.321 MB / 0.8133 GB, free: 71.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.692, allocations: 0 / 0.8133 GB, free: 71.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/2.694, allocations: 0.7998 MB / 0.8141 GB, free: 70.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/2.695, allocations: 195.5 kB / 0.8143 GB, free: 70.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/2.695, allocations: 1.875 kB / 0.8143 GB, free: 70.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/2.696, allocations: 13.56 kB / 0.8143 GB, free: 70.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/2.696, allocations: 28.41 kB / 0.8143 GB, free: 70.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/2.696, allocations: 26.48 kB / 0.8144 GB, free: 70.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007396/2.697, allocations: 346.8 kB / 0.8147 GB, free: 70.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.697, allocations: 0 / 0.8147 GB, free: 70.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002099/2.699, allocations: 345.2 kB / 0.815 GB, free: 70.76 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.004323/2.703, allocations: 1.821 MB / 0.8168 GB, free: 69.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/2.705, allocations: 486 kB / 0.8173 GB, free: 69.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.705, allocations: 1.25 kB / 0.8173 GB, free: 69.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007377/2.706, allocations: 200.1 kB / 0.8174 GB, free: 69.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/2.708, allocations: 240.8 kB / 0.8177 GB, free: 69.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/2.713, allocations: 1.196 MB / 0.8188 GB, free: 69.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/2.713, allocations: 0.9458 MB / 0.8198 GB, free: 68.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005731/2.714, allocations: 237.9 kB / 0.82 GB, free: 68.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/2.714, allocations: 1.344 kB / 0.82 GB, free: 68.87 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.075/5.789, allocations: 20.5 MB / 0.84 GB, free: 68.5 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