Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.742e-05, allocations: 4 kB / 305 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3952, allocations: 54.84 MB / 359.9 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2192/0.6144, allocations: 88.85 MB / 448.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005252/0.615, allocations: 95.94 kB / 448.8 MB, free: 8.062 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06494/0.68, allocations: 13.62 MB / 462.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6801, allocations: 0 / 462.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.6801, allocations: 4 kB / 462.4 MB, free: 10.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001481/0.6816, allocations: 0.6307 MB / 463.1 MB, free: 9.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.6817, allocations: 12.03 kB / 463.1 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.6818, allocations: 78.53 kB / 463.1 MB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.682, allocations: 39.53 kB / 463.2 MB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.6825, allocations: 284 kB / 463.5 MB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.6826, allocations: 32.72 kB / 463.5 MB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.6827, allocations: 36 kB / 463.5 MB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.6839, allocations: 0.5152 MB / 464 MB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.6839, allocations: 4 kB / 464 MB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.684, allocations: 15.98 kB / 464.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.6841, allocations: 16.78 kB / 464.1 MB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/0.685, allocations: 349.3 kB / 464.4 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.6881, allocations: 1.306 MB / 465.7 MB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.6889, allocations: 259.7 kB / 466 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.6892, allocations: 130.4 kB / 466.1 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.605e-05/0.6893, allocations: 15.94 kB / 466.1 MB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.6894, allocations: 34.56 kB / 466.2 MB, free: 6.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 4.759e-06/0.6894, allocations: 0 / 466.2 MB, free: 6.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001065/0.6905, allocations: 305.6 kB / 466.5 MB, free: 6.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.6906, allocations: 106.8 kB / 466.6 MB, free: 5.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.6914, allocations: 451.1 kB / 467 MB, free: 5.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.6915, allocations: 25.7 kB / 467 MB, free: 5.477 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.6917, allocations: 250.5 kB / 467.3 MB, free: 5.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.371e-05/0.6919, allocations: 55.3 kB / 467.3 MB, free: 5.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.6919, allocations: 7.938 kB / 467.3 MB, free: 5.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.692, allocations: 322.8 kB / 467.6 MB, free: 4.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.6924, allocations: 108.1 kB / 467.8 MB, free: 4.734 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.6928, allocations: 205.6 kB / 468 MB, free: 4.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.6933, allocations: 141.2 kB / 468.1 MB, free: 4.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6933, allocations: 4 kB / 468.1 MB, free: 4.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001105/0.6944, allocations: 345.3 kB / 468.4 MB, free: 4.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.6945, allocations: 13.66 kB / 468.4 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.6946, allocations: 27.98 kB / 468.5 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.6946, allocations: 8 kB / 468.5 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.695, allocations: 43.83 kB / 468.5 MB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.6951, allocations: 4 kB / 468.5 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.6956, allocations: 71.61 kB / 468.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/0.6957, allocations: 15.98 kB / 468.6 MB, free: 3.836 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.6959, allocations: 120.9 kB / 468.7 MB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.696, allocations: 35.53 kB / 468.8 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.6973, allocations: 414.7 kB / 469.2 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.6974, allocations: 11.92 kB / 469.2 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6974, allocations: 0 / 469.2 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6974, allocations: 0 / 469.2 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009414/0.6984, allocations: 369.4 kB / 469.5 MB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.895e-05/0.6985, allocations: 35.91 kB / 469.6 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.6988, allocations: 27.97 kB / 469.6 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.6989, allocations: 0 / 469.6 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.6989, allocations: 12 kB / 469.6 MB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.6989, allocations: 3.953 kB / 469.6 MB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6989, allocations: 4 kB / 469.6 MB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.7, allocations: 0.5675 MB / 470.2 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.7002, allocations: 128.6 kB / 470.3 MB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.764e-05/0.7003, allocations: 0 / 470.3 MB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/0.7008, allocations: 27.97 kB / 470.3 MB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.701, allocations: 19.97 kB / 470.4 MB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.701, allocations: 11.98 kB / 470.4 MB, free: 1.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000669/0.7017, allocations: 357.1 kB / 470.7 MB, free: 1.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.7017, allocations: 4 kB / 470.7 MB, free: 1.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009796/0.7027, allocations: 135.8 kB / 470.9 MB, free: 1.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001992/0.7047, allocations: 1.363 MB / 472.2 MB, free: 84 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.7059, allocations: 0.4959 MB / 472.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7059, allocations: 0 / 472.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.7065, allocations: 371.8 kB / 473.1 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.7074, allocations: 90.06 kB / 473.2 MB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.7101, allocations: 0.731 MB / 473.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.7107, allocations: 0.8539 MB / 474.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.711, allocations: 111.4 kB / 474.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/0.7111, allocations: 0 / 474.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.805/3.516, allocations: 9.385 MB / 484.3 MB, free: 3.891 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_res.mat does not exist to compare? outputFormat=mat