Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 270 MB / 282.6 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.381e-05, allocations: 11.88 kB / 347.1 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.6161, allocations: 94.85 MB / 0.492 GB, free: 11.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/0.6165, allocations: 99.92 kB / 0.4921 GB, free: 11.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05467/0.6712, allocations: 12.59 MB / 0.5044 GB, free: 14.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6712, allocations: 0 / 0.5044 GB, free: 14.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.6713, allocations: 8 kB / 0.5044 GB, free: 14.81 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001434/0.6727, allocations: 0.6621 MB / 0.505 GB, free: 14.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.6728, allocations: 11.97 kB / 0.5051 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.6729, allocations: 90.52 kB / 0.5051 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.6731, allocations: 47.44 kB / 0.5052 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.6736, allocations: 298.3 kB / 0.5055 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.6737, allocations: 33 kB / 0.5055 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6738, allocations: 44 kB / 0.5055 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.6753, allocations: 0.6187 MB / 0.5061 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6753, allocations: 3.984 kB / 0.5061 GB, free: 12.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.6754, allocations: 16 kB / 0.5062 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.6754, allocations: 21 kB / 0.5062 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6765, allocations: 421.7 kB / 0.5066 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.6799, allocations: 1.535 MB / 0.5081 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.6806, allocations: 267.6 kB / 0.5083 GB, free: 10.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.681, allocations: 122.6 kB / 0.5085 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.585e-05/0.6811, allocations: 15.94 kB / 0.5085 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.6811, allocations: 42.5 kB / 0.5085 GB, free: 10.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 3.547e-06/0.6811, allocations: 0 / 0.5085 GB, free: 10.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001037/0.6822, allocations: 314.6 kB / 0.5088 GB, free: 10.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.6822, allocations: 106.8 kB / 0.5089 GB, free: 9.922 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008593/0.6831, allocations: 483 kB / 0.5094 GB, free: 9.445 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.6832, allocations: 33.7 kB / 0.5094 GB, free: 9.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.6834, allocations: 270.4 kB / 0.5097 GB, free: 9.137 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.6835, allocations: 67 kB / 0.5097 GB, free: 9.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.6835, allocations: 8.062 kB / 0.5097 GB, free: 9.062 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6837, allocations: 330.8 kB / 0.5101 GB, free: 8.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.6841, allocations: 132 kB / 0.5102 GB, free: 8.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.6846, allocations: 235.6 kB / 0.5104 GB, free: 8.312 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.685, allocations: 166.6 kB / 0.5106 GB, free: 8.152 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6851, allocations: 0 / 0.5106 GB, free: 8.152 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001187/0.6863, allocations: 400.9 kB / 0.5109 GB, free: 7.754 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.6863, allocations: 11.98 kB / 0.511 GB, free: 7.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/0.6864, allocations: 36.5 kB / 0.511 GB, free: 7.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.6865, allocations: 8 kB / 0.511 GB, free: 7.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.6869, allocations: 55.89 kB / 0.5111 GB, free: 7.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.6869, allocations: 7.938 kB / 0.5111 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/0.6876, allocations: 75.36 kB / 0.5111 GB, free: 7.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.6876, allocations: 19.98 kB / 0.5111 GB, free: 7.543 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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001601/0.6878, allocations: 132.9 kB / 0.5113 GB, free: 7.406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.688, allocations: 43.52 kB / 0.5113 GB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.6893, allocations: 428.6 kB / 0.5117 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.6893, allocations: 4 kB / 0.5117 GB, free: 6.938 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6893, allocations: 0 / 0.5117 GB, free: 6.938 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6893, allocations: 7.984 kB / 0.5117 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008987/0.6903, allocations: 393.2 kB / 0.5121 GB, free: 6.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001139/0.6904, allocations: 35.95 kB / 0.5121 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.6907, allocations: 35.91 kB / 0.5122 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6907, allocations: 0 / 0.5122 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.6908, allocations: 12 kB / 0.5122 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.6908, allocations: 0 / 0.5122 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6908, allocations: 0 / 0.5122 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.6918, allocations: 0.5715 MB / 0.5128 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.692, allocations: 128.5 kB / 0.5129 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6921, allocations: 7.953 kB / 0.5129 GB, free: 5.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.6927, allocations: 23.98 kB / 0.5129 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.6928, allocations: 23.97 kB / 0.5129 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.6929, allocations: 19.92 kB / 0.5129 GB, free: 5.594 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006794/0.6935, allocations: 385.1 kB / 0.5133 GB, free: 5.219 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6936, allocations: 0 / 0.5133 GB, free: 5.219 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009483/0.6945, allocations: 139.8 kB / 0.5134 GB, free: 5.082 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001772/0.6963, allocations: 1.358 MB / 0.5148 GB, free: 3.691 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.6975, allocations: 0.6015 MB / 0.5154 GB, free: 3.016 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6975, allocations: 0 / 0.5154 GB, free: 3.016 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006295/0.6981, allocations: 449.3 kB / 0.5158 GB, free: 2.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000992/0.6991, allocations: 112.9 kB / 0.5159 GB, free: 2.398 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.7022, allocations: 0.8469 MB / 0.5167 GB, free: 1.504 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.7028, allocations: 0.8662 MB / 0.5176 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.7031, allocations: 119.4 kB / 0.5177 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7031, allocations: 0 / 0.5177 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.936/3.639, allocations: 10.36 MB / 0.5278 GB, free: 6.188 MB / 458.7 MB