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.121/2.121, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.994e-05/5.008e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6094 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 48.69 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.5534, allocations: 82.37 MB / 404.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/0.5538, allocations: 103 kB / 404.3 MB, free: 7.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05409/0.6079, allocations: 12.13 MB / 416.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.608, allocations: 0 / 416.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.608, allocations: 11.94 kB / 416.5 MB, free: 11.12 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.001748/0.6098, allocations: 0.6582 MB / 417.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.6099, allocations: 12.03 kB / 417.1 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/0.6101, allocations: 86.52 kB / 417.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.6103, allocations: 47.44 kB / 417.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000742/0.611, allocations: 294.3 kB / 417.5 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.6111, allocations: 41 kB / 417.6 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.6112, allocations: 43.94 kB / 417.6 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.6132, allocations: 0.6207 MB / 418.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.6132, allocations: 4 kB / 418.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.316e-05/0.6133, allocations: 16 kB / 418.3 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/0.6134, allocations: 21 kB / 418.3 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.6149, allocations: 427.7 kB / 418.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/0.6197, allocations: 1.546 MB / 420.3 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.6208, allocations: 263.6 kB / 420.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/0.6214, allocations: 130.4 kB / 420.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.012e-05/0.6215, allocations: 8.141 kB / 420.6 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.6215, allocations: 46.44 kB / 420.7 MB, free: 6.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 4.378e-06/0.6216, allocations: 0 / 420.7 MB, free: 6.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001573/0.6231, allocations: 309 kB / 421 MB, free: 6.352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.6233, allocations: 102.8 kB / 421.1 MB, free: 6.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.6246, allocations: 494.9 kB / 421.6 MB, free: 5.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.6247, allocations: 37.77 kB / 421.6 MB, free: 5.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/0.6249, allocations: 262.7 kB / 421.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6251, allocations: 63.02 kB / 421.9 MB, free: 5.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.6251, allocations: 4 kB / 421.9 MB, free: 5.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6253, allocations: 326.8 kB / 422.3 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.6259, allocations: 132 kB / 422.4 MB, free: 4.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006788/0.6266, allocations: 243.8 kB / 422.6 MB, free: 4.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.6273, allocations: 167.7 kB / 422.8 MB, free: 4.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.6273, allocations: 4 kB / 422.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001664/0.629, allocations: 412.5 kB / 423.2 MB, free: 4.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.629, allocations: 12.03 kB / 423.2 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/0.6292, allocations: 35.97 kB / 423.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.6293, allocations: 8 kB / 423.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.6298, allocations: 47.89 kB / 423.3 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.6299, allocations: 4 kB / 423.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.6307, allocations: 79.41 kB / 423.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/0.6308, allocations: 16 kB / 423.4 MB, free: 3.844 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.0002542/0.6311, allocations: 140.7 kB / 423.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.6314, allocations: 43.44 kB / 423.6 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.6333, allocations: 424.7 kB / 424 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.6333, allocations: 8 kB / 424 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.6333, allocations: 4 kB / 424 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6333, allocations: 0 / 424 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.6347, allocations: 393.2 kB / 424.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001633/0.6349, allocations: 31.97 kB / 424.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.6353, allocations: 31.97 kB / 424.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.6353, allocations: 0 / 424.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.6354, allocations: 15.98 kB / 424.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/0.6354, allocations: 7.938 kB / 424.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.6354, allocations: 4 kB / 424.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.6369, allocations: 0.5675 MB / 425 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/0.6374, allocations: 188.3 kB / 425.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.6376, allocations: 4 kB / 425.2 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008319/0.6384, allocations: 23.97 kB / 425.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.6386, allocations: 23.97 kB / 425.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.6387, allocations: 15.98 kB / 425.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009834/0.6397, allocations: 385.1 kB / 425.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6397, allocations: 4 kB / 425.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001421/0.6412, allocations: 139.9 kB / 425.8 MB, free: 1.316 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.002372/0.6435, allocations: 1.368 MB / 427.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.6451, allocations: 0.6101 MB / 427.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6451, allocations: 0 / 427.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008301/0.646, allocations: 452.3 kB / 428.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6473, allocations: 114.3 kB / 428.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.6514, allocations: 0.8236 MB / 429.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/0.6522, allocations: 0.8705 MB / 430 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.6526, allocations: 123.4 kB / 430.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6526, allocations: 0 / 430.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.662/3.314, allocations: 10.39 MB / 440.5 MB, free: 2.355 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