Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 270 MB / 282.6 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.719e-05, allocations: 0 / 347.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5126/0.5127, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2188/0.7316, allocations: 93.75 MB / 0.4909 GB, free: 12.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/0.732, allocations: 91.92 kB / 0.491 GB, free: 12.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07402/0.8061, allocations: 13.71 MB / 0.5044 GB, free: 14.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.8061, allocations: 0 / 0.5044 GB, free: 14.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.8062, allocations: 4 kB / 0.5044 GB, free: 14.97 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001492/0.8077, allocations: 0.5566 MB / 0.5049 GB, free: 14.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.8077, allocations: 19.97 kB / 0.505 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.8079, allocations: 78.41 kB / 0.505 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.808, allocations: 27.62 kB / 0.5051 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.8086, allocations: 254.5 kB / 0.5053 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.8086, allocations: 20.56 kB / 0.5053 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/0.8088, allocations: 24 kB / 0.5053 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.81, allocations: 389.7 kB / 0.5057 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.81, allocations: 4 kB / 0.5057 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.8101, allocations: 15.98 kB / 0.5057 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/0.8102, allocations: 20.48 kB / 0.5057 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.8112, allocations: 261 kB / 0.506 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.8143, allocations: 1.108 MB / 0.5071 GB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.8151, allocations: 211.8 kB / 0.5073 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.8155, allocations: 94.42 kB / 0.5074 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.8156, allocations: 4 kB / 0.5074 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.8156, allocations: 34.56 kB / 0.5074 GB, free: 11.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.326e-06/0.8156, allocations: 0 / 0.5074 GB, free: 11.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001023/0.8167, allocations: 205.2 kB / 0.5076 GB, free: 11.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.8168, allocations: 110.8 kB / 0.5077 GB, free: 11.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/0.8177, allocations: 359.5 kB / 0.5081 GB, free: 10.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.8177, allocations: 25.81 kB / 0.5081 GB, free: 10.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.818, allocations: 246.2 kB / 0.5083 GB, free: 10.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-05/0.8181, allocations: 47.3 kB / 0.5084 GB, free: 10.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.8181, allocations: 4 kB / 0.5084 GB, free: 10.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.8183, allocations: 326.8 kB / 0.5087 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.8187, allocations: 84.17 kB / 0.5088 GB, free: 10.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.8193, allocations: 208.8 kB / 0.509 GB, free: 9.953 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.8198, allocations: 127.8 kB / 0.5091 GB, free: 9.828 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.8198, allocations: 0 / 0.5091 GB, free: 9.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001229/0.821, allocations: 309.1 kB / 0.5094 GB, free: 9.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.8211, allocations: 8 kB / 0.5094 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.8212, allocations: 27.97 kB / 0.5094 GB, free: 9.484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.8212, allocations: 4 kB / 0.5094 GB, free: 9.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.8218, allocations: 56.34 kB / 0.5095 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.8219, allocations: 11.98 kB / 0.5095 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.8226, allocations: 51.67 kB / 0.5095 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.8227, allocations: 19.97 kB / 0.5095 GB, free: 9.344 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.8229, allocations: 130.9 kB / 0.5097 GB, free: 9.211 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.8231, allocations: 27.62 kB / 0.5097 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.8242, allocations: 264.2 kB / 0.5099 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.8242, allocations: 4 kB / 0.5099 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8243, allocations: 0 / 0.5099 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8243, allocations: 0 / 0.5099 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.8252, allocations: 313.3 kB / 0.5102 GB, free: 8.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.264e-05/0.8253, allocations: 19.94 kB / 0.5103 GB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.8257, allocations: 35.97 kB / 0.5103 GB, free: 8.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.8258, allocations: 0 / 0.5103 GB, free: 8.508 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.8258, allocations: 7.984 kB / 0.5103 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.8258, allocations: 0 / 0.5103 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.8258, allocations: 4 kB / 0.5103 GB, free: 8.496 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009654/0.8268, allocations: 477 kB / 0.5108 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.827, allocations: 108.8 kB / 0.5109 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8271, allocations: 4 kB / 0.5109 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.8278, allocations: 28.06 kB / 0.5109 GB, free: 7.844 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.828, allocations: 23.91 kB / 0.5109 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.828, allocations: 4 kB / 0.5109 GB, free: 7.816 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006377/0.8287, allocations: 286 kB / 0.5112 GB, free: 7.543 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.8287, allocations: 0 / 0.5112 GB, free: 7.543 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001179/0.8299, allocations: 103.8 kB / 0.5113 GB, free: 7.441 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/0.8318, allocations: 1.24 MB / 0.5125 GB, free: 6.168 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.8328, allocations: 361.9 kB / 0.5129 GB, free: 5.777 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8329, allocations: 4 kB / 0.5129 GB, free: 5.773 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000508/0.8334, allocations: 239.2 kB / 0.5131 GB, free: 5.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.8344, allocations: 85.86 kB / 0.5132 GB, free: 5.422 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.8371, allocations: 0.5504 MB / 0.5137 GB, free: 4.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.8377, allocations: 0.7989 MB / 0.5145 GB, free: 3.996 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.838, allocations: 87.41 kB / 0.5146 GB, free: 3.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.838, allocations: 0 / 0.5146 GB, free: 3.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.445, allocations: 6.912 MB / 0.5213 GB, free: 13.03 MB / 458.7 MB