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.874/1.874, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.011e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1456, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.5717, allocations: 82.3 MB / 404.2 MB, free: 7.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004746/0.5722, allocations: 103.1 kB / 404.3 MB, free: 7.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06939/0.6416, allocations: 13.62 MB / 417.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6417, allocations: 0 / 417.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.6417, 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.001567/0.6433, allocations: 0.6346 MB / 418.5 MB, free: 9.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.6434, allocations: 12.03 kB / 418.5 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.6436, allocations: 78.53 kB / 418.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.6437, allocations: 47.48 kB / 418.6 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006014/0.6444, allocations: 283.2 kB / 418.9 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.6444, allocations: 28.78 kB / 419 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.6445, allocations: 36 kB / 419 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.6458, allocations: 0.5284 MB / 419.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6459, allocations: 0 / 419.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.646, allocations: 16 kB / 419.5 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/0.646, allocations: 16.78 kB / 419.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.647, allocations: 358.8 kB / 419.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.6503, allocations: 1.3 MB / 421.2 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.6511, allocations: 267.6 kB / 421.5 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.6515, allocations: 122.5 kB / 421.6 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.527e-05/0.6516, allocations: 7.984 kB / 421.6 MB, free: 5.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.6516, allocations: 50.48 kB / 421.6 MB, free: 5.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.917e-06/0.6517, allocations: 0 / 421.6 MB, free: 5.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.00108/0.6527, allocations: 301 kB / 421.9 MB, free: 5.445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.6529, allocations: 114.9 kB / 422 MB, free: 5.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009082/0.6538, allocations: 443 kB / 422.5 MB, free: 4.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.6539, allocations: 33.7 kB / 422.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.6541, allocations: 250.7 kB / 422.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.6542, allocations: 59.19 kB / 422.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.6543, allocations: 4 kB / 422.8 MB, free: 4.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6545, allocations: 318.8 kB / 423.1 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.6549, allocations: 116.1 kB / 423.2 MB, free: 4.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/0.6553, allocations: 194.7 kB / 423.4 MB, free: 3.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.6558, allocations: 135.8 kB / 423.6 MB, free: 3.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6558, allocations: 0 / 423.6 MB, free: 3.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001108/0.6569, allocations: 353.8 kB / 423.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.657, allocations: 4.344 kB / 423.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.6571, allocations: 35.98 kB / 423.9 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.6571, allocations: 4 kB / 424 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.6576, allocations: 43.89 kB / 424 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.6576, allocations: 4 kB / 424 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.6581, allocations: 79.3 kB / 424.1 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/0.6582, allocations: 16 kB / 424.1 MB, free: 3.195 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.0001736/0.6584, allocations: 120.9 kB / 424.2 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6586, allocations: 39.52 kB / 424.2 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.6599, allocations: 404.9 kB / 424.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.6599, allocations: 7.938 kB / 424.7 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.66, allocations: 0 / 424.7 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.66, allocations: 11.92 kB / 424.7 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.6609, allocations: 381.2 kB / 425 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/0.6611, allocations: 31.97 kB / 425.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.6614, allocations: 27.97 kB / 425.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.6614, allocations: 4 kB / 425.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.6615, allocations: 11.98 kB / 425.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.6615, allocations: 4 kB / 425.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6615, allocations: 0 / 425.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.6626, allocations: 0.5636 MB / 425.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.663, allocations: 172.4 kB / 425.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/0.6631, allocations: 0 / 425.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.6636, allocations: 31.97 kB / 425.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.6638, allocations: 19.94 kB / 425.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.6638, allocations: 15.98 kB / 425.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006776/0.6645, allocations: 357.1 kB / 426.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6645, allocations: 0 / 426.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008965/0.6654, allocations: 127.9 kB / 426.4 MB, free: 0.7891 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.002095/0.6676, allocations: 1.368 MB / 427.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.6687, allocations: 0.5029 MB / 428.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6688, allocations: 0 / 428.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.6694, allocations: 367.2 kB / 428.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008986/0.6703, allocations: 94.22 kB / 428.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.6728, allocations: 0.7318 MB / 429.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.6735, allocations: 0.8499 MB / 430.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.6738, allocations: 107.4 kB / 430.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6738, allocations: 4 kB / 430.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.905/3.579, allocations: 9.421 MB / 439.8 MB, free: 3.168 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