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 1.968/1.968, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.905e-05/5.937e-05, allocations: 8 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 48.71 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.5631, allocations: 82.31 MB / 404.2 MB, free: 7.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/0.5635, allocations: 91.92 kB / 404.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07657/0.6401, allocations: 13.63 MB / 417.9 MB, free: 9.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6402, allocations: 4 kB / 417.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.6402, allocations: 4 kB / 417.9 MB, free: 9.727 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.001786/0.642, allocations: 0.6346 MB / 418.5 MB, free: 9.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.6421, allocations: 12.03 kB / 418.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.6423, allocations: 78.53 kB / 418.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.6425, allocations: 43.48 kB / 418.7 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.6432, allocations: 287.2 kB / 419 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.6433, allocations: 24.78 kB / 419 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.6434, allocations: 36 kB / 419 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.6452, allocations: 0.5229 MB / 419.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.6452, allocations: 0 / 419.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.6453, allocations: 20 kB / 419.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.6454, allocations: 16.78 kB / 419.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.6467, allocations: 345.3 kB / 419.9 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.6509, allocations: 1.3 MB / 421.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/0.652, allocations: 267.6 kB / 421.5 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/0.6525, allocations: 122.5 kB / 421.6 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.728e-05/0.6526, allocations: 15.98 kB / 421.6 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.6527, allocations: 38.48 kB / 421.6 MB, free: 5.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.569e-06/0.6527, allocations: 0 / 421.6 MB, free: 5.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001453/0.6541, allocations: 305.1 kB / 421.9 MB, free: 5.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.6543, allocations: 110.7 kB / 422.1 MB, free: 5.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.6554, allocations: 447 kB / 422.5 MB, free: 4.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.6555, allocations: 33.86 kB / 422.5 MB, free: 4.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.6558, allocations: 250.6 kB / 422.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.6559, allocations: 59.19 kB / 422.8 MB, free: 4.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.656, allocations: 4 kB / 422.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6562, allocations: 314.8 kB / 423.1 MB, free: 4.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.6567, allocations: 124.1 kB / 423.3 MB, free: 4.105 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/0.6574, allocations: 190.7 kB / 423.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.658, allocations: 135.9 kB / 423.6 MB, free: 3.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.658, allocations: 0 / 423.6 MB, free: 3.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001536/0.6596, allocations: 354.1 kB / 423.9 MB, free: 3.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.6596, allocations: 4 kB / 423.9 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/0.6598, allocations: 31.97 kB / 424 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.6598, allocations: 4 kB / 424 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.6603, allocations: 35.97 kB / 424 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/0.6604, allocations: 11.94 kB / 424 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.6611, allocations: 71.39 kB / 424.1 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.6611, allocations: 20 kB / 424.1 MB, free: 3.223 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.0001752/0.6613, allocations: 124.9 kB / 424.2 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.6615, allocations: 39.53 kB / 424.3 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.6635, allocations: 404.9 kB / 424.7 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.6636, allocations: 8 kB / 424.7 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6636, allocations: 0 / 424.7 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.6637, allocations: 3.938 kB / 424.7 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.6649, allocations: 381.2 kB / 425 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001087/0.6651, allocations: 31.97 kB / 425.1 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.6654, allocations: 27.97 kB / 425.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.6654, allocations: 0 / 425.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.6655, allocations: 11.98 kB / 425.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6655, allocations: 7.938 kB / 425.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6655, allocations: 4 kB / 425.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.6666, allocations: 0.5598 MB / 425.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.667, allocations: 168.4 kB / 425.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.6671, allocations: 8 kB / 425.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.6676, allocations: 27.97 kB / 425.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6677, allocations: 23.92 kB / 425.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.6678, allocations: 8 kB / 425.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006657/0.6685, allocations: 357.1 kB / 426.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6685, allocations: 4 kB / 426.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009619/0.6695, allocations: 127.9 kB / 426.4 MB, free: 0.8203 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.002354/0.6718, allocations: 1.366 MB / 427.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.6733, allocations: 0.5028 MB / 428.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6733, allocations: 0 / 428.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007631/0.6741, allocations: 371.2 kB / 428.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.6754, allocations: 86.3 kB / 428.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.6788, allocations: 0.7254 MB / 429.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.6797, allocations: 0.8539 MB / 430.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.68, allocations: 115.4 kB / 430.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6801, allocations: 0 / 430.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.95/3.63, allocations: 9.408 MB / 439.8 MB, free: 3.234 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