Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.073/2.073, allocations: 209.4 MB / 216.9 MB, free: 6.742 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.524e-05, allocations: 4 kB / 267.6 MB, free: 5.371 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 48.7 MB / 316.3 MB, free: 4.582 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5636/0.6689, allocations: 81.44 MB / 397.8 MB, free: 10.85 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004384/0.6694, allocations: 98.23 kB / 397.9 MB, free: 10.79 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.07735/0.7468, allocations: 14.16 MB / 412 MB, free: 14.81 MB / 346.8 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7469, allocations: 0 / 412 MB, free: 14.81 MB / 346.8 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.7469, allocations: 4 kB / 412 MB, free: 14.8 MB / 346.8 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.001287/0.7482, allocations: 0.615 MB / 412.6 MB, free: 14.17 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.7483, allocations: 8.031 kB / 412.6 MB, free: 14.16 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.7484, allocations: 55.42 kB / 412.7 MB, free: 14.11 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.7491, allocations: 299.5 kB / 413 MB, free: 13.79 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.7491, allocations: 16 kB / 413 MB, free: 13.77 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.7492, allocations: 28 kB / 413 MB, free: 13.75 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/0.7503, allocations: 428.9 kB / 413.5 MB, free: 13.43 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.7516, allocations: 0.5492 MB / 414 MB, free: 12.98 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.7517, allocations: 4 kB / 414 MB, free: 12.97 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.7517, allocations: 0 / 414 MB, free: 12.97 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.1e-05/0.7518, allocations: 33.3 kB / 414 MB, free: 12.94 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.7558, allocations: 1.262 MB / 415.3 MB, free: 11.8 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.7578, allocations: 438.8 kB / 415.7 MB, free: 11.4 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.7583, allocations: 138.4 kB / 415.9 MB, free: 11.28 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.266e-05/0.7584, allocations: 8 kB / 415.9 MB, free: 11.27 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.7585, allocations: 42.17 kB / 415.9 MB, free: 11.23 MB / 346.8 MB Notification: Performance of pre-optimization done (n=25): time 4.899e-06/0.7585, allocations: 0 / 415.9 MB, free: 11.23 MB / 346.8 MB Notification: Performance of matching and sorting (n=25): time 0.001517/0.76, allocations: 337.5 kB / 416.2 MB, free: 10.91 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.7601, allocations: 54.91 kB / 416.3 MB, free: 10.85 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.7605, allocations: 198.5 kB / 416.5 MB, free: 10.67 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.7606, allocations: 29.7 kB / 416.5 MB, free: 10.64 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.7608, allocations: 307.5 kB / 416.8 MB, free: 10.35 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.761, allocations: 81.56 kB / 416.9 MB, free: 10.28 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.7611, allocations: 0 / 416.9 MB, free: 10.28 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.7613, allocations: 330 kB / 417.2 MB, free: 9.957 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/0.7619, allocations: 142.6 kB / 417.4 MB, free: 9.836 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/0.7626, allocations: 241.8 kB / 417.6 MB, free: 9.582 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/0.7634, allocations: 189.2 kB / 417.8 MB, free: 9.422 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.7634, allocations: 0 / 417.8 MB, free: 9.422 MB / 346.8 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001902/0.7653, allocations: 446.8 kB / 418.2 MB, free: 9.02 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.7654, allocations: 8 kB / 418.2 MB, free: 9.012 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/0.7656, allocations: 39.41 kB / 418.3 MB, free: 8.977 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.7657, allocations: 11.98 kB / 418.3 MB, free: 8.965 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.7662, allocations: 35.92 kB / 418.3 MB, free: 8.93 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/0.7662, allocations: 7.953 kB / 418.3 MB, free: 8.922 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.7667, allocations: 23.77 kB / 418.3 MB, free: 8.898 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7668, allocations: 18.69 kB / 418.4 MB, free: 8.883 MB / 346.8 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.0003267/0.7672, allocations: 131.6 kB / 418.5 MB, free: 8.75 MB / 346.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001526/0.7687, allocations: 332.7 kB / 418.8 MB, free: 8.445 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.7689, allocations: 19.72 kB / 418.8 MB, free: 8.426 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.7713, allocations: 0.4902 MB / 419.3 MB, free: 7.988 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.7713, allocations: 11.89 kB / 419.3 MB, free: 7.977 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.7714, allocations: 3.938 kB / 419.3 MB, free: 7.973 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.7714, allocations: 4 kB / 419.3 MB, free: 7.969 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.7728, allocations: 382.8 kB / 419.7 MB, free: 7.602 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001977/0.773, allocations: 35.97 kB / 419.8 MB, free: 7.566 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.7734, allocations: 23.98 kB / 419.8 MB, free: 7.543 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.7734, allocations: 0 / 419.8 MB, free: 7.543 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-05/0.7735, allocations: 15.8 kB / 419.8 MB, free: 7.531 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.7735, allocations: 4 kB / 419.8 MB, free: 7.527 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7736, allocations: 0 / 419.8 MB, free: 7.527 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.776, allocations: 0.6596 MB / 420.5 MB, free: 6.934 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.7761, allocations: 96.8 kB / 420.6 MB, free: 6.82 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7763, allocations: 4 kB / 420.6 MB, free: 6.816 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.7766, allocations: 0 / 420.6 MB, free: 6.816 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.7768, allocations: 27.47 kB / 420.6 MB, free: 6.793 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.7768, allocations: 19.23 kB / 420.6 MB, free: 6.777 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0002415/0.7771, allocations: 137.6 kB / 420.7 MB, free: 6.656 MB / 346.8 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7771, allocations: 0 / 420.7 MB, free: 6.656 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.001242/0.7784, allocations: 174.6 kB / 420.9 MB, free: 6.488 MB / 346.8 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.003256/0.7816, allocations: 1.318 MB / 422.2 MB, free: 5.23 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.7834, allocations: 0.6443 MB / 422.9 MB, free: 4.551 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7834, allocations: 3.562 kB / 422.9 MB, free: 4.551 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009123/0.7844, allocations: 485.2 kB / 423.3 MB, free: 4.02 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.7849, allocations: 23.73 kB / 423.4 MB, free: 4 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.7896, allocations: 0.8974 MB / 424.3 MB, free: 3.102 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/0.7905, allocations: 0.8797 MB / 425.1 MB, free: 2.207 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.7909, allocations: 132.8 kB / 425.3 MB, free: 2.168 MB / 346.8 MB Notification: Performance of SimCode: time 1.743e-06/0.791, allocations: 0 / 425.3 MB, free: 2.168 MB / 346.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.532/3.323, allocations: 8.753 MB / 434 MB, free: 9.43 MB / 362.8 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_res.mat does not exist to compare? outputFormat=mat