Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.027/2.027, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.678e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 48.69 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5268, allocations: 86.7 MB / 408.6 MB, free: 3.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004012/0.5273, allocations: 98.98 kB / 408.7 MB, free: 3.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09678/0.6241, allocations: 21.2 MB / 429.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6242, allocations: 7.938 kB / 429.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.6242, allocations: 8 kB / 429.9 MB, free: 13.68 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00162/0.6258, allocations: 0.7049 MB / 430.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6259, allocations: 8.031 kB / 430.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.6261, allocations: 98.52 kB / 430.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.6262, allocations: 55.34 kB / 430.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.6268, allocations: 291.2 kB / 431 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.6269, allocations: 44.98 kB / 431.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.627, allocations: 44 kB / 431.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.6286, allocations: 0.6552 MB / 431.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.6287, allocations: 0 / 431.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.6288, allocations: 16 kB / 431.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.6288, allocations: 28.98 kB / 431.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.63, allocations: 442 kB / 432.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004479/0.6345, allocations: 1.531 MB / 433.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.6355, allocations: 291.7 kB / 434.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.6359, allocations: 122.7 kB / 434.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/0.636, allocations: 19.95 kB / 434.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.6361, allocations: 42.52 kB / 434.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.426e-06/0.6361, allocations: 0 / 434.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001138/0.6372, allocations: 323.3 kB / 434.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.6373, allocations: 102.8 kB / 434.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.6383, allocations: 0.4997 MB / 435.2 MB, free: 8.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.6384, allocations: 33.77 kB / 435.2 MB, free: 8.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.6386, allocations: 258.9 kB / 435.4 MB, free: 7.844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6387, allocations: 82.84 kB / 435.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.6388, allocations: 4 kB / 435.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6389, allocations: 322.8 kB / 435.8 MB, free: 7.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.6393, allocations: 123.8 kB / 436 MB, free: 7.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.6398, allocations: 216.7 kB / 436.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.6403, allocations: 159.7 kB / 436.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6403, allocations: 0 / 436.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001176/0.6415, allocations: 385.5 kB / 436.7 MB, free: 6.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.6416, allocations: 8 kB / 436.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/0.6417, allocations: 51.91 kB / 436.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.6417, allocations: 4 kB / 436.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.6421, allocations: 44.34 kB / 436.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.6422, allocations: 4 kB / 436.8 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.6428, allocations: 71.34 kB / 436.9 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.6429, allocations: 20 kB / 436.9 MB, free: 6.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001792/0.643, allocations: 140.8 kB / 437 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.6432, allocations: 43.44 kB / 437.1 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.6447, allocations: 447.5 kB / 437.5 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.6447, allocations: 7.953 kB / 437.5 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6447, allocations: 7.938 kB / 437.5 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.6448, allocations: 3.984 kB / 437.5 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/0.6457, allocations: 405.2 kB / 437.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001198/0.6459, allocations: 43.95 kB / 438 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.6462, allocations: 27.97 kB / 438 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.6462, allocations: 4 kB / 438 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.6463, allocations: 12 kB / 438 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.6463, allocations: 0 / 438 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.6463, allocations: 11.94 kB / 438 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.6474, allocations: 0.5809 MB / 438.6 MB, free: 4.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.6478, allocations: 184.3 kB / 438.8 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6479, allocations: 8 kB / 438.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.6485, allocations: 31.97 kB / 438.8 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.6486, allocations: 19.97 kB / 438.9 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.6487, allocations: 12 kB / 438.9 MB, free: 4.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007435/0.6494, allocations: 409.5 kB / 439.3 MB, free: 3.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.6495, allocations: 0 / 439.3 MB, free: 3.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00112/0.6506, allocations: 191.7 kB / 439.5 MB, free: 3.668 MB / 362.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.002182/0.6528, allocations: 1.445 MB / 440.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.654, allocations: 0.5984 MB / 441.5 MB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.654, allocations: 4 kB / 441.5 MB, free: 1.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.6547, allocations: 456.3 kB / 442 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009295/0.6556, allocations: 97.86 kB / 442 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.6587, allocations: 0.8756 MB / 442.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.6594, allocations: 0.886 MB / 443.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.6597, allocations: 135.4 kB / 443.9 MB, free: 14.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6597, allocations: 0 / 443.9 MB, free: 14.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.805/3.465, allocations: 11.14 MB / 455.1 MB, free: 3.82 MB / 378.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_res.mat does not exist to compare? outputFormat=mat