Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.405e-05, allocations: 4 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 50.4 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5737, allocations: 81.42 MB / 424 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5741, allocations: 70.47 kB / 424.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08189/0.656, allocations: 18.99 MB / 443.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.656, allocations: 0 / 443.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.6562, allocations: 28 kB / 443.1 MB, free: 12.8 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003425/0.6596, allocations: 1.143 MB / 444.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.715e-05/0.6597, allocations: 12.02 kB / 444.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.66, allocations: 121.7 kB / 444.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.6604, allocations: 130.6 kB / 444.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.662, allocations: 0.5892 MB / 445.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.6623, allocations: 164.1 kB / 445.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.6625, allocations: 68.81 kB / 445.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.6647, allocations: 0.9184 MB / 446.3 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.6647, allocations: 4 kB / 446.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.6648, allocations: 36.19 kB / 446.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.6649, allocations: 16 kB / 446.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.6665, allocations: 0.5566 MB / 446.9 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007038/0.6736, allocations: 2.588 MB / 449.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004865/0.6785, allocations: 0.8783 MB / 450.3 MB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.6797, allocations: 328.1 kB / 450.7 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/0.6798, allocations: 12.77 kB / 450.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.271e-05/0.6799, allocations: 47.34 kB / 450.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.907e-06/0.6799, allocations: 0 / 450.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002312/0.6822, allocations: 0.6946 MB / 451.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005616/0.6828, allocations: 0.9607 MB / 452.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.6844, allocations: 0.6803 MB / 453.1 MB, free: 3.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.6847, allocations: 45.7 kB / 453.1 MB, free: 3.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.6851, allocations: 411.1 kB / 453.5 MB, free: 3.438 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.6855, allocations: 264.2 kB / 453.8 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.6856, allocations: 16 kB / 453.8 MB, free: 3.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.6858, allocations: 334.8 kB / 454.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.6866, allocations: 229.5 kB / 454.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.6877, allocations: 0.549 MB / 454.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/0.6887, allocations: 374.9 kB / 455.2 MB, free: 1.547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.6887, allocations: 4 kB / 455.2 MB, free: 1.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002432/0.6912, allocations: 0.8292 MB / 456.1 MB, free: 0.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.651e-05/0.6913, allocations: 89.22 kB / 456.2 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6913, allocations: 4 kB / 456.2 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.6919, allocations: 120.2 kB / 456.3 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.6934, allocations: 163.8 kB / 456.4 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008058/0.7015, allocations: 6.774 MB / 463.2 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.7031, allocations: 107.3 kB / 463.3 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.7032, allocations: 31.97 kB / 463.4 MB, free: 8.688 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003346/0.7035, allocations: 168.8 kB / 463.5 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.7038, allocations: 102.8 kB / 463.6 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.7041, allocations: 105.6 kB / 463.7 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.7042, allocations: 8 kB / 463.7 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.7042, allocations: 3.953 kB / 463.7 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001866/0.7061, allocations: 0.9222 MB / 464.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/0.7104, allocations: 1.722 MB / 466.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.7104, allocations: 0 / 466.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.712, allocations: 167.8 kB / 466.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.7122, allocations: 28.84 kB / 466.6 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.758e-05/0.7123, allocations: 12 kB / 466.6 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.7137, allocations: 1.308 MB / 467.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7137, allocations: 0 / 467.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.7166, allocations: 1.01 MB / 468.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/0.7172, allocations: 251.8 kB / 469.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.7175, allocations: 24 kB / 469.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009995/0.7185, allocations: 55.94 kB / 469.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.7187, allocations: 52.64 kB / 469.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.7188, allocations: 16 kB / 469.3 MB, free: 2.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001204/0.72, allocations: 0.5343 MB / 469.8 MB, free: 1.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.72, allocations: 0 / 469.8 MB, free: 1.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001333/0.7213, allocations: 299.6 kB / 470.1 MB, free: 1.555 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003334/0.7247, allocations: 1.598 MB / 471.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.7277, allocations: 1.301 MB / 473 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/0.7278, allocations: 4 kB / 473 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009366/0.7287, allocations: 388.6 kB / 473.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.7307, allocations: 252 kB / 473.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.7358, allocations: 1.486 MB / 475.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.7367, allocations: 0.9992 MB / 476.1 MB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009172/0.7377, allocations: 363.3 kB / 476.5 MB, free: 10.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.7377, allocations: 0 / 476.5 MB, free: 10.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.257/3.994, allocations: 26.94 MB / 0.4916 GB, free: 56 kB / 410.7 MB