Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.507/2.507, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.122e-05/5.138e-05, allocations: 4 kB / 347.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.423, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/1.8, allocations: 422.7 MB / 0.8122 GB, free: 104 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/1.8, allocations: 94.56 kB / 0.8122 GB, free: 104 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8263/2.626, allocations: 121.7 MB / 0.9311 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/2.626, allocations: 2.938 kB / 0.9311 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.064e-05/2.626, allocations: 21.02 kB / 0.9311 GB, free: 145.7 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.002862/2.629, allocations: 0.9767 MB / 0.9321 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/2.629, allocations: 14.31 kB / 0.9321 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/2.63, allocations: 96.31 kB / 0.9322 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005273/2.63, allocations: 89.5 kB / 0.9323 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/2.632, allocations: 0.529 MB / 0.9328 GB, free: 145 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/2.632, allocations: 105.6 kB / 0.9329 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/2.632, allocations: 53.67 kB / 0.9329 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/2.634, allocations: 0.8033 MB / 0.9337 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/2.634, allocations: 2.719 kB / 0.9337 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/2.634, allocations: 23.12 kB / 0.9337 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.695e-05/2.634, allocations: 40.53 kB / 0.9338 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/2.636, allocations: 0.6059 MB / 0.9344 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006529/2.642, allocations: 3.923 MB / 0.9382 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/2.643, allocations: 392.6 kB / 0.9386 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/2.644, allocations: 203.7 kB / 0.9388 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/2.644, allocations: 0.5017 MB / 0.9393 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/2.644, allocations: 37.02 kB / 0.9393 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.577e-06/2.644, allocations: 0 / 0.9393 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.004204/2.649, allocations: 1.329 MB / 0.9406 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/2.649, allocations: 135.6 kB / 0.9407 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/2.65, allocations: 0.4983 MB / 0.9412 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/2.65, allocations: 36.77 kB / 0.9412 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/2.65, allocations: 383.4 kB / 0.9416 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/2.65, allocations: 166 kB / 0.9418 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/2.65, allocations: 13.41 kB / 0.9418 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/2.65, allocations: 339.7 kB / 0.9421 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/2.651, allocations: 218.6 kB / 0.9423 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/2.652, allocations: 0.4916 MB / 0.9428 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/2.652, allocations: 312.5 kB / 0.9431 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/2.652, allocations: 0 / 0.9431 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002468/2.655, allocations: 0.8549 MB / 0.9439 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/2.655, allocations: 7.719 kB / 0.9439 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/2.655, allocations: 10.84 kB / 0.9439 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/2.657, allocations: 259.9 kB / 0.9442 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/2.657, allocations: 127.5 kB / 0.9443 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/2.659, allocations: 0.8611 MB / 0.9452 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/2.66, allocations: 41.3 kB / 0.9452 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/2.66, allocations: 39.11 kB / 0.9452 GB, free: 139.3 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.0002243/2.66, allocations: 150.8 kB / 0.9454 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/2.66, allocations: 70.78 kB / 0.9454 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/2.662, allocations: 0.6892 MB / 0.9461 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/2.662, allocations: 7.5 kB / 0.9461 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/2.662, allocations: 0 / 0.9461 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/2.662, allocations: 5.062 kB / 0.9461 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/2.665, allocations: 1.369 MB / 0.9475 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/2.665, allocations: 7.469 kB / 0.9475 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/2.667, allocations: 198.5 kB / 0.9477 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000364/2.667, allocations: 51.95 kB / 0.9477 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.533e-05/2.667, allocations: 14.44 kB / 0.9477 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/2.67, allocations: 2.787 MB / 0.9504 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/2.67, allocations: 3.531 kB / 0.9504 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/2.672, allocations: 1.043 MB / 0.9515 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/2.673, allocations: 200.8 kB / 0.9517 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/2.673, allocations: 14.94 kB / 0.9517 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/2.674, allocations: 31.3 kB / 0.9517 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/2.674, allocations: 42.19 kB / 0.9517 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/2.674, allocations: 22.77 kB / 0.9518 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000685/2.675, allocations: 384.6 kB / 0.9521 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.32e-07/2.675, allocations: 0 / 0.9521 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001313/2.676, allocations: 225.4 kB / 0.9523 GB, free: 135.5 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.003027/2.679, allocations: 2.24 MB / 0.9545 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001677/2.681, allocations: 0.568 MB / 0.9551 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/2.681, allocations: 0 / 0.9551 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/2.682, allocations: 447 kB / 0.9555 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/2.685, allocations: 323.9 kB / 0.9558 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/2.688, allocations: 1.213 MB / 0.957 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/2.689, allocations: 0.9525 MB / 0.9579 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/2.689, allocations: 241 kB / 0.9582 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/2.69, allocations: 0 / 0.9582 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.306/5.995, allocations: 17.8 MB / 0.9756 GB, free: 132.2 MB / 0.5261 GB