Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.097e-05/2.113e-05, allocations: 0 / 267.6 MB, free: 5.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 48.7 MB / 316.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.481, allocations: 341 MB / 0.6419 GB, free: 114.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/1.481, allocations: 91.31 kB / 0.642 GB, free: 114.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4191/1.9, allocations: 128.3 MB / 0.7672 GB, free: 35.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.462e-06/1.9, allocations: 0 / 0.7672 GB, free: 35.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.095e-05/1.901, allocations: 27.2 kB / 0.7673 GB, free: 35.51 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.002144/1.903, allocations: 0.8871 MB / 0.7681 GB, free: 34.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.903, allocations: 8.031 kB / 0.7681 GB, free: 34.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000432/1.903, allocations: 91.05 kB / 0.7682 GB, free: 34.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/1.905, allocations: 0.544 MB / 0.7688 GB, free: 33.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.905, allocations: 84.7 kB / 0.7688 GB, free: 33.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/1.905, allocations: 28 kB / 0.7689 GB, free: 33.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/1.906, allocations: 0.5297 MB / 0.7694 GB, free: 33.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/1.907, allocations: 0.7409 MB / 0.7701 GB, free: 32.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.907, allocations: 0 / 0.7701 GB, free: 32.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/1.908, allocations: 4 kB / 0.7701 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/1.908, allocations: 41.3 kB / 0.7702 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005398/1.913, allocations: 4.166 MB / 0.7742 GB, free: 27.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/1.914, allocations: 266.9 kB / 0.7745 GB, free: 27.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/1.914, allocations: 140.8 kB / 0.7746 GB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/1.916, allocations: 1.478 MB / 0.7761 GB, free: 25.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/1.916, allocations: 42.52 kB / 0.7761 GB, free: 25.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/1.916, allocations: 0 / 0.7761 GB, free: 25.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002296/1.918, allocations: 0.7535 MB / 0.7768 GB, free: 25.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/1.918, allocations: 132.5 kB / 0.777 GB, free: 24.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/1.919, allocations: 0.5264 MB / 0.7775 GB, free: 24.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/1.919, allocations: 29.7 kB / 0.7775 GB, free: 24.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/1.92, allocations: 487.2 kB / 0.778 GB, free: 23.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/1.92, allocations: 75 kB / 0.778 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/1.92, allocations: 4 kB / 0.778 GB, free: 23.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/1.92, allocations: 338.8 kB / 0.7784 GB, free: 23.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/1.92, allocations: 149.5 kB / 0.7785 GB, free: 23.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/1.921, allocations: 0.5298 MB / 0.779 GB, free: 22.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/1.921, allocations: 264.1 kB / 0.7793 GB, free: 22.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.921, allocations: 4 kB / 0.7793 GB, free: 22.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00141/1.923, allocations: 0.6071 MB / 0.7799 GB, free: 21.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.923, allocations: 12 kB / 0.7799 GB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.923, allocations: 12 kB / 0.7799 GB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-05/1.923, allocations: 23.95 kB / 0.7799 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.924, allocations: 211.6 kB / 0.7801 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/1.924, allocations: 19.94 kB / 0.7801 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000997/1.925, allocations: 48.16 kB / 0.7802 GB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/1.925, allocations: 36 kB / 0.7802 GB, free: 21.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (91): * Single equations (assignments): 91 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001803/1.926, allocations: 144.6 kB / 0.7804 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005848/1.926, allocations: 241.7 kB / 0.7806 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/1.926, allocations: 59.25 kB / 0.7806 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006909/1.927, allocations: 258.6 kB / 0.7809 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.927, allocations: 0 / 0.7809 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.927, allocations: 3.953 kB / 0.7809 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.927, allocations: 0 / 0.7809 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/1.929, allocations: 0.7553 MB / 0.7816 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.929, allocations: 0 / 0.7816 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/1.929, allocations: 47.92 kB / 0.7817 GB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/1.929, allocations: 28.83 kB / 0.7817 GB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.929, allocations: 3.953 kB / 0.7817 GB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003973/1.929, allocations: 0.5641 MB / 0.7823 GB, free: 19.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.93, allocations: 0 / 0.7823 GB, free: 19.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000759/1.93, allocations: 486.9 kB / 0.7827 GB, free: 18.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/1.931, allocations: 168.3 kB / 0.7829 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/1.931, allocations: 8 kB / 0.7829 GB, free: 18.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/1.931, allocations: 11.98 kB / 0.7829 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/1.931, allocations: 19.88 kB / 0.7829 GB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/1.931, allocations: 20.05 kB / 0.7829 GB, free: 18.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006107/1.932, allocations: 391.1 kB / 0.7833 GB, free: 17.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.932, allocations: 0 / 0.7833 GB, free: 17.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001225/1.933, allocations: 187.9 kB / 0.7835 GB, free: 17.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 21 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001789/1.935, allocations: 1.428 MB / 0.7849 GB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009333/1.936, allocations: 353.9 kB / 0.7852 GB, free: 16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.936, allocations: 0 / 0.7852 GB, free: 16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/1.936, allocations: 89.03 kB / 0.7853 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/1.938, allocations: 227.6 kB / 0.7855 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/1.941, allocations: 0.9382 MB / 0.7864 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/1.941, allocations: 0.9332 MB / 0.7874 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.942, allocations: 219.4 kB / 0.7876 GB, free: 13.52 MB / 426.7 MB Notification: Performance of SimCode: time 9.31e-07/1.942, allocations: 0 / 0.7876 GB, free: 13.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.35/5.292, allocations: 14.58 MB / 0.8018 GB, free: 90.98 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat