Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.027/2.027, allocations: 209.4 MB / 216.9 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.344e-05, allocations: 3.938 kB / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.69 MB / 316.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.5899, allocations: 79.77 MB / 396.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/0.5903, allocations: 93.98 kB / 396.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04629/0.6366, allocations: 9.869 MB / 406.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6367, allocations: 0 / 406.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.6367, allocations: 4 kB / 406.1 MB, free: 4.211 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001061/0.6378, allocations: 0.4915 MB / 406.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.6379, allocations: 8.031 kB / 406.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.638, allocations: 27.72 kB / 406.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.6384, allocations: 249.6 kB / 406.8 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.6385, allocations: 8 kB / 406.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.6385, allocations: 16 kB / 406.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007991/0.6393, allocations: 337.7 kB / 407.2 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007927/0.6402, allocations: 333.5 kB / 407.5 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6402, allocations: 0 / 407.5 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.6403, allocations: 0 / 407.5 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/0.6403, allocations: 32.75 kB / 407.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.6426, allocations: 0.7867 MB / 408.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.6434, allocations: 316.6 kB / 408.6 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.6437, allocations: 93.88 kB / 408.7 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.144e-05/0.6438, allocations: 11.94 kB / 408.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.6438, allocations: 38.55 kB / 408.8 MB, free: 1.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 3.306e-06/0.6438, allocations: 0 / 408.8 MB, free: 1.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007794/0.6446, allocations: 248.9 kB / 409 MB, free: 1.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6447, allocations: 55.39 kB / 409.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.6449, allocations: 155.5 kB / 409.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.645, allocations: 25.7 kB / 409.3 MB, free: 1.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.6452, allocations: 236 kB / 409.5 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.766e-05/0.6453, allocations: 57.67 kB / 409.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.6453, allocations: 0 / 409.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6455, allocations: 322 kB / 409.9 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.6457, allocations: 88.48 kB / 409.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.6461, allocations: 152.9 kB / 410.1 MB, free: 384 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.6464, allocations: 112.2 kB / 410.2 MB, free: 284 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6464, allocations: 0 / 410.2 MB, free: 284 kB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008238/0.6473, allocations: 287.3 kB / 410.5 MB, free: 20 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.6473, allocations: 11.98 kB / 410.5 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6473, allocations: 0 / 410.5 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.6474, allocations: 7.953 kB / 410.5 MB, free: 0 / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.6486, allocations: 111 kB / 410.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.6517, allocations: 3.727 MB / 414.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.6521, allocations: 23.86 kB / 414.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.6522, allocations: 12.11 kB / 414.4 MB, free: 12.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.6523, allocations: 117.1 kB / 414.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006947/0.653, allocations: 252 kB / 414.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.6531, allocations: 15.81 kB / 414.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.6541, allocations: 335.9 kB / 415.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.6541, allocations: 0 / 415.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.6541, allocations: 4 kB / 415.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6542, allocations: 3.953 kB / 415.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/0.6548, allocations: 280.8 kB / 415.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6548, allocations: 0 / 415.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.656, allocations: 119 kB / 415.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.656, allocations: 0 / 415.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.6561, allocations: 7.984 kB / 415.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.6591, allocations: 3.718 MB / 419.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.6592, allocations: 4.031 kB / 419.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008192/0.66, allocations: 354.4 kB / 419.5 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.858e-05/0.6601, allocations: 88.92 kB / 419.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.6602, allocations: 0 / 419.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.6605, allocations: 16.08 kB / 419.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.6606, allocations: 15.86 kB / 419.7 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.6606, allocations: 7.984 kB / 419.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.6608, allocations: 123.3 kB / 419.8 MB, free: 6.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6608, allocations: 0 / 419.8 MB, free: 6.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006253/0.6615, allocations: 94.48 kB / 419.9 MB, free: 6.484 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/0.6628, allocations: 0.9538 MB / 420.8 MB, free: 5.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.6643, allocations: 281 kB / 421.1 MB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.6643, allocations: 4 kB / 421.1 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.6653, allocations: 177.9 kB / 421.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.6657, allocations: 4 kB / 421.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.6673, allocations: 0.5044 MB / 421.8 MB, free: 4.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.6679, allocations: 0.8057 MB / 422.6 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.6681, allocations: 74.28 kB / 422.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6681, allocations: 0 / 422.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.183/3.851, allocations: 11.53 MB / 434.2 MB, free: 8.23 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_KC_res.mat does not exist to compare? outputFormat=mat