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 2.024/2.024, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.794e-05/4.807e-05, allocations: 4 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5517, allocations: 87.04 MB / 408.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003991/0.5521, allocations: 91.94 kB / 409 MB, free: 2.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.114/0.6662, allocations: 23.47 MB / 432.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6662, allocations: 3.938 kB / 432.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.6663, allocations: 8 kB / 432.5 MB, free: 11 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.001806/0.6681, allocations: 0.6856 MB / 433.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.6682, allocations: 12.03 kB / 433.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.6684, allocations: 110.5 kB / 433.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.6686, allocations: 55.34 kB / 433.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.6692, allocations: 314.2 kB / 433.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.6693, allocations: 37.31 kB / 433.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.6694, allocations: 52 kB / 433.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.6711, allocations: 0.7027 MB / 434.4 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.6712, allocations: 4 kB / 434.4 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.6713, allocations: 27.98 kB / 434.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/0.6714, allocations: 45.28 kB / 434.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.6732, allocations: 0.7521 MB / 435.3 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.6773, allocations: 1.528 MB / 436.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.6785, allocations: 427.8 kB / 437.2 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.679, allocations: 141.2 kB / 437.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.6791, allocations: 16.22 kB / 437.4 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.6791, allocations: 34.8 kB / 437.4 MB, free: 5.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 4.088e-06/0.6791, allocations: 0 / 437.4 MB, free: 5.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001214/0.6803, allocations: 382.6 kB / 437.8 MB, free: 5.527 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.6804, allocations: 55.41 kB / 437.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.6815, allocations: 0.5152 MB / 438.3 MB, free: 4.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.6816, allocations: 29.7 kB / 438.4 MB, free: 4.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.6818, allocations: 314 kB / 438.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.682, allocations: 106.5 kB / 438.8 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.682, allocations: 15.94 kB / 438.8 MB, free: 4.473 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6822, allocations: 334.8 kB / 439.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.6827, allocations: 169 kB / 439.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.6834, allocations: 412.1 kB / 439.7 MB, free: 3.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.6841, allocations: 259.9 kB / 439.9 MB, free: 3.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.6841, allocations: 4 kB / 440 MB, free: 3.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001706/0.6859, allocations: 0.5951 MB / 440.5 MB, free: 2.602 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.6859, allocations: 8 kB / 440.6 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.686, allocations: 8 kB / 440.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/0.686, allocations: 12 kB / 440.6 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.688, allocations: 239.7 kB / 440.8 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.6933, allocations: 7.31 MB / 448.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/0.6942, allocations: 75.27 kB / 448.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/0.6943, allocations: 28 kB / 448.2 MB, free: 10.65 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.0002538/0.6946, allocations: 163.8 kB / 448.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.6947, allocations: 43.44 kB / 448.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.6965, allocations: 0.5255 MB / 448.9 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.6965, allocations: 7.953 kB / 449 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6966, allocations: 4 kB / 449 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.6966, allocations: 3.984 kB / 449 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/0.6976, allocations: 433.2 kB / 449.4 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.6976, allocations: 0 / 449.4 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.6994, allocations: 207.8 kB / 449.6 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.6995, allocations: 4 kB / 449.6 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.6995, allocations: 15.92 kB / 449.6 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.7047, allocations: 7.29 MB / 456.9 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.7048, allocations: 0 / 456.9 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.706, allocations: 487.5 kB / 457.4 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.7062, allocations: 124.7 kB / 457.5 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7064, allocations: 12 kB / 457.5 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.7068, allocations: 19.94 kB / 457.5 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.707, allocations: 19.97 kB / 457.5 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.707, allocations: 15.98 kB / 457.6 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007353/0.7078, allocations: 401.5 kB / 458 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.366e-06/0.7078, allocations: 0 / 458 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00114/0.7089, allocations: 191.7 kB / 458.1 MB, free: 356 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.002196/0.7112, allocations: 1.177 MB / 459.3 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.7138, allocations: 0.537 MB / 459.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.7139, allocations: 0 / 459.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.7156, allocations: 287.6 kB / 460.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/0.7166, allocations: 113.9 kB / 460.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.7195, allocations: 0.8916 MB / 461.1 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.7202, allocations: 0.9053 MB / 462 MB, free: 12.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.7206, allocations: 155.4 kB / 462.2 MB, free: 12.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7206, allocations: 0 / 462.2 MB, free: 12.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.485/4.205, allocations: 33.97 MB / 496.2 MB, free: 10.22 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