Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.744e-05, allocations: 4 kB / 305 MB, free: 5.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3966, allocations: 54.86 MB / 359.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5611, allocations: 86.52 MB / 446.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004/0.5616, allocations: 91.94 kB / 446.5 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04791/0.6095, allocations: 9.984 MB / 456.5 MB, free: 316 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6096, allocations: 0 / 456.5 MB, free: 316 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.6096, allocations: 4 kB / 456.5 MB, free: 312 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001082/0.6107, allocations: 0.4944 MB / 457 MB, free: 15.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6108, allocations: 12.02 kB / 457 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.6109, allocations: 62.55 kB / 457.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.468e-05/0.611, allocations: 32.47 kB / 457.1 MB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.6114, allocations: 247.2 kB / 457.3 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.6115, allocations: 20.55 kB / 457.3 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.6116, allocations: 24 kB / 457.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008997/0.6125, allocations: 368.8 kB / 457.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.6125, allocations: 0 / 457.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.6126, allocations: 15.95 kB / 457.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.017e-05/0.6127, allocations: 20.77 kB / 457.8 MB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.6136, allocations: 377.3 kB / 458.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.616, allocations: 0.8981 MB / 459 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.6169, allocations: 278.3 kB / 459.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.6172, allocations: 97.48 kB / 459.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.6173, allocations: 0 / 459.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.6173, allocations: 46.44 kB / 459.4 MB, free: 13.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.6173, allocations: 0 / 459.4 MB, free: 13.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007586/0.6181, allocations: 230.2 kB / 459.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.6181, allocations: 56.91 kB / 459.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/0.6187, allocations: 307.4 kB / 460 MB, free: 12.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.6187, allocations: 29.7 kB / 460.1 MB, free: 12.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.6189, allocations: 218.6 kB / 460.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.619, allocations: 55.27 kB / 460.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.619, allocations: 4 kB / 460.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6192, allocations: 322.8 kB / 460.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.6194, allocations: 88.3 kB / 460.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.6198, allocations: 137.5 kB / 460.9 MB, free: 11.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.6201, allocations: 96.73 kB / 461 MB, free: 11.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6201, allocations: 0 / 461 MB, free: 11.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007576/0.6209, allocations: 270.6 kB / 461.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6209, allocations: 4 kB / 461.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.621, allocations: 4 kB / 461.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.621, allocations: 4 kB / 461.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.6221, allocations: 111.8 kB / 461.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.625, allocations: 3.701 MB / 465 MB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.6255, allocations: 35.7 kB / 465.1 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.6255, allocations: 11.95 kB / 465.1 MB, free: 7.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.6257, allocations: 135 kB / 465.2 MB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.6258, allocations: 23.72 kB / 465.2 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/0.6268, allocations: 327.2 kB / 465.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.6268, allocations: 0 / 465.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.6268, allocations: 4 kB / 465.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6268, allocations: 0 / 465.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.6274, allocations: 305.4 kB / 465.9 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6274, allocations: 4 kB / 465.9 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6285, allocations: 115.8 kB / 466 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.6285, allocations: 0 / 466 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.6285, allocations: 8 kB / 466 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.6314, allocations: 3.7 MB / 469.7 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6315, allocations: 0 / 469.7 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/0.6322, allocations: 339.4 kB / 470 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.6324, allocations: 108.7 kB / 470.1 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.6325, allocations: 8 kB / 470.1 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.6328, allocations: 11.98 kB / 470.1 MB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.6329, allocations: 20.08 kB / 470.2 MB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.6329, allocations: 4 kB / 470.2 MB, free: 2.004 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004183/0.6334, allocations: 255 kB / 470.4 MB, free: 1.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6334, allocations: 0 / 470.4 MB, free: 1.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005933/0.634, allocations: 76.06 kB / 470.5 MB, free: 1.684 MB / 394.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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.6353, allocations: 0.9532 MB / 471.4 MB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.6367, allocations: 255.7 kB / 471.7 MB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.6368, allocations: 0 / 471.7 MB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009529/0.6377, allocations: 163.8 kB / 471.9 MB, free: 304 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.6383, allocations: 69.02 kB / 471.9 MB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.6399, allocations: 0.5084 MB / 472.4 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.6404, allocations: 0.8027 MB / 473.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6406, allocations: 75.41 kB / 473.3 MB, free: 14.78 MB / 410.7 MB Notification: Performance of SimCode: time 3.286e-06/0.6406, allocations: 0 / 473.3 MB, free: 14.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.1/3.741, allocations: 12.42 MB / 485.7 MB, free: 2.367 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.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat