Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.666e-05, allocations: 4 kB / 305 MB, free: 5.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.441, allocations: 54.85 MB / 359.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.6083, allocations: 87.34 MB / 447.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/0.6087, allocations: 99.92 kB / 447.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03213/0.6409, allocations: 6.739 MB / 454.1 MB, free: 2.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6409, allocations: 0 / 454.1 MB, free: 2.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.641, allocations: 4 kB / 454.1 MB, free: 2.805 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007472/0.6417, allocations: 466.3 kB / 454.5 MB, free: 2.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.6418, allocations: 15.97 kB / 454.5 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.435e-05/0.6419, allocations: 54.55 kB / 454.6 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.642, allocations: 31.67 kB / 454.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.6423, allocations: 214.5 kB / 454.8 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.6423, allocations: 12.44 kB / 454.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.6424, allocations: 24 kB / 454.9 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.6429, allocations: 207.8 kB / 455.1 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6429, allocations: 0 / 455.1 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.643, allocations: 12 kB / 455.1 MB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.643, allocations: 7.953 kB / 455.1 MB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.6435, allocations: 212.8 kB / 455.3 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.6451, allocations: 0.6197 MB / 455.9 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.6456, allocations: 98.59 kB / 456 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.6458, allocations: 36.92 kB / 456 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.6458, allocations: 7.984 kB / 456.1 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.6459, allocations: 30.56 kB / 456.1 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.765e-06/0.6459, allocations: 3.938 kB / 456.1 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004377/0.6463, allocations: 123.2 kB / 456.2 MB, free: 496 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.6464, allocations: 51.41 kB / 456.3 MB, free: 432 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.6468, allocations: 235.3 kB / 456.5 MB, free: 184 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.6468, allocations: 25.7 kB / 456.5 MB, free: 152 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.647, allocations: 225.9 kB / 456.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.6471, allocations: 31.56 kB / 456.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.6471, allocations: 4 kB / 456.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6473, allocations: 322.8 kB / 457.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.6474, allocations: 32 kB / 457.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.6477, allocations: 128.8 kB / 457.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.6479, allocations: 59.91 kB / 457.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.6479, allocations: 0 / 457.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005657/0.6485, allocations: 185.3 kB / 457.5 MB, free: 15.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6485, allocations: 11.94 kB / 457.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.6486, allocations: 4 kB / 457.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.6486, allocations: 4 kB / 457.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006901/0.6493, allocations: 89.3 kB / 457.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.6503, allocations: 1.215 MB / 458.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.6507, allocations: 47.52 kB / 458.9 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.6508, allocations: 12 kB / 458.9 MB, free: 13.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.6509, allocations: 121.1 kB / 459 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.651, allocations: 19.81 kB / 459 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.6515, allocations: 147.4 kB / 459.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6516, allocations: 4 kB / 459.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.6516, allocations: 4 kB / 459.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6516, allocations: 0 / 459.2 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008329/0.6524, allocations: 421.2 kB / 459.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6525, allocations: 0 / 459.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.653, allocations: 59.91 kB / 459.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.653, allocations: 64 / 459.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.6531, allocations: 8 kB / 459.6 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009996/0.6541, allocations: 1.215 MB / 460.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6541, allocations: 0 / 460.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.6546, allocations: 244.7 kB / 461.1 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.6547, allocations: 100.8 kB / 461.2 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.6548, allocations: 8 kB / 461.2 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.6551, allocations: 8 kB / 461.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.6551, allocations: 11.98 kB / 461.2 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.6552, allocations: 4 kB / 461.2 MB, free: 11.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000277/0.6555, allocations: 187.1 kB / 461.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6555, allocations: 0 / 461.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000641/0.6561, allocations: 75.91 kB / 461.5 MB, free: 10.91 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.6573, allocations: 0.9954 MB / 462.5 MB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007241/0.6581, allocations: 132.2 kB / 462.6 MB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.6581, allocations: 4.375 kB / 462.6 MB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.6585, allocations: 59.95 kB / 462.7 MB, free: 9.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.6589, allocations: 27.19 kB / 462.7 MB, free: 9.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.6601, allocations: 321.6 kB / 463 MB, free: 9.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.6606, allocations: 0.7363 MB / 463.7 MB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.6607, allocations: 63.42 kB / 463.8 MB, free: 8.469 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6608, allocations: 0 / 463.8 MB, free: 8.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.037/3.698, allocations: 5.246 MB / 469 MB, free: 3.246 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat