Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_2_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: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.961e-05, allocations: 4 kB / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4214, allocations: 54.86 MB / 359.9 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.5875, allocations: 88.66 MB / 448.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003713/0.5879, allocations: 91.94 kB / 448.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05438/0.6423, allocations: 12.13 MB / 460.8 MB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6424, allocations: 0 / 460.8 MB, free: 11.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.6424, allocations: 4 kB / 460.8 MB, free: 11.82 MB / 394.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.001684/0.6441, allocations: 0.6659 MB / 461.4 MB, free: 11.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.6442, allocations: 11.97 kB / 461.5 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/0.6444, allocations: 98.45 kB / 461.5 MB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.6446, allocations: 43.44 kB / 461.6 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.6452, allocations: 295.7 kB / 461.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.6453, allocations: 29 kB / 461.9 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6454, allocations: 44 kB / 462 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6469, allocations: 0.6149 MB / 462.6 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.6469, allocations: 3.953 kB / 462.6 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.647, allocations: 20 kB / 462.6 MB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-05/0.6471, allocations: 21 kB / 462.6 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.6482, allocations: 421.7 kB / 463 MB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.6519, allocations: 1.535 MB / 464.6 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.6528, allocations: 267.6 kB / 464.8 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.6532, allocations: 124.1 kB / 464.9 MB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.6532, allocations: 8.938 kB / 464.9 MB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.6533, allocations: 38.52 kB / 465 MB, free: 7.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.777e-06/0.6533, allocations: 0 / 465 MB, free: 7.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001102/0.6544, allocations: 313 kB / 465.3 MB, free: 7.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.6545, allocations: 103 kB / 465.4 MB, free: 6.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.6555, allocations: 494.9 kB / 465.9 MB, free: 6.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.6556, allocations: 33.64 kB / 465.9 MB, free: 6.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.6558, allocations: 262.4 kB / 466.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.656, allocations: 71 kB / 466.2 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.656, allocations: 4 kB / 466.2 MB, free: 6.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6562, allocations: 327.6 kB / 466.6 MB, free: 5.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.6566, allocations: 124.2 kB / 466.7 MB, free: 5.641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.6571, allocations: 243.6 kB / 466.9 MB, free: 5.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.6577, allocations: 164.7 kB / 467.1 MB, free: 5.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.6577, allocations: 0 / 467.1 MB, free: 5.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001251/0.6589, allocations: 402.7 kB / 467.5 MB, free: 4.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.659, allocations: 8 kB / 467.5 MB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/0.6591, allocations: 42.11 kB / 467.5 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.6592, allocations: 13.02 kB / 467.5 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.6596, allocations: 52.42 kB / 467.6 MB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.6596, allocations: 7.938 kB / 467.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.6603, allocations: 79.34 kB / 467.7 MB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.6604, allocations: 20 kB / 467.7 MB, free: 4.574 MB / 394.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.0001869/0.6606, allocations: 132.8 kB / 467.8 MB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.6608, allocations: 43.44 kB / 467.9 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.6622, allocations: 423 kB / 468.3 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.6622, allocations: 15.88 kB / 468.3 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6622, allocations: 0 / 468.3 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.6623, allocations: 0 / 468.3 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009927/0.6633, allocations: 389.2 kB / 468.7 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001224/0.6634, allocations: 39.97 kB / 468.7 MB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.6637, allocations: 27.97 kB / 468.7 MB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.6638, allocations: 4 kB / 468.7 MB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.6638, allocations: 8 kB / 468.7 MB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.6638, allocations: 3.984 kB / 468.7 MB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6638, allocations: 3.953 kB / 468.8 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.665, allocations: 0.5832 MB / 469.3 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.6652, allocations: 124.5 kB / 469.5 MB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.6653, allocations: 4 kB / 469.5 MB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.6659, allocations: 31.97 kB / 469.5 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.666, allocations: 23.94 kB / 469.5 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.6661, allocations: 11.98 kB / 469.5 MB, free: 2.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007218/0.6668, allocations: 385.1 kB / 469.9 MB, free: 2.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6668, allocations: 3.938 kB / 469.9 MB, free: 2.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001008/0.6678, allocations: 135.9 kB / 470 MB, free: 2.113 MB / 394.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.001944/0.6698, allocations: 1.357 MB / 471.4 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.671, allocations: 0.5976 MB / 472 MB, free: 48 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6711, allocations: 0 / 472 MB, free: 48 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.6717, allocations: 453.4 kB / 472.4 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.6728, allocations: 114.6 kB / 472.6 MB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.6759, allocations: 0.841 MB / 473.4 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.6765, allocations: 0.8589 MB / 474.3 MB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.6769, allocations: 127.4 kB / 474.4 MB, free: 13.53 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6769, allocations: 0 / 474.4 MB, free: 13.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.83/3.507, allocations: 10.36 MB / 484.7 MB, free: 3.215 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat