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.091/2.091, allocations: 209.4 MB / 216.9 MB, free: 6.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.891e-05, allocations: 4 kB / 267.6 MB, free: 5.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 48.7 MB / 316.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.5478, allocations: 86.61 MB / 402.9 MB, free: 5.754 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000545/0.5484, allocations: 93.5 kB / 403 MB, free: 5.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1173/0.6658, allocations: 23.23 MB / 426.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6658, allocations: 0 / 426.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.6658, allocations: 8 kB / 426.3 MB, free: 2.312 MB / 346.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.001804/0.6677, allocations: 0.6901 MB / 427 MB, free: 1.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.6677, allocations: 8.031 kB / 427 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.6679, allocations: 51.34 kB / 427 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006623/0.6686, allocations: 317.3 kB / 427.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.6687, allocations: 20 kB / 427.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6688, allocations: 32 kB / 427.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001554/0.6704, allocations: 0.6702 MB / 428 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.672, allocations: 0.6324 MB / 428.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.6721, allocations: 0 / 428.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.6721, allocations: 0 / 428.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.871e-05/0.6723, allocations: 49.28 kB / 428.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.6762, allocations: 1.382 MB / 430.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.6776, allocations: 0.507 MB / 430.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.678, allocations: 165.4 kB / 430.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.765e-05/0.6781, allocations: 11.73 kB / 430.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.6782, allocations: 42.55 kB / 430.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.717e-06/0.6782, allocations: 4 kB / 430.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.001255/0.6794, allocations: 412.4 kB / 431.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.6795, allocations: 55.41 kB / 431.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.6799, allocations: 253.8 kB / 431.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.68, allocations: 25.7 kB / 431.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.6803, allocations: 346 kB / 431.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.6805, allocations: 134 kB / 432 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.6805, allocations: 0 / 432 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6807, allocations: 334.8 kB / 432.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.6812, allocations: 193.3 kB / 432.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.682, allocations: 433.5 kB / 433 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.6827, allocations: 271.6 kB / 433.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/0.6827, allocations: 4 kB / 433.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001719/0.6844, allocations: 0.6222 MB / 433.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.6845, allocations: 8 kB / 433.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.6845, allocations: 12.12 kB / 433.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/0.6846, allocations: 12 kB / 433.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.6868, allocations: 251.6 kB / 434.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005636/0.6925, allocations: 7.345 MB / 441.5 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/0.6933, allocations: 43.58 kB / 441.5 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/0.6934, allocations: 35.98 kB / 441.6 MB, free: 2.477 MB / 362.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 (73): * Single equations (assignments): 61 * 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.0002649/0.6937, allocations: 135.9 kB / 441.7 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001182/0.6949, allocations: 412.5 kB / 442.1 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.695, allocations: 31.67 kB / 442.1 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.6968, allocations: 0.5631 MB / 442.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.6968, allocations: 4 kB / 442.7 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6969, allocations: 0 / 442.7 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.6969, allocations: 7.984 kB / 442.7 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009317/0.6978, allocations: 405.4 kB / 443.1 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6979, allocations: 0 / 443.1 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002064/0.6999, allocations: 211.8 kB / 443.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.7, allocations: 0 / 443.3 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.616e-05/0.7001, allocations: 19.94 kB / 443.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.7056, allocations: 7.329 MB / 450.7 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.7056, allocations: 3.938 kB / 450.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.7069, allocations: 0.5034 MB / 451.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.7071, allocations: 104.7 kB / 451.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.7072, allocations: 8.125 kB / 451.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.7076, allocations: 8 kB / 451.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.7078, allocations: 31.95 kB / 451.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.274e-05/0.7078, allocations: 15.98 kB / 451.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002687/0.7081, allocations: 178 kB / 451.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7081, allocations: 0 / 451.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001155/0.7093, allocations: 199.4 kB / 451.7 MB, free: 7.973 MB / 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 (37): * Single equations (assignments): 25 * 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.002228/0.7115, allocations: 1.22 MB / 452.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002666/0.7143, allocations: 0.5715 MB / 453.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7143, allocations: 0 / 453.5 MB, free: 6.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.7162, allocations: 319.5 kB / 453.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.7168, allocations: 32.34 kB / 453.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.7198, allocations: 0.8565 MB / 454.7 MB, free: 4.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/0.7206, allocations: 0.9171 MB / 455.6 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.721, allocations: 151.4 kB / 455.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.721, allocations: 4 kB / 455.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.468/4.189, allocations: 32.44 MB / 488.2 MB, free: 3.316 MB / 410.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