Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 270 MB / 282.7 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.759e-05/4.777e-05, allocations: 4 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4664, allocations: 61.88 MB / 409 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.6717, allocations: 100.3 MB / 0.4973 GB, free: 6.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004646/0.6723, allocations: 95.94 kB / 0.4974 GB, free: 6.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5285/1.201, allocations: 24.63 MB / 0.5214 GB, free: 108.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.201, allocations: 0 / 0.5214 GB, free: 108.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/1.201, allocations: 6.344 kB / 0.5215 GB, free: 108.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001556/1.202, allocations: 0.7403 MB / 0.5222 GB, free: 107.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.202, allocations: 13.03 kB / 0.5222 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/1.203, allocations: 105.3 kB / 0.5223 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/1.203, allocations: 53.66 kB / 0.5223 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/1.203, allocations: 302.9 kB / 0.5226 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/1.203, allocations: 48.52 kB / 0.5227 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.203, allocations: 55.34 kB / 0.5227 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.205, allocations: 0.7219 MB / 0.5234 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/1.205, allocations: 0 / 0.5234 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/1.205, allocations: 21.91 kB / 0.5235 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-05/1.205, allocations: 29.38 kB / 0.5235 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/1.206, allocations: 488.1 kB / 0.5239 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/1.21, allocations: 1.703 MB / 0.5256 GB, free: 106.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/1.21, allocations: 269.4 kB / 0.5259 GB, free: 106.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/1.211, allocations: 125.7 kB / 0.526 GB, free: 106.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/1.211, allocations: 13.77 kB / 0.526 GB, free: 106.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.211, allocations: 39.16 kB / 0.526 GB, free: 106.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.785e-06/1.211, allocations: 0 / 0.526 GB, free: 106.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009466/1.212, allocations: 318.8 kB / 0.5263 GB, free: 106.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.212, allocations: 109.2 kB / 0.5264 GB, free: 106.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/1.213, allocations: 0.5673 MB / 0.527 GB, free: 106.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/1.213, allocations: 29.08 kB / 0.527 GB, free: 106.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/1.213, allocations: 320.1 kB / 0.5273 GB, free: 106.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/1.213, allocations: 75.83 kB / 0.5274 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/1.213, allocations: 8.969 kB / 0.5274 GB, free: 106.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/1.213, allocations: 339 kB / 0.5277 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/1.214, allocations: 161.3 kB / 0.5279 GB, free: 105.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/1.214, allocations: 426.3 kB / 0.5283 GB, free: 105.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/1.215, allocations: 238.6 kB / 0.5285 GB, free: 105.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.215, allocations: 0 / 0.5285 GB, free: 105.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001369/1.216, allocations: 0.5761 MB / 0.5291 GB, free: 105.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.216, allocations: 7.906 kB / 0.5291 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/1.216, allocations: 52.23 kB / 0.5291 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/1.216, allocations: 11.88 kB / 0.5292 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/1.217, allocations: 84.34 kB / 0.5292 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/1.217, allocations: 18.25 kB / 0.5293 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/1.218, allocations: 87.47 kB / 0.5293 GB, free: 105.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.235e-05/1.218, allocations: 37.86 kB / 0.5294 GB, free: 105.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0001678/1.218, allocations: 155.9 kB / 0.5295 GB, free: 105.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/1.218, allocations: 48.73 kB / 0.5296 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/1.219, allocations: 458.5 kB / 0.53 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.219, allocations: 3.906 kB / 0.53 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.219, allocations: 0 / 0.53 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.219, allocations: 0 / 0.53 GB, free: 105.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/1.22, allocations: 416.8 kB / 0.5304 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001078/1.22, allocations: 38.58 kB / 0.5304 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/1.221, allocations: 33.52 kB / 0.5305 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.221, allocations: 3.75 kB / 0.5305 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/1.221, allocations: 19.2 kB / 0.5305 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.221, allocations: 0 / 0.5305 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.221, allocations: 3.688 kB / 0.5305 GB, free: 104.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008997/1.222, allocations: 0.5817 MB / 0.5311 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/1.222, allocations: 142.9 kB / 0.5312 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.222, allocations: 3.438 kB / 0.5312 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/1.222, allocations: 22.62 kB / 0.5312 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/1.223, allocations: 24.97 kB / 0.5313 GB, free: 104.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-05/1.223, allocations: 15.58 kB / 0.5313 GB, free: 104.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006222/1.223, allocations: 441.9 kB / 0.5317 GB, free: 104.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.223, allocations: 4 kB / 0.5317 GB, free: 104.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001167/1.224, allocations: 196.7 kB / 0.5319 GB, free: 104.4 MB / 442.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.001754/1.226, allocations: 1.452 MB / 0.5333 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001145/1.227, allocations: 0.6763 MB / 0.534 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.227, allocations: 0 / 0.534 GB, free: 102.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/1.228, allocations: 456.8 kB / 0.5344 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009342/1.229, allocations: 113 kB / 0.5345 GB, free: 102.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/1.232, allocations: 0.9328 MB / 0.5354 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/1.232, allocations: 0.8985 MB / 0.5363 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/1.233, allocations: 149.6 kB / 0.5364 GB, free: 101.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/1.233, allocations: 0 / 0.5364 GB, free: 101.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.735/3.967, allocations: 12.44 MB / 0.5486 GB, free: 92.13 MB / 442.7 MB