Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.793e-05/4.834e-05, allocations: 4 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4196, allocations: 54.85 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5838, allocations: 88.2 MB / 448.1 MB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/0.5842, allocations: 91.92 kB / 448.2 MB, free: 8.672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0676/0.6518, allocations: 14.33 MB / 462.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.423e-06/0.6519, allocations: 0 / 462.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.6519, allocations: 7.938 kB / 462.5 MB, free: 10.15 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001689/0.6536, allocations: 0.6272 MB / 463.1 MB, free: 9.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.6537, allocations: 12.91 kB / 463.1 MB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.6539, allocations: 102.5 kB / 463.2 MB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.6541, allocations: 47.44 kB / 463.3 MB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.6549, allocations: 294.3 kB / 463.6 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.655, allocations: 33.31 kB / 463.6 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.6552, allocations: 52 kB / 463.7 MB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.6575, allocations: 0.6168 MB / 464.3 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.6576, allocations: 0 / 464.3 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.6577, allocations: 23.95 kB / 464.3 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.6578, allocations: 37.23 kB / 464.3 MB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.6597, allocations: 498.8 kB / 464.8 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006041/0.6658, allocations: 1.445 MB / 466.3 MB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.6674, allocations: 453.7 kB / 466.7 MB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.6679, allocations: 140.8 kB / 466.9 MB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.312e-05/0.668, allocations: 11.94 kB / 466.9 MB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.6681, allocations: 46.56 kB / 466.9 MB, free: 5.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.477e-06/0.6681, allocations: 1.594 kB / 466.9 MB, free: 5.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001252/0.6693, allocations: 370.5 kB / 467.3 MB, free: 5.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.6694, allocations: 51.41 kB / 467.3 MB, free: 5.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/0.6704, allocations: 499 kB / 467.8 MB, free: 4.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.6705, allocations: 33.7 kB / 467.8 MB, free: 4.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.6707, allocations: 262.6 kB / 468.1 MB, free: 4.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6708, allocations: 82.75 kB / 468.2 MB, free: 4.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.6709, allocations: 12 kB / 468.2 MB, free: 4.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6711, allocations: 326.8 kB / 468.5 MB, free: 3.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.6716, allocations: 148.2 kB / 468.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.6722, allocations: 252.2 kB / 468.9 MB, free: 3.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.6728, allocations: 193.1 kB / 469.1 MB, free: 3.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.6728, allocations: 4 kB / 469.1 MB, free: 3.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001446/0.6743, allocations: 471.3 kB / 469.6 MB, free: 2.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.6743, allocations: 5.406 kB / 469.6 MB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/0.6745, allocations: 43.95 kB / 469.6 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.6745, allocations: 4 kB / 469.6 MB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.6749, allocations: 36.86 kB / 469.6 MB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.675, allocations: 7.984 kB / 469.7 MB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.6755, allocations: 55.38 kB / 469.7 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.6756, allocations: 23.98 kB / 469.7 MB, free: 2.66 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0002667/0.6759, allocations: 144.8 kB / 469.9 MB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.676, allocations: 43.44 kB / 469.9 MB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.6778, allocations: 0.5262 MB / 470.4 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.6779, allocations: 8 kB / 470.4 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6779, allocations: 0 / 470.4 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6779, allocations: 0 / 470.4 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.6789, allocations: 429.2 kB / 470.9 MB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001241/0.6791, allocations: 43.92 kB / 470.9 MB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.6794, allocations: 35.86 kB / 470.9 MB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.6795, allocations: 3.984 kB / 470.9 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.6795, allocations: 15.98 kB / 471 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.6795, allocations: 0 / 471 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6796, allocations: 0 / 471 MB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.6815, allocations: 0.6989 MB / 471.7 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.6818, allocations: 128.5 kB / 471.8 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.6819, allocations: 16.06 kB / 471.8 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.6823, allocations: 4 kB / 471.8 MB, free: 492 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6824, allocations: 23.97 kB / 471.8 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002867/0.6827, allocations: 19.98 kB / 471.9 MB, free: 448 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001534/0.6843, allocations: 389.1 kB / 472.2 MB, free: 60 kB / 394.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.6843, allocations: 0 / 472.2 MB, free: 60 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001607/0.686, allocations: 159.8 kB / 472.4 MB, free: 15.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.005036/0.691, allocations: 1.362 MB / 473.7 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.6932, allocations: 0.6601 MB / 474.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6932, allocations: 0 / 474.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.6948, allocations: 485.2 kB / 474.9 MB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6959, allocations: 90.78 kB / 475 MB, free: 13.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.7021, allocations: 0.9708 MB / 475.9 MB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.7034, allocations: 0.8783 MB / 476.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/0.7042, allocations: 139.4 kB / 477 MB, free: 11.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7042, allocations: 0 / 477 MB, free: 11.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.738/3.443, allocations: 10.6 MB / 487.6 MB, free: 0.5352 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.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat