Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.618e-05/4.64e-05, allocations: 4 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.525, allocations: 87.03 MB / 408.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/0.5254, allocations: 99.92 kB / 409 MB, free: 2.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1118/0.6373, allocations: 23.46 MB / 432.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.748e-06/0.6373, allocations: 0 / 432.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.6373, allocations: 11.94 kB / 432.5 MB, free: 11.01 MB / 362.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.001735/0.6391, allocations: 0.6895 MB / 433.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6392, allocations: 12.03 kB / 433.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.6394, allocations: 110.5 kB / 433.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.6395, allocations: 51.34 kB / 433.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.6402, allocations: 306.2 kB / 433.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.6402, allocations: 41.31 kB / 433.7 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.6404, allocations: 59.98 kB / 433.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.6421, allocations: 0.7169 MB / 434.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.6422, allocations: 7.938 kB / 434.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.6423, allocations: 20 kB / 434.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.6424, allocations: 45.3 kB / 434.5 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.6443, allocations: 0.7585 MB / 435.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.6485, allocations: 1.532 MB / 436.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.6498, allocations: 428.5 kB / 437.2 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.6502, allocations: 141.2 kB / 437.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-05/0.6503, allocations: 16.2 kB / 437.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.6504, allocations: 38.8 kB / 437.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.627e-06/0.6504, allocations: 0 / 437.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001222/0.6516, allocations: 381.9 kB / 437.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.6517, allocations: 55.41 kB / 437.8 MB, free: 5.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/0.6527, allocations: 0.5112 MB / 438.3 MB, free: 4.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.6528, allocations: 33.7 kB / 438.4 MB, free: 4.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.6531, allocations: 321.9 kB / 438.7 MB, free: 4.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.6532, allocations: 102.7 kB / 438.8 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.6533, allocations: 15.94 kB / 438.8 MB, free: 4.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6534, allocations: 330.8 kB / 439.1 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.654, allocations: 173 kB / 439.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.6547, allocations: 409.2 kB / 439.7 MB, free: 3.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.6554, allocations: 255.7 kB / 439.9 MB, free: 3.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.6554, allocations: 4 kB / 439.9 MB, free: 3.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001727/0.6571, allocations: 0.6145 MB / 440.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.6572, allocations: 8 kB / 440.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.6573, allocations: 8 kB / 440.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.041e-05/0.6573, allocations: 15.98 kB / 440.6 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.6594, allocations: 247.6 kB / 440.8 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.6647, allocations: 7.31 MB / 448.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.6656, allocations: 71.27 kB / 448.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.6657, allocations: 35.98 kB / 448.2 MB, free: 10.59 MB / 378.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.0002501/0.6659, allocations: 159.8 kB / 448.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.6661, allocations: 47.44 kB / 448.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.6678, allocations: 0.5257 MB / 449 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6679, allocations: 7.953 kB / 449 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.6679, allocations: 7.984 kB / 449 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6679, allocations: 0 / 449 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.6688, allocations: 425.2 kB / 449.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6689, allocations: 0 / 449.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/0.6708, allocations: 207.8 kB / 449.6 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.6709, allocations: 0 / 449.6 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/0.6709, allocations: 15.98 kB / 449.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005185/0.6761, allocations: 7.302 MB / 456.9 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.6762, allocations: 3.984 kB / 456.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.6774, allocations: 483.6 kB / 457.4 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.6776, allocations: 128.5 kB / 457.5 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6778, allocations: 8 kB / 457.5 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.6782, allocations: 15.94 kB / 457.6 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.6784, allocations: 27.95 kB / 457.6 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.6784, allocations: 11.98 kB / 457.6 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007775/0.6792, allocations: 401.4 kB / 458 MB, free: 484 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6792, allocations: 4 kB / 458 MB, free: 480 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001076/0.6803, allocations: 187.8 kB / 458.2 MB, free: 292 kB / 378.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.002155/0.6825, allocations: 1.19 MB / 459.4 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.6851, allocations: 0.5325 MB / 459.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6851, allocations: 0 / 459.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.6869, allocations: 291.8 kB / 460.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/0.6878, allocations: 113.9 kB / 460.3 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.6906, allocations: 0.8955 MB / 461.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/0.6914, allocations: 0.9131 MB / 462.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.6918, allocations: 147.4 kB / 462.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of SimCode: time 9.71e-07/0.6918, allocations: 0 / 462.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.471/4.163, allocations: 34.02 MB / 496.3 MB, free: 10.07 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat