Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.628/2.628, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.312e-05, allocations: 4 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4533, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.24/10.69, allocations: 3.126 GB / 3.526 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/10.69, allocations: 91.31 kB / 3.526 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.31/16, allocations: 1.141 GB / 4.667 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/16, allocations: 2.406 kB / 4.667 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.116e-05/16, allocations: 20.17 kB / 4.667 GB, free: 40.84 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.007502/16.01, allocations: 1.57 MB / 4.669 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/16.01, allocations: 12.03 kB / 4.669 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002476/16.01, allocations: 99.39 kB / 4.669 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005461/16.01, allocations: 90.16 kB / 4.669 GB, free: 39.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/16.01, allocations: 0.535 MB / 4.67 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/16.01, allocations: 100.6 kB / 4.67 GB, free: 38.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/16.01, allocations: 51.98 kB / 4.67 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/16.01, allocations: 0.7989 MB / 4.67 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/16.01, allocations: 4 kB / 4.67 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/16.01, allocations: 31.59 kB / 4.671 GB, free: 37.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.08e-05/16.01, allocations: 44.44 kB / 4.671 GB, free: 37.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/16.01, allocations: 0.599 MB / 4.671 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006816/16.02, allocations: 3.929 MB / 4.675 GB, free: 33.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/16.02, allocations: 381.7 kB / 4.675 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/16.02, allocations: 208 kB / 4.676 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005227/16.02, allocations: 0.5061 MB / 4.676 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/16.02, allocations: 38.89 kB / 4.676 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.757e-06/16.02, allocations: 0 / 4.676 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.004352/16.03, allocations: 1.335 MB / 4.677 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/16.03, allocations: 135.6 kB / 4.678 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/16.03, allocations: 0.4909 MB / 4.678 GB, free: 30.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/16.03, allocations: 37.7 kB / 4.678 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/16.03, allocations: 392 kB / 4.678 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/16.03, allocations: 164.6 kB / 4.679 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/16.03, allocations: 16 kB / 4.679 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/16.03, allocations: 330.2 kB / 4.679 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/16.03, allocations: 216 kB / 4.679 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/16.03, allocations: 0.4944 MB / 4.68 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/16.03, allocations: 306 kB / 4.68 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/16.03, allocations: 7.938 kB / 4.68 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002474/16.03, allocations: 0.8523 MB / 4.681 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/16.03, allocations: 8 kB / 4.681 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/16.03, allocations: 12.91 kB / 4.681 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/16.04, allocations: 264.1 kB / 4.681 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/16.04, allocations: 124.8 kB / 4.681 GB, free: 27.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/16.04, allocations: 0.8554 MB / 4.682 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/16.04, allocations: 46.53 kB / 4.682 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/16.04, allocations: 40.72 kB / 4.682 GB, free: 26.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002289/16.04, allocations: 152.7 kB / 4.682 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/16.04, allocations: 63.25 kB / 4.682 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/16.04, allocations: 0.6884 MB / 4.683 GB, free: 25.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/16.04, allocations: 11.75 kB / 4.683 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/16.04, allocations: 0 / 4.683 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/16.04, allocations: 3.953 kB / 4.683 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/16.04, allocations: 1.375 MB / 4.684 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/16.04, allocations: 0 / 4.684 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/16.05, allocations: 189.2 kB / 4.684 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004017/16.05, allocations: 54.67 kB / 4.684 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/16.05, allocations: 12.06 kB / 4.685 GB, free: 24.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/16.05, allocations: 2.785 MB / 4.687 GB, free: 21.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/16.05, allocations: 7.938 kB / 4.687 GB, free: 21.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/16.05, allocations: 1.042 MB / 4.688 GB, free: 19.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/16.05, allocations: 212.1 kB / 4.688 GB, free: 19.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/16.05, allocations: 12.06 kB / 4.688 GB, free: 19.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/16.05, allocations: 27.98 kB / 4.688 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/16.05, allocations: 39.94 kB / 4.689 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/16.05, allocations: 19.98 kB / 4.689 GB, free: 19.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007479/16.05, allocations: 387.5 kB / 4.689 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.62e-07/16.05, allocations: 0 / 4.689 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001516/16.06, allocations: 243.9 kB / 4.689 GB, free: 19.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003265/16.06, allocations: 2.368 MB / 4.691 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001623/16.06, allocations: 0.5603 MB / 4.692 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/16.06, allocations: 0.5625 kB / 4.692 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/16.06, allocations: 450.2 kB / 4.692 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/16.07, allocations: 327.1 kB / 4.693 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/16.07, allocations: 1.222 MB / 4.694 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/16.07, allocations: 0.9465 MB / 4.695 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/16.07, allocations: 243.3 kB / 4.695 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/16.07, allocations: 0 / 4.695 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.227/19.3, allocations: 18.69 MB / 4.713 GB, free: 10.26 MB / 0.5417 GB