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.023/2.023, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.415e-05, allocations: 0 / 267.6 MB, free: 5.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.69 MB / 316.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.522, allocations: 81.94 MB / 398.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003648/0.5224, allocations: 102.8 kB / 398.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05186/0.5743, allocations: 11.98 MB / 410.3 MB, free: 336 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5743, allocations: 0 / 410.3 MB, free: 336 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.5744, allocations: 4 kB / 410.3 MB, free: 332 kB / 330.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.001486/0.5759, allocations: 0.6665 MB / 411 MB, free: 15.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.576, allocations: 8.031 kB / 411 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5761, allocations: 47.44 kB / 411.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.5767, allocations: 292.5 kB / 411.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.5768, allocations: 19.98 kB / 411.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.944e-05/0.5769, allocations: 24 kB / 411.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009897/0.5779, allocations: 383.9 kB / 411.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5792, allocations: 0.5623 MB / 412.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.5792, allocations: 0 / 412.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.5793, allocations: 0 / 412.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.5794, allocations: 21.31 kB / 412.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.5826, allocations: 1.372 MB / 413.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/0.5833, allocations: 265.4 kB / 414 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.5836, allocations: 120.2 kB / 414.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.104e-05/0.5837, allocations: 15.94 kB / 414.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.5837, allocations: 41.48 kB / 414.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.817e-06/0.5837, allocations: 0 / 414.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009393/0.5847, allocations: 285.3 kB / 414.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.5848, allocations: 102.8 kB / 414.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.5851, allocations: 223.9 kB / 414.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.5852, allocations: 25.7 kB / 414.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.5854, allocations: 313.1 kB / 415.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.5855, allocations: 68.06 kB / 415.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.5855, allocations: 4.062 kB / 415.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5857, allocations: 328.7 kB / 415.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.5861, allocations: 122.5 kB / 415.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.5865, allocations: 235.1 kB / 415.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.587, allocations: 157.3 kB / 416 MB, free: 10.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.587, allocations: 4 kB / 416 MB, free: 10.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001092/0.5881, allocations: 389.2 kB / 416.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5882, allocations: 4 kB / 416.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.5883, allocations: 43.95 kB / 416.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.5883, allocations: 4 kB / 416.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.5888, allocations: 52.31 kB / 416.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.5888, allocations: 11.94 kB / 416.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.5893, allocations: 35.81 kB / 416.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.5893, allocations: 19.98 kB / 416.5 MB, free: 10.45 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.0001625/0.5895, allocations: 123.5 kB / 416.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008626/0.5904, allocations: 287.3 kB / 416.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5905, allocations: 23.72 kB / 417 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.5917, allocations: 403.8 kB / 417.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.5918, allocations: 4 kB / 417.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5918, allocations: 4 kB / 417.4 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5918, allocations: 0 / 417.4 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008479/0.5927, allocations: 347.2 kB / 417.7 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001199/0.5928, allocations: 39.97 kB / 417.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.5931, allocations: 27.97 kB / 417.8 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.5932, allocations: 11.97 kB / 417.8 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.5932, allocations: 8 kB / 417.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5932, allocations: 0 / 417.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.5932, allocations: 0 / 417.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009585/0.5942, allocations: 0.5589 MB / 418.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.5945, allocations: 144.2 kB / 418.5 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.5946, allocations: 7.984 kB / 418.5 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.595, allocations: 23.98 kB / 418.5 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.5952, allocations: 27.09 kB / 418.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.5952, allocations: 11.98 kB / 418.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002401/0.5955, allocations: 165.9 kB / 418.7 MB, free: 8.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5955, allocations: 0 / 418.7 MB, free: 8.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001033/0.5966, allocations: 158.9 kB / 418.9 MB, free: 8.199 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.5984, allocations: 1.326 MB / 420.2 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.5996, allocations: 0.5926 MB / 420.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5996, allocations: 0 / 420.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.6002, allocations: 452.9 kB / 421.2 MB, free: 5.738 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.6007, allocations: 35.47 kB / 421.3 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.6037, allocations: 0.7539 MB / 422 MB, free: 4.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.6043, allocations: 0.8725 MB / 422.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.6045, allocations: 117 kB / 423 MB, free: 4.027 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6045, allocations: 0 / 423 MB, free: 4.027 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/3.31, allocations: 8.4 MB / 431.4 MB, free: 11.64 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