Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.138/2.138, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.409e-05/4.41e-05, allocations: 4 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 48.71 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4653/0.5721, allocations: 82.37 MB / 404.3 MB, free: 7.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/0.5726, allocations: 95.92 kB / 404.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05455/0.6271, allocations: 12.13 MB / 416.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6272, allocations: 0 / 416.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.6272, allocations: 8 kB / 416.5 MB, free: 11.11 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001468/0.6287, allocations: 0.662 MB / 417.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.6288, allocations: 12.03 kB / 417.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.6289, allocations: 86.52 kB / 417.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.6291, allocations: 47.44 kB / 417.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.6297, allocations: 306.3 kB / 417.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.6297, allocations: 33 kB / 417.6 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.6298, allocations: 44 kB / 417.7 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.6313, allocations: 0.6148 MB / 418.3 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.6314, allocations: 0 / 418.3 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.6314, allocations: 20 kB / 418.3 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.481e-05/0.6315, allocations: 28.98 kB / 418.3 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.6326, allocations: 409.7 kB / 418.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.6363, allocations: 1.542 MB / 420.3 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007426/0.6371, allocations: 259.6 kB / 420.5 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.6375, allocations: 126.4 kB / 420.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.709e-05/0.6376, allocations: 8 kB / 420.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/0.6376, allocations: 46.62 kB / 420.7 MB, free: 6.672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 4.008e-06/0.6376, allocations: 0 / 420.7 MB, free: 6.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001112/0.6388, allocations: 301 kB / 421 MB, free: 6.371 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.6389, allocations: 110.8 kB / 421.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009719/0.6399, allocations: 495 kB / 421.6 MB, free: 5.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.6399, allocations: 29.7 kB / 421.6 MB, free: 5.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.6402, allocations: 270.6 kB / 421.9 MB, free: 5.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.6403, allocations: 67.02 kB / 421.9 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.6403, allocations: 4 kB / 421.9 MB, free: 5.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6405, allocations: 326.8 kB / 422.3 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.6409, allocations: 128 kB / 422.4 MB, free: 4.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.6414, allocations: 243.6 kB / 422.6 MB, free: 4.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.6419, allocations: 163.8 kB / 422.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.642, allocations: 0 / 422.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001223/0.6432, allocations: 412.4 kB / 423.2 MB, free: 4.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.6432, allocations: 8 kB / 423.2 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.6434, allocations: 35.97 kB / 423.2 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.6434, allocations: 8 kB / 423.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.6438, allocations: 47.89 kB / 423.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.6439, allocations: 4 kB / 423.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.6445, allocations: 79.5 kB / 423.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/0.6446, allocations: 23.98 kB / 423.4 MB, free: 3.855 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.6448, allocations: 140.7 kB / 423.5 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.6449, allocations: 43.44 kB / 423.6 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.6463, allocations: 432.7 kB / 424 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6464, allocations: 4 kB / 424 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6464, allocations: 0 / 424 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6464, allocations: 0 / 424 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.6474, allocations: 389.2 kB / 424.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001205/0.6475, allocations: 35.97 kB / 424.4 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.6478, allocations: 27.97 kB / 424.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.6478, allocations: 4 kB / 424.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.6479, allocations: 19.98 kB / 424.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6479, allocations: 3.938 kB / 424.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6479, allocations: 0 / 424.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.649, allocations: 0.5714 MB / 425 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/0.6493, allocations: 180.4 kB / 425.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.6494, allocations: 8 kB / 425.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005542/0.65, allocations: 23.97 kB / 425.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.6501, allocations: 23.97 kB / 425.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.6502, allocations: 11.94 kB / 425.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006815/0.6509, allocations: 385.1 kB / 425.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6509, allocations: 8 kB / 425.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009498/0.6518, allocations: 143.9 kB / 425.8 MB, free: 1.328 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 (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.00186/0.6537, allocations: 1.366 MB / 427.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.6549, allocations: 0.6063 MB / 427.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.655, allocations: 4.125 kB / 427.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.6556, allocations: 448.3 kB / 428.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.6566, allocations: 102.1 kB / 428.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.6598, allocations: 0.8275 MB / 429.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.6604, allocations: 0.8745 MB / 430 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.6607, allocations: 119.4 kB / 430.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6608, allocations: 3.938 kB / 430.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.593/3.254, allocations: 10.36 MB / 440.5 MB, free: 2.426 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.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat