Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.684/2.684, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.786e-05, allocations: 4 kB / 347.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4751, allocations: 61.88 MB / 409 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.6405, allocations: 91.68 MB / 0.4889 GB, free: 14.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/0.641, allocations: 95.94 kB / 0.489 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05764/0.6986, allocations: 12.11 MB / 0.5008 GB, free: 2.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6987, allocations: 4 kB / 0.5008 GB, free: 2.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.6987, allocations: 3.938 kB / 0.5008 GB, free: 2.512 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009543/0.6997, allocations: 0.4947 MB / 0.5013 GB, free: 1.969 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.6998, allocations: 15.97 kB / 0.5013 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.6999, allocations: 66.47 kB / 0.5014 GB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.7, allocations: 31.62 kB / 0.5014 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.7004, allocations: 242.6 kB / 0.5017 GB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.7004, allocations: 24.52 kB / 0.5017 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.7005, allocations: 24 kB / 0.5017 GB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008472/0.7013, allocations: 345 kB / 0.502 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.7014, allocations: 3.984 kB / 0.502 GB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.7014, allocations: 11.98 kB / 0.502 GB, free: 1.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/0.7015, allocations: 24.77 kB / 0.5021 GB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.7023, allocations: 337.3 kB / 0.5024 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.7045, allocations: 0.8548 MB / 0.5032 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.7053, allocations: 232.2 kB / 0.5034 GB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.7055, allocations: 81.28 kB / 0.5035 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.7056, allocations: 7.906 kB / 0.5035 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.7056, allocations: 34.56 kB / 0.5036 GB, free: 15.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 3.537e-06/0.7056, allocations: 4 kB / 0.5036 GB, free: 15.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007168/0.7063, allocations: 225.2 kB / 0.5038 GB, free: 15.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.7064, allocations: 55.34 kB / 0.5038 GB, free: 15.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.707, allocations: 303.3 kB / 0.5041 GB, free: 14.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.707, allocations: 29.7 kB / 0.5042 GB, free: 14.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.7072, allocations: 222.4 kB / 0.5044 GB, free: 14.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.7073, allocations: 51.2 kB / 0.5044 GB, free: 14.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.7073, allocations: 4 kB / 0.5044 GB, free: 14.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7075, allocations: 326.8 kB / 0.5047 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.7077, allocations: 80.41 kB / 0.5048 GB, free: 14.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.7081, allocations: 177.8 kB / 0.505 GB, free: 14.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.7084, allocations: 113.6 kB / 0.5051 GB, free: 13.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.7085, allocations: 3.938 kB / 0.5051 GB, free: 13.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008537/0.7093, allocations: 285.2 kB / 0.5054 GB, free: 13.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.7094, allocations: 8 kB / 0.5054 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.7094, allocations: 4 kB / 0.5054 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.7094, allocations: 4.375 kB / 0.5054 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.7106, allocations: 119.8 kB / 0.5055 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.7132, allocations: 3.653 MB / 0.5091 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.7138, allocations: 43.64 kB / 0.5091 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.7138, allocations: 12 kB / 0.5091 GB, free: 9.629 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.714, allocations: 123.9 kB / 0.5092 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.7141, allocations: 27.62 kB / 0.5093 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000958/0.715, allocations: 307.3 kB / 0.5095 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7151, allocations: 0 / 0.5095 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.7151, allocations: 3.953 kB / 0.5095 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.7151, allocations: 0 / 0.5095 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.7157, allocations: 301.3 kB / 0.5098 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7157, allocations: 0 / 0.5098 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/0.7167, allocations: 107.9 kB / 0.5099 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.7168, allocations: 0 / 0.5099 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.7168, allocations: 8 kB / 0.5099 GB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.7194, allocations: 3.641 MB / 0.5135 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.7195, allocations: 8.016 kB / 0.5135 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.7202, allocations: 319.5 kB / 0.5138 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.7204, allocations: 100.8 kB / 0.5139 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.649e-05/0.7204, allocations: 3.984 kB / 0.5139 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.7208, allocations: 12 kB / 0.5139 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.7209, allocations: 23.91 kB / 0.5139 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.7209, allocations: 11.94 kB / 0.514 GB, free: 4.426 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004069/0.7213, allocations: 247 kB / 0.5142 GB, free: 4.188 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.7214, allocations: 4 kB / 0.5142 GB, free: 4.184 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006196/0.722, allocations: 79.84 kB / 0.5143 GB, free: 4.105 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/0.7233, allocations: 0.9049 MB / 0.5152 GB, free: 3.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.7248, allocations: 264.4 kB / 0.5154 GB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7248, allocations: 0 / 0.5154 GB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009109/0.7257, allocations: 151.8 kB / 0.5156 GB, free: 2.766 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.7264, allocations: 64.72 kB / 0.5156 GB, free: 2.695 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.728, allocations: 0.5112 MB / 0.5161 GB, free: 2.141 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.7284, allocations: 0.795 MB / 0.5169 GB, free: 1.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.7287, allocations: 75.41 kB / 0.517 GB, free: 1.246 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7287, allocations: 4 kB / 0.517 GB, free: 1.242 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.173/3.902, allocations: 11.77 MB / 0.5285 GB, free: 5.484 MB / 458.7 MB