Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.648e-05, allocations: 4 kB / 347.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 61.87 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.697, allocations: 353.7 MB / 0.7447 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.698, allocations: 97.02 kB / 0.7448 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4237/2.121, allocations: 133.3 MB / 0.875 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/2.121, allocations: 3.938 kB / 0.875 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.897e-05/2.122, allocations: 23.98 kB / 0.875 GB, free: 47.16 MB / 0.5261 GB 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.00241/2.124, allocations: 0.8922 MB / 0.8759 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/2.124, allocations: 8.031 kB / 0.8759 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/2.124, allocations: 94.52 kB / 0.876 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/2.125, allocations: 87.16 kB / 0.8761 GB, free: 46.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/2.126, allocations: 0.5364 MB / 0.8766 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/2.126, allocations: 104.3 kB / 0.8767 GB, free: 45.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/2.126, allocations: 51.98 kB / 0.8767 GB, free: 45.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/2.128, allocations: 0.7986 MB / 0.8775 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/2.128, allocations: 3.938 kB / 0.8775 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/2.128, allocations: 24 kB / 0.8776 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.979e-05/2.128, allocations: 44.98 kB / 0.8776 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/2.13, allocations: 0.5952 MB / 0.8782 GB, free: 43.74 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006199/2.136, allocations: 4.044 MB / 0.8821 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/2.137, allocations: 319.8 kB / 0.8824 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/2.137, allocations: 169.4 kB / 0.8826 GB, free: 38.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002486/2.14, allocations: 1.748 MB / 0.8843 GB, free: 36.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/2.14, allocations: 34.56 kB / 0.8843 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 3.106e-06/2.14, allocations: 4 kB / 0.8843 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.004921/2.145, allocations: 1.271 MB / 0.8856 GB, free: 35.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/2.145, allocations: 132.5 kB / 0.8857 GB, free: 35.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009302/2.146, allocations: 0.5462 MB / 0.8862 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/2.146, allocations: 33.7 kB / 0.8863 GB, free: 34.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/2.146, allocations: 428.8 kB / 0.8867 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/2.146, allocations: 134.2 kB / 0.8868 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/2.146, allocations: 16 kB / 0.8868 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/2.146, allocations: 338.9 kB / 0.8871 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/2.147, allocations: 185.5 kB / 0.8873 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006196/2.148, allocations: 0.5289 MB / 0.8878 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/2.148, allocations: 289.7 kB / 0.8881 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/2.148, allocations: 4 kB / 0.8881 GB, free: 32.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001809/2.15, allocations: 0.7359 MB / 0.8888 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/2.15, allocations: 12.86 kB / 0.8889 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/2.15, allocations: 12 kB / 0.8889 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/2.151, allocations: 104.8 kB / 0.889 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/2.152, allocations: 183.7 kB / 0.8891 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006306/2.153, allocations: 0.6616 MB / 0.8898 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/2.154, allocations: 51.89 kB / 0.8898 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/2.154, allocations: 36 kB / 0.8899 GB, free: 30.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/2.154, allocations: 164.6 kB / 0.89 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/2.154, allocations: 63.25 kB / 0.8901 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/2.155, allocations: 499.4 kB / 0.8906 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/2.155, allocations: 4 kB / 0.8906 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.155, allocations: 0 / 0.8906 GB, free: 30.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/2.155, allocations: 3.984 kB / 0.8906 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/2.158, allocations: 1.182 MB / 0.8917 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/2.158, allocations: 8.031 kB / 0.8917 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/2.159, allocations: 71.86 kB / 0.8918 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/2.159, allocations: 40.83 kB / 0.8918 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/2.159, allocations: 12 kB / 0.8919 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003647/2.159, allocations: 0.5601 MB / 0.8924 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/2.159, allocations: 8.062 kB / 0.8924 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/2.161, allocations: 0.8387 MB / 0.8932 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/2.161, allocations: 200.2 kB / 0.8934 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/2.161, allocations: 8 kB / 0.8934 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007929/2.162, allocations: 31.98 kB / 0.8935 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/2.162, allocations: 39.84 kB / 0.8935 GB, free: 26.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/2.162, allocations: 19.98 kB / 0.8935 GB, free: 26.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007718/2.163, allocations: 447.1 kB / 0.8939 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/2.163, allocations: 0 / 0.8939 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001283/2.165, allocations: 223.9 kB / 0.8942 GB, free: 26.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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.002506/2.167, allocations: 2.452 MB / 0.8965 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001453/2.169, allocations: 468.3 kB / 0.897 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/2.169, allocations: 2.188 kB / 0.897 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/2.169, allocations: 163.8 kB / 0.8972 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/2.172, allocations: 308.3 kB / 0.8974 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/2.175, allocations: 1.117 MB / 0.8985 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/2.175, allocations: 0.9532 MB / 0.8995 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/2.176, allocations: 231.4 kB / 0.8997 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of SimCode: time 2.545e-06/2.176, allocations: 0 / 0.8997 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.135/5.311, allocations: 17.07 MB / 0.9164 GB, free: 3.379 MB / 0.5261 GB