Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.528/2.528, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.66e-05, allocations: 8.875 kB / 305 MB, free: 5.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.396, allocations: 54.84 MB / 359.9 MB, free: 2.633 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.5613, allocations: 88.27 MB / 448.1 MB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003933/0.5618, allocations: 103.9 kB / 448.2 MB, free: 8.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06278/0.6246, allocations: 14.02 MB / 462.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.943e-06/0.6246, allocations: 4 kB / 462.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.6247, allocations: 7.938 kB / 462.3 MB, free: 10.42 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001516/0.6262, allocations: 0.6317 MB / 462.9 MB, free: 9.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.6263, allocations: 15.97 kB / 462.9 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.6265, allocations: 98.5 kB / 463 MB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.6266, allocations: 55.3 kB / 463.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.6272, allocations: 313.8 kB / 463.4 MB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.6273, allocations: 37.31 kB / 463.4 MB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.6274, allocations: 48 kB / 463.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.6291, allocations: 0.6598 MB / 464.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.6291, allocations: 0 / 464.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.6292, allocations: 23.98 kB / 464.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.781e-05/0.6293, allocations: 45.23 kB / 464.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.631, allocations: 0.7013 MB / 464.9 MB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.6348, allocations: 1.461 MB / 466.4 MB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.6361, allocations: 427.8 kB / 466.8 MB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.6365, allocations: 146.2 kB / 466.9 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.466e-05/0.6366, allocations: 16.2 kB / 466.9 MB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.6366, allocations: 34.8 kB / 467 MB, free: 5.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.407e-06/0.6366, allocations: 0 / 467 MB, free: 5.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001201/0.6378, allocations: 378.6 kB / 467.3 MB, free: 5.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.6379, allocations: 55.41 kB / 467.4 MB, free: 5.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009118/0.6388, allocations: 479 kB / 467.9 MB, free: 4.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.6389, allocations: 29.7 kB / 467.9 MB, free: 4.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.6391, allocations: 274.6 kB / 468.2 MB, free: 4.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.6393, allocations: 94.77 kB / 468.3 MB, free: 4.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.6393, allocations: 12.88 kB / 468.3 MB, free: 4.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6395, allocations: 326.8 kB / 468.6 MB, free: 3.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.6399, allocations: 140.5 kB / 468.7 MB, free: 3.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.6404, allocations: 224 kB / 468.9 MB, free: 3.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.6409, allocations: 179.8 kB / 469.1 MB, free: 3.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.641, allocations: 0 / 469.1 MB, free: 3.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001226/0.6422, allocations: 429.5 kB / 469.5 MB, free: 2.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.6422, allocations: 8 kB / 469.5 MB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.6423, allocations: 4 kB / 469.5 MB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.6423, allocations: 4 kB / 469.5 MB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.6442, allocations: 216.2 kB / 469.8 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.6495, allocations: 7.302 MB / 477.1 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.6502, allocations: 63.27 kB / 477.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.6503, allocations: 19.98 kB / 477.1 MB, free: 11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (40): * Single equations (assignments): 28 * 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.0002205/0.6505, allocations: 139.8 kB / 477.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.6506, allocations: 43.44 kB / 477.3 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.6522, allocations: 0.5165 MB / 477.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6522, allocations: 0 / 477.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.6523, allocations: 4 kB / 477.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6523, allocations: 3.984 kB / 477.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009354/0.6532, allocations: 425.2 kB / 478.3 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6532, allocations: 0 / 478.3 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.655, allocations: 199.8 kB / 478.5 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.655, allocations: 4 kB / 478.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.6551, allocations: 15.98 kB / 478.5 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.6601, allocations: 7.298 MB / 485.8 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6602, allocations: 0 / 485.8 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.6614, allocations: 487.6 kB / 486.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.6616, allocations: 124.5 kB / 486.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/0.6617, allocations: 4 kB / 486.4 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.6622, allocations: 15.98 kB / 486.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.6623, allocations: 31.83 kB / 486.4 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.6624, allocations: 16 kB / 486.4 MB, free: 1.332 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006848/0.663, allocations: 381.1 kB / 486.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6631, allocations: 0 / 486.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008131/0.6639, allocations: 143.8 kB / 487 MB, free: 0.8242 MB / 410.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.001799/0.6657, allocations: 1.11 MB / 488.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.668, allocations: 452.2 kB / 488.5 MB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6681, allocations: 4 kB / 488.5 MB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.6698, allocations: 287.6 kB / 488.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007247/0.6706, allocations: 89.03 kB / 488.9 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.673, allocations: 0.8298 MB / 489.7 MB, free: 14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005997/0.6737, allocations: 0.9013 MB / 490.6 MB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.674, allocations: 151.4 kB / 490.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.674, allocations: 0 / 490.8 MB, free: 12.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.544/4.218, allocations: 30.62 MB / 0.5092 GB, free: 14.3 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat