Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.752/2.752, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.963e-05, allocations: 0 / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4193, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.6029, allocations: 99.54 MB / 0.4966 GB, free: 6.949 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003914/0.6033, allocations: 99.91 kB / 0.4967 GB, free: 6.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5521/1.155, allocations: 24 MB / 0.5201 GB, free: 80.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.155, allocations: 0 / 0.5201 GB, free: 80.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.176e-05/1.155, allocations: 6.812 kB / 0.5201 GB, free: 80.78 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001938/1.157, allocations: 0.6964 MB / 0.5208 GB, free: 80.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/1.157, allocations: 15.73 kB / 0.5208 GB, free: 80.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002773/1.158, allocations: 107.8 kB / 0.5209 GB, free: 80.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/1.158, allocations: 54.36 kB / 0.521 GB, free: 80.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/1.159, allocations: 310.2 kB / 0.5213 GB, free: 80.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.122e-05/1.159, allocations: 43.92 kB / 0.5213 GB, free: 80.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.159, allocations: 58.03 kB / 0.5213 GB, free: 80.06 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/1.161, allocations: 0.7091 MB / 0.522 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/1.161, allocations: 0 / 0.522 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/1.161, allocations: 20.14 kB / 0.5221 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.853e-05/1.161, allocations: 46.67 kB / 0.5221 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/1.163, allocations: 0.7502 MB / 0.5228 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/1.167, allocations: 1.531 MB / 0.5243 GB, free: 79.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/1.168, allocations: 430.5 kB / 0.5247 GB, free: 79.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/1.169, allocations: 140.8 kB / 0.5249 GB, free: 79.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-05/1.169, allocations: 12.88 kB / 0.5249 GB, free: 79.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.169, allocations: 42.23 kB / 0.5249 GB, free: 79.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.096e-06/1.169, allocations: 0 / 0.5249 GB, free: 79.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001222/1.17, allocations: 378.2 kB / 0.5253 GB, free: 79.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/1.17, allocations: 55.22 kB / 0.5253 GB, free: 79.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/1.171, allocations: 0.5231 MB / 0.5259 GB, free: 79.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-05/1.171, allocations: 30.83 kB / 0.5259 GB, free: 79.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/1.172, allocations: 316.8 kB / 0.5262 GB, free: 79.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/1.172, allocations: 98.78 kB / 0.5263 GB, free: 78.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/1.172, allocations: 9.594 kB / 0.5263 GB, free: 78.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/1.172, allocations: 337.4 kB / 0.5266 GB, free: 78.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/1.172, allocations: 175.3 kB / 0.5268 GB, free: 78.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/1.173, allocations: 416.9 kB / 0.5272 GB, free: 78.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/1.174, allocations: 247.5 kB / 0.5274 GB, free: 78.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.174, allocations: 2.531 kB / 0.5274 GB, free: 78.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001684/1.175, allocations: 0.5947 MB / 0.528 GB, free: 78.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/1.176, allocations: 7.688 kB / 0.528 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.176, allocations: 9.938 kB / 0.528 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.849e-05/1.176, allocations: 11.53 kB / 0.528 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/1.178, allocations: 245.8 kB / 0.5283 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003773/1.182, allocations: 7.305 MB / 0.5354 GB, free: 71.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/1.182, allocations: 80.66 kB / 0.5355 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/1.183, allocations: 34.89 kB / 0.5355 GB, free: 71.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002312/1.183, allocations: 168.3 kB / 0.5357 GB, free: 71.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/1.183, allocations: 50.16 kB / 0.5357 GB, free: 71.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/1.185, allocations: 0.5165 MB / 0.5362 GB, free: 71.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/1.185, allocations: 4 kB / 0.5362 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.185, allocations: 0 / 0.5362 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/1.185, allocations: 5.562 kB / 0.5362 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/1.186, allocations: 438.9 kB / 0.5366 GB, free: 70.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.186, allocations: 0.875 kB / 0.5366 GB, free: 70.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.187, allocations: 204.1 kB / 0.5368 GB, free: 70.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.187, allocations: 0 / 0.5368 GB, free: 70.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/1.187, allocations: 20.8 kB / 0.5369 GB, free: 70.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/1.191, allocations: 7.286 MB / 0.544 GB, free: 63.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.191, allocations: 0 / 0.544 GB, free: 63.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/1.192, allocations: 497 kB / 0.5444 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/1.192, allocations: 122.7 kB / 0.5446 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/1.192, allocations: 8.781 kB / 0.5446 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/1.193, allocations: 12.69 kB / 0.5446 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.193, allocations: 27 kB / 0.5446 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/1.193, allocations: 10.45 kB / 0.5446 GB, free: 63.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000637/1.194, allocations: 403.4 kB / 0.545 GB, free: 63.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.194, allocations: 0 / 0.545 GB, free: 63.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001167/1.195, allocations: 195.3 kB / 0.5452 GB, free: 63.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001873/1.197, allocations: 1.176 MB / 0.5463 GB, free: 62.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00239/1.199, allocations: 0.5323 MB / 0.5469 GB, free: 62.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.199, allocations: 0 / 0.5469 GB, free: 62.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.201, allocations: 289.4 kB / 0.5471 GB, free: 62.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/1.202, allocations: 109.1 kB / 0.5472 GB, free: 62.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/1.205, allocations: 0.8972 MB / 0.5481 GB, free: 62.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/1.205, allocations: 0.91 MB / 0.549 GB, free: 61.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/1.205, allocations: 148.6 kB / 0.5491 GB, free: 61.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/1.205, allocations: 0 / 0.5491 GB, free: 61.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.455/4.661, allocations: 33.97 MB / 0.5823 GB, free: 33.22 MB / 442.7 MB