Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.636e-05, allocations: 0 / 267.6 MB, free: 5.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 48.69 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4231/0.5575, allocations: 81.9 MB / 398.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/0.5579, allocations: 99.58 kB / 398.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05997/0.6179, allocations: 13.48 MB / 411.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.618, allocations: 0 / 411.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.618, allocations: 4 kB / 411.8 MB, free: 14.89 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001432/0.6194, allocations: 0.638 MB / 412.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.6195, allocations: 8.031 kB / 412.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.6197, allocations: 43.48 kB / 412.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.6202, allocations: 285.8 kB / 412.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.6203, allocations: 12 kB / 412.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.6204, allocations: 24 kB / 412.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008071/0.6212, allocations: 317 kB / 413.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6222, allocations: 484.1 kB / 413.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.6223, allocations: 3.984 kB / 413.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.6223, allocations: 0 / 413.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.6224, allocations: 16.78 kB / 413.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.6252, allocations: 1.156 MB / 414.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/0.6259, allocations: 265.5 kB / 415 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.6262, allocations: 118.1 kB / 415.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.468e-05/0.6263, allocations: 11.97 kB / 415.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.6263, allocations: 42 kB / 415.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.816e-06/0.6263, allocations: 0 / 415.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009678/0.6273, allocations: 288.3 kB / 415.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.6274, allocations: 102.8 kB / 415.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.6277, allocations: 205.1 kB / 415.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.6278, allocations: 29.64 kB / 415.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.628, allocations: 283.3 kB / 416.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.6281, allocations: 54.45 kB / 416.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.6281, allocations: 4.062 kB / 416.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6283, allocations: 326.5 kB / 416.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.6286, allocations: 106.4 kB / 416.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.629, allocations: 188.8 kB / 416.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.6294, allocations: 137.2 kB / 416.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6295, allocations: 0 / 416.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009782/0.6305, allocations: 331.8 kB / 417.2 MB, free: 9.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.6305, allocations: 4 kB / 417.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/0.6306, allocations: 39.78 kB / 417.2 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.6307, allocations: 7.938 kB / 417.3 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.6311, allocations: 40.25 kB / 417.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.6311, allocations: 7.984 kB / 417.3 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.6315, allocations: 35.83 kB / 417.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.6316, allocations: 15.98 kB / 417.4 MB, free: 9.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001591/0.6318, allocations: 124 kB / 417.5 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008551/0.6326, allocations: 286.1 kB / 417.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.6328, allocations: 23.72 kB / 417.8 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.634, allocations: 373.9 kB / 418.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.634, allocations: 7.984 kB / 418.1 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.634, allocations: 0 / 418.1 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.634, allocations: 7.953 kB / 418.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009784/0.635, allocations: 328 kB / 418.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/0.6352, allocations: 36.03 kB / 418.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.6355, allocations: 31.59 kB / 418.5 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6355, allocations: 4 kB / 418.5 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.6356, allocations: 11.98 kB / 418.6 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6356, allocations: 0 / 418.6 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.6356, allocations: 0 / 418.6 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.6366, allocations: 0.55 MB / 419.1 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.6368, allocations: 146.2 kB / 419.3 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.6369, allocations: 0 / 419.3 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007024/0.6376, allocations: 31.91 kB / 419.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.6378, allocations: 19.94 kB / 419.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/0.6379, allocations: 14.67 kB / 419.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003172/0.6382, allocations: 156.5 kB / 419.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6382, allocations: 0 / 419.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001636/0.6399, allocations: 151 kB / 419.6 MB, free: 7.465 MB / 346.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002657/0.6426, allocations: 1.338 MB / 421 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.6442, allocations: 0.4931 MB / 421.4 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.6442, allocations: 0 / 421.4 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008272/0.6451, allocations: 366.5 kB / 421.8 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008907/0.646, allocations: 28.28 kB / 421.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.6498, allocations: 0.6687 MB / 422.5 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.6507, allocations: 0.8487 MB / 423.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.651, allocations: 109.1 kB / 423.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6511, allocations: 0 / 423.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.662/3.313, allocations: 7.796 MB / 431.3 MB, free: 11.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat