Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.445e-05/4.447e-05, allocations: 7.938 kB / 273.2 MB, free: 0.6094 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/0.5213, allocations: 81.93 MB / 403.8 MB, free: 7.867 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000395/0.5217, allocations: 95.92 kB / 403.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06308/0.5848, allocations: 14.03 MB / 417.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5849, allocations: 0 / 417.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.5849, allocations: 8 kB / 417.9 MB, free: 9.516 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001584/0.5865, allocations: 0.6273 MB / 418.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5866, allocations: 12.03 kB / 418.6 MB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002118/0.5868, allocations: 102.5 kB / 418.7 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.587, allocations: 51.34 kB / 418.7 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.5876, allocations: 310.8 kB / 419 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.5877, allocations: 37.31 kB / 419.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.5878, allocations: 48 kB / 419.1 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.5895, allocations: 0.6559 MB / 419.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.5895, allocations: 0 / 419.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.5896, allocations: 23.98 kB / 419.8 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.92e-05/0.5897, allocations: 41.3 kB / 419.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.5915, allocations: 0.7052 MB / 420.5 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003837/0.5954, allocations: 1.461 MB / 422 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.5966, allocations: 427.8 kB / 422.4 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.5971, allocations: 141.2 kB / 422.6 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-05/0.5972, allocations: 16.2 kB / 422.6 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.5972, allocations: 38.73 kB / 422.6 MB, free: 4.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.135e-06/0.5972, allocations: 4 kB / 422.6 MB, free: 4.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001237/0.5985, allocations: 374.8 kB / 423 MB, free: 4.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5985, allocations: 59.34 kB / 423 MB, free: 4.215 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/0.5995, allocations: 479 kB / 423.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.5996, allocations: 33.7 kB / 423.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.5998, allocations: 270.6 kB / 423.8 MB, free: 3.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.5999, allocations: 90.66 kB / 423.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.6, allocations: 4 kB / 423.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6002, allocations: 334.8 kB / 424.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.6006, allocations: 136.5 kB / 424.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.6011, allocations: 231.9 kB / 424.6 MB, free: 2.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/0.6017, allocations: 180 kB / 424.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6017, allocations: 0 / 424.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001277/0.603, allocations: 432.9 kB / 425.2 MB, free: 2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.603, allocations: 7.953 kB / 425.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.6031, allocations: 11.98 kB / 425.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.6031, allocations: 4.375 kB / 425.2 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.605, allocations: 211.8 kB / 425.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.6103, allocations: 7.298 MB / 432.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.611, allocations: 67.55 kB / 432.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.6111, allocations: 23.98 kB / 432.8 MB, free: 10.1 MB / 362.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.0002007/0.6113, allocations: 132.8 kB / 432.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.6114, allocations: 47.39 kB / 433 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.613, allocations: 0.5019 MB / 433.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.6131, allocations: 4 kB / 433.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.6131, allocations: 4 kB / 433.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6131, allocations: 3.984 kB / 433.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009618/0.6141, allocations: 429.2 kB / 433.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.6141, allocations: 0 / 433.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.6159, allocations: 199.8 kB / 434.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.6159, allocations: 3.953 kB / 434.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.616, allocations: 15.98 kB / 434.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005665/0.6217, allocations: 7.298 MB / 441.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6217, allocations: 4.031 kB / 441.4 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.6236, allocations: 475.6 kB / 441.9 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.624, allocations: 128.6 kB / 442 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.6242, allocations: 15.98 kB / 442 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/0.6249, allocations: 12 kB / 442 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.6251, allocations: 31.89 kB / 442.1 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.6252, allocations: 11.98 kB / 442.1 MB, free: 448 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.6264, allocations: 381.1 kB / 442.5 MB, free: 68 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.353e-06/0.6264, allocations: 0 / 442.5 MB, free: 68 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.00144/0.6279, allocations: 139.9 kB / 442.6 MB, free: 15.93 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 (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.00285/0.6308, allocations: 1.118 MB / 443.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003687/0.6345, allocations: 463.9 kB / 444.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.6346, allocations: 0 / 444.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002891/0.6375, allocations: 288.4 kB / 444.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.6388, allocations: 77.98 kB / 444.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.6431, allocations: 0.8401 MB / 445.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009278/0.6441, allocations: 0.8975 MB / 446.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.6447, allocations: 143.4 kB / 446.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.6448, allocations: 0 / 446.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.526/4.171, allocations: 30.63 MB / 477 MB, free: 13.39 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.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat