Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.013/2.013, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.274e-05, allocations: 0 / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 48.69 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4244/0.5288, allocations: 85.72 MB / 402 MB, free: 6.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000367/0.5293, allocations: 94.52 kB / 402.1 MB, free: 6.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09367/0.623, allocations: 20.01 MB / 422.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.623, allocations: 4 kB / 422.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.623, allocations: 4 kB / 422.1 MB, free: 5.688 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001607/0.6247, allocations: 0.6597 MB / 422.8 MB, free: 5.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.6247, allocations: 12.02 kB / 422.8 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.6249, allocations: 51.34 kB / 422.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.6255, allocations: 308.8 kB / 423.2 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.6256, allocations: 16 kB / 423.2 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.6257, allocations: 32 kB / 423.2 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001357/0.627, allocations: 0.6212 MB / 423.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.6284, allocations: 0.5948 MB / 424.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.6284, allocations: 0 / 424.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.6285, allocations: 0 / 424.4 MB, free: 3.641 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.71e-05/0.6286, allocations: 45.28 kB / 424.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.6322, allocations: 1.298 MB / 425.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.6336, allocations: 0.5153 MB / 426.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.634, allocations: 161.2 kB / 426.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.232e-05/0.6341, allocations: 23.47 kB / 426.5 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.6341, allocations: 33.81 kB / 426.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=37): time 2.454e-06/0.6341, allocations: 0 / 426.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=37): time 0.001207/0.6354, allocations: 402.8 kB / 426.9 MB, free: 1.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.6354, allocations: 55.41 kB / 427 MB, free: 1.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.6359, allocations: 187.5 kB / 427.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/0.636, allocations: 29.7 kB / 427.2 MB, free: 1.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.6363, allocations: 323.6 kB / 427.5 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.6366, allocations: 123.1 kB / 427.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.6367, allocations: 4 kB / 427.6 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.6369, allocations: 329.8 kB / 427.9 MB, free: 412 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/0.6374, allocations: 162.7 kB / 428.1 MB, free: 272 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.638, allocations: 303.5 kB / 428.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.6386, allocations: 216.1 kB / 428.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6386, allocations: 4 kB / 428.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001404/0.64, allocations: 0.5132 MB / 429.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.64, allocations: 4 kB / 429.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.6401, allocations: 12.03 kB / 429.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.6401, allocations: 4 kB / 429.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.6422, allocations: 223.8 kB / 429.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/0.6475, allocations: 7.341 MB / 436.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.6481, allocations: 31.67 kB / 436.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.6482, allocations: 27.98 kB / 436.7 MB, free: 7.332 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.6485, allocations: 128.8 kB / 436.9 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001094/0.6496, allocations: 404.6 kB / 437.3 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.6497, allocations: 23.72 kB / 437.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.6513, allocations: 0.5476 MB / 437.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6514, allocations: 4 kB / 437.8 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6514, allocations: 0 / 437.8 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6514, allocations: 7.922 kB / 437.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.6523, allocations: 397.6 kB / 438.2 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.6523, allocations: 3.938 kB / 438.2 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/0.6543, allocations: 207.8 kB / 438.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.6543, allocations: 4 kB / 438.4 MB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.6544, allocations: 7.984 kB / 438.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005137/0.6595, allocations: 7.333 MB / 445.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6595, allocations: 0 / 445.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.6608, allocations: 0.507 MB / 446.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.6609, allocations: 100.8 kB / 446.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/0.661, allocations: 0 / 446.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.6614, allocations: 11.98 kB / 446.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6616, allocations: 32.05 kB / 446.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.6617, allocations: 15.98 kB / 446.5 MB, free: 13.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.6618, allocations: 141.5 kB / 446.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6619, allocations: 0 / 446.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001002/0.6629, allocations: 195.4 kB / 446.8 MB, free: 12.93 MB / 378.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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002154/0.665, allocations: 1.224 MB / 448 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.6675, allocations: 0.5108 MB / 448.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6676, allocations: 1.125 kB / 448.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.6694, allocations: 311.6 kB / 448.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.6699, allocations: 23.84 kB / 448.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.6726, allocations: 0.8297 MB / 449.7 MB, free: 9.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.6732, allocations: 0.9086 MB / 450.6 MB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.6736, allocations: 139.4 kB / 450.7 MB, free: 8.887 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6736, allocations: 0 / 450.7 MB, free: 8.887 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.417/4.091, allocations: 30.09 MB / 480.8 MB, free: 10.76 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat