Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.808/2.808, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.048e-05, allocations: 0 / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4322, allocations: 54.86 MB / 359.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.6044, allocations: 93.46 MB / 453.3 MB, free: 3.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/0.6049, allocations: 99.91 kB / 453.4 MB, free: 3.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1224/0.7273, allocations: 23.46 MB / 476.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.7274, allocations: 0 / 476.9 MB, free: 11.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.7274, allocations: 8 kB / 476.9 MB, free: 11.71 MB / 410.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.001685/0.7291, allocations: 0.6934 MB / 477.6 MB, free: 10.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.7292, allocations: 11.97 kB / 477.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.7295, allocations: 114.5 kB / 477.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.7296, allocations: 59.34 kB / 477.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.7303, allocations: 316.1 kB / 478.1 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.7303, allocations: 37.31 kB / 478.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.7305, allocations: 55.98 kB / 478.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.7322, allocations: 0.7066 MB / 478.9 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.7323, allocations: 3.953 kB / 478.9 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.7323, allocations: 24 kB / 478.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.7325, allocations: 49.28 kB / 479 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.7343, allocations: 0.7521 MB / 479.7 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00401/0.7384, allocations: 1.52 MB / 481.2 MB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.7396, allocations: 427.8 kB / 481.6 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.7401, allocations: 145.2 kB / 481.8 MB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.839e-05/0.7401, allocations: 16.22 kB / 481.8 MB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.7402, allocations: 38.73 kB / 481.8 MB, free: 6.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.116e-06/0.7402, allocations: 0 / 481.8 MB, free: 6.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001213/0.7414, allocations: 378.6 kB / 482.2 MB, free: 6.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.7415, allocations: 63.39 kB / 482.3 MB, free: 6.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.7425, allocations: 0.5113 MB / 482.8 MB, free: 5.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.7426, allocations: 29.7 kB / 482.8 MB, free: 5.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.7429, allocations: 313.9 kB / 483.1 MB, free: 5.277 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.743, allocations: 102.6 kB / 483.2 MB, free: 5.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.7431, allocations: 12 kB / 483.2 MB, free: 5.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7433, allocations: 338.9 kB / 483.6 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.7438, allocations: 172.9 kB / 483.7 MB, free: 4.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.7445, allocations: 415.8 kB / 484.1 MB, free: 4.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.7452, allocations: 251.7 kB / 484.4 MB, free: 3.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.7453, allocations: 4 kB / 484.4 MB, free: 3.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001749/0.747, allocations: 0.5953 MB / 485 MB, free: 3.281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.7471, allocations: 9.875 kB / 485 MB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.7471, allocations: 12 kB / 485 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.451e-05/0.7472, allocations: 12 kB / 485 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.7493, allocations: 243.6 kB / 485.3 MB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.755, allocations: 7.306 MB / 492.6 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.7559, allocations: 71.28 kB / 492.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.756, allocations: 35.98 kB / 492.7 MB, free: 11.32 MB / 426.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.0002547/0.7562, allocations: 160 kB / 492.8 MB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.7564, allocations: 43.44 kB / 492.9 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.7582, allocations: 0.5291 MB / 493.4 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7582, allocations: 4 kB / 493.4 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7583, allocations: 0 / 493.4 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.7583, allocations: 7.922 kB / 493.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009861/0.7593, allocations: 429.2 kB / 493.8 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.7593, allocations: 3.953 kB / 493.8 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.7612, allocations: 203.8 kB / 494 MB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/0.7612, allocations: 4 kB / 494 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/0.7613, allocations: 15.97 kB / 494 MB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005571/0.7669, allocations: 7.29 MB / 0.4896 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.7669, allocations: 3.984 kB / 0.4896 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.7682, allocations: 479.3 kB / 0.49 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.7684, allocations: 128.4 kB / 0.4902 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.7685, allocations: 8 kB / 0.4902 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.769, allocations: 20.17 kB / 0.4902 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.7691, allocations: 23.97 kB / 0.4902 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.7692, allocations: 15.98 kB / 0.4902 GB, free: 1.602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008101/0.77, allocations: 401.5 kB / 0.4906 GB, free: 1.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.77, allocations: 0 / 0.4906 GB, free: 1.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001134/0.7712, allocations: 191.8 kB / 0.4908 GB, free: 1.023 MB / 426.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.002209/0.7734, allocations: 1.185 MB / 0.492 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002613/0.776, allocations: 0.5288 MB / 0.4925 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7761, allocations: 4 kB / 0.4925 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.7778, allocations: 287.6 kB / 0.4928 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008725/0.7787, allocations: 113.9 kB / 0.4929 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.7816, allocations: 0.9006 MB / 0.4937 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.7823, allocations: 0.9091 MB / 0.4946 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.7826, allocations: 155.9 kB / 0.4948 GB, free: 12.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7827, allocations: 0 / 0.4948 GB, free: 12.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.874/4.657, allocations: 33.95 MB / 0.5279 GB, free: 143.7 MB / 458.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_overall_KC_res.mat does not exist to compare? outputFormat=mat