Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.562e-05, allocations: 0 / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4191, allocations: 54.85 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7151/1.134, allocations: 237 MB / 0.5829 GB, free: 93.59 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.135, allocations: 93.25 kB / 0.583 GB, free: 93.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441/2.576, allocations: 285.5 MB / 0.8618 GB, free: 18.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.814e-06/2.576, allocations: 0 / 0.8618 GB, free: 18.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.251e-05/2.576, allocations: 16 kB / 0.8618 GB, free: 18 MB / 474.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.005839/2.582, allocations: 1.519 MB / 0.8633 GB, free: 16.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/2.582, allocations: 12.03 kB / 0.8633 GB, free: 16.42 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/2.582, allocations: 94.45 kB / 0.8634 GB, free: 16.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/2.584, allocations: 135.1 kB / 0.8635 GB, free: 16.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/2.586, allocations: 0.5715 MB / 0.8641 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/2.586, allocations: 100.4 kB / 0.8642 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/2.586, allocations: 51.98 kB / 0.8642 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/2.589, allocations: 0.7947 MB / 0.865 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/2.589, allocations: 3.938 kB / 0.865 GB, free: 14.53 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/2.589, allocations: 24 kB / 0.865 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/2.589, allocations: 40.98 kB / 0.865 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002193/2.591, allocations: 0.5484 MB / 0.8656 GB, free: 13.91 MB / 474.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.008465/2.6, allocations: 4.429 MB / 0.8699 GB, free: 9.176 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/2.601, allocations: 310.5 kB / 0.8702 GB, free: 8.863 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/2.602, allocations: 120.8 kB / 0.8703 GB, free: 8.742 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/2.602, allocations: 340.4 kB / 0.8706 GB, free: 8.336 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/2.602, allocations: 42.5 kB / 0.8707 GB, free: 8.285 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 4.128e-06/2.602, allocations: 0 / 0.8707 GB, free: 8.285 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.006116/2.608, allocations: 1.231 MB / 0.8719 GB, free: 6.996 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/2.608, allocations: 136.5 kB / 0.872 GB, free: 6.832 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/2.61, allocations: 0.558 MB / 0.8726 GB, free: 6.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.63e-05/2.61, allocations: 33.7 kB / 0.8726 GB, free: 6.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/2.61, allocations: 432.7 kB / 0.873 GB, free: 5.805 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/2.61, allocations: 134.2 kB / 0.8731 GB, free: 5.672 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/2.61, allocations: 16 kB / 0.8731 GB, free: 5.656 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/2.61, allocations: 338.8 kB / 0.8735 GB, free: 5.316 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/2.611, allocations: 189.5 kB / 0.8737 GB, free: 5.133 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/2.612, allocations: 0.5196 MB / 0.8742 GB, free: 4.449 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006337/2.612, allocations: 298.8 kB / 0.8744 GB, free: 4.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/2.612, allocations: 3.938 kB / 0.8744 GB, free: 4.156 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0019/2.614, allocations: 0.791 MB / 0.8752 GB, free: 3.352 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/2.614, allocations: 12 kB / 0.8752 GB, free: 3.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/2.614, allocations: 12 kB / 0.8752 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/2.616, allocations: 274 kB / 0.8755 GB, free: 3.055 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/2.617, allocations: 139.8 kB / 0.8756 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/2.618, allocations: 1.362 MB / 0.877 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/2.619, allocations: 35.98 kB / 0.877 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/2.619, allocations: 47.98 kB / 0.877 GB, free: 1.422 MB / 474.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.0002085/2.62, allocations: 160.8 kB / 0.8772 GB, free: 1.258 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/2.62, allocations: 71.16 kB / 0.8773 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/2.622, allocations: 0.6816 MB / 0.8779 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/2.622, allocations: 4 kB / 0.8779 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/2.622, allocations: 0 / 0.8779 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/2.622, allocations: 3.953 kB / 0.8779 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3346/2.956, allocations: 1.182 MB / 0.8791 GB, free: 81.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/2.956, allocations: 0.9688 kB / 0.8791 GB, free: 81.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/2.957, allocations: 42.08 kB / 0.8791 GB, free: 81.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/2.958, allocations: 196.9 kB / 0.8793 GB, free: 81.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/2.958, allocations: 7.656 kB / 0.8793 GB, free: 81.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/2.96, allocations: 1.293 MB / 0.8806 GB, free: 80.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/2.96, allocations: 0 / 0.8806 GB, free: 80.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/2.962, allocations: 0.7873 MB / 0.8814 GB, free: 80.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/2.962, allocations: 202 kB / 0.8816 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/2.962, allocations: 12.02 kB / 0.8816 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/2.963, allocations: 22.52 kB / 0.8816 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/2.963, allocations: 29.3 kB / 0.8816 GB, free: 80.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/2.963, allocations: 20.75 kB / 0.8816 GB, free: 80.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008973/2.964, allocations: 439.2 kB / 0.8821 GB, free: 80.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.042e-06/2.964, allocations: 0 / 0.8821 GB, free: 80.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002143/2.966, allocations: 365 kB / 0.8824 GB, free: 80.45 MB / 474.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.00395/2.97, allocations: 1.818 MB / 0.8842 GB, free: 79.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/2.972, allocations: 0.4942 MB / 0.8847 GB, free: 79.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.972, allocations: 0.8438 kB / 0.8847 GB, free: 79.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008088/2.973, allocations: 217.1 kB / 0.8849 GB, free: 79.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/2.976, allocations: 283.4 kB / 0.8851 GB, free: 79.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/2.98, allocations: 1.243 MB / 0.8864 GB, free: 79.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/2.981, allocations: 0.9412 MB / 0.8873 GB, free: 78.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/2.982, allocations: 247.2 kB / 0.8875 GB, free: 78.56 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/2.982, allocations: 3.688 kB / 0.8875 GB, free: 78.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.204/6.185, allocations: 21.01 MB / 0.908 GB, free: 78.14 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat