Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.862e-05, allocations: 4 kB / 273.1 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4316/0.5538, allocations: 86.69 MB / 408.5 MB, free: 3.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.5543, allocations: 95.11 kB / 408.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09831/0.6526, allocations: 21.2 MB / 429.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.6526, allocations: 7.984 kB / 429.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.6527, allocations: 4 kB / 429.8 MB, free: 13.71 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001604/0.6543, allocations: 0.7088 MB / 430.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.6544, allocations: 12.03 kB / 430.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.6546, allocations: 98.52 kB / 430.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.6547, allocations: 51.34 kB / 430.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.6554, allocations: 299.2 kB / 431 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.6554, allocations: 37 kB / 431 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6555, allocations: 48 kB / 431.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.6571, allocations: 0.6571 MB / 431.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.6572, allocations: 4 kB / 431.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.6573, allocations: 20 kB / 431.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.6573, allocations: 25 kB / 431.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.6585, allocations: 436 kB / 432.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.6622, allocations: 1.542 MB / 433.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/0.6631, allocations: 287.8 kB / 434 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.6635, allocations: 126.7 kB / 434.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.506e-05/0.6636, allocations: 11.98 kB / 434.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.6636, allocations: 42.52 kB / 434.2 MB, free: 9.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.888e-06/0.6636, allocations: 0 / 434.2 MB, free: 9.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001173/0.6648, allocations: 323.3 kB / 434.5 MB, free: 8.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.6649, allocations: 106.8 kB / 434.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/0.6659, allocations: 0.5037 MB / 435.1 MB, free: 8.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.666, allocations: 29.7 kB / 435.2 MB, free: 8.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.6662, allocations: 266.9 kB / 435.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.6664, allocations: 86.77 kB / 435.5 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.6664, allocations: 4 kB / 435.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6666, allocations: 326.8 kB / 435.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.667, allocations: 119.8 kB / 436 MB, free: 7.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.6675, allocations: 224.8 kB / 436.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.668, allocations: 151.9 kB / 436.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.668, allocations: 4 kB / 436.3 MB, free: 6.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001232/0.6692, allocations: 397.4 kB / 436.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.6693, allocations: 8 kB / 436.7 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.6695, allocations: 39.92 kB / 436.8 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-05/0.6695, allocations: 8 kB / 436.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.67, allocations: 48.33 kB / 436.8 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.67, allocations: 4 kB / 436.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.6706, allocations: 67.36 kB / 436.9 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/0.6707, allocations: 23.98 kB / 436.9 MB, free: 6.316 MB / 362.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: 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002264/0.671, allocations: 132.8 kB / 437 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.6712, allocations: 43.44 kB / 437.1 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.6727, allocations: 452.9 kB / 437.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.6728, allocations: 7.953 kB / 437.5 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.6728, allocations: 0 / 437.5 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.6728, allocations: 4 kB / 437.5 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.6739, allocations: 401.2 kB / 437.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001263/0.6741, allocations: 39.97 kB / 438 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.6744, allocations: 39.97 kB / 438 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.6745, allocations: 0 / 438 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.6745, allocations: 11.98 kB / 438 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.6745, allocations: 4 kB / 438 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6746, allocations: 11.83 kB / 438 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.6758, allocations: 0.5841 MB / 438.6 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.6762, allocations: 188.3 kB / 438.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.6763, allocations: 4 kB / 438.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.6769, allocations: 27.98 kB / 438.8 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.677, allocations: 19.97 kB / 438.9 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.6771, allocations: 15.98 kB / 438.9 MB, free: 4.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007793/0.6779, allocations: 405.5 kB / 439.3 MB, free: 3.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.655e-06/0.6779, allocations: 0 / 439.3 MB, free: 3.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001074/0.679, allocations: 195.6 kB / 439.5 MB, free: 3.668 MB / 362.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002232/0.6812, allocations: 1.462 MB / 440.9 MB, free: 2.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.6825, allocations: 0.5979 MB / 441.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6825, allocations: 0 / 441.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006468/0.6832, allocations: 460.3 kB / 442 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.6841, allocations: 90.3 kB / 442.1 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.6872, allocations: 0.8827 MB / 442.9 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.6878, allocations: 0.8821 MB / 443.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.6882, allocations: 131.4 kB / 443.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6882, allocations: 0 / 443.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.647/3.336, allocations: 11.18 MB / 455.1 MB, free: 3.758 MB / 378.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_evenGapOverall_res.mat does not exist to compare? outputFormat=mat