Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.223e-05, allocations: 0 / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5652, allocations: 81.24 MB / 423.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5655, allocations: 70.66 kB / 423.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04214/0.6077, allocations: 9.892 MB / 433.8 MB, free: 4.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6078, allocations: 0 / 433.8 MB, free: 4.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.402e-05/0.6078, allocations: 8 kB / 433.8 MB, free: 4.242 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001821/0.6096, allocations: 0.7342 MB / 434.6 MB, free: 3.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.6097, allocations: 8.031 kB / 434.6 MB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.6099, allocations: 80.47 kB / 434.6 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.6101, allocations: 67.25 kB / 434.7 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008905/0.611, allocations: 386.5 kB / 435.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.6112, allocations: 57.61 kB / 435.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.6113, allocations: 38.83 kB / 435.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000986/0.6123, allocations: 452.9 kB / 435.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.6123, allocations: 15.73 kB / 435.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.6124, allocations: 12.94 kB / 435.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.6124, allocations: 8 kB / 435.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000806/0.6132, allocations: 268.5 kB / 435.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.6168, allocations: 1.294 MB / 437.2 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.6177, allocations: 372.2 kB / 437.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.6181, allocations: 142.6 kB / 437.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-05/0.6182, allocations: 11.94 kB / 437.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.6182, allocations: 42.25 kB / 437.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.875e-06/0.6183, allocations: 0 / 437.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001147/0.6194, allocations: 356.6 kB / 438.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002463/0.6197, allocations: 448.9 kB / 438.6 MB, free: 16 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.6205, allocations: 395.5 kB / 438.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.759e-05/0.6206, allocations: 36.33 kB / 439 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.6208, allocations: 277.8 kB / 439.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.621, allocations: 123.5 kB / 439.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.621, allocations: 10.75 kB / 439.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6212, allocations: 325.8 kB / 439.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.6215, allocations: 109.4 kB / 439.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.622, allocations: 247.2 kB / 440.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.6224, allocations: 154 kB / 440.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6224, allocations: 0.6562 kB / 440.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001087/0.6235, allocations: 394.1 kB / 440.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/0.6236, allocations: 29.7 kB / 440.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6236, allocations: 0 / 440.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.6238, allocations: 55.67 kB / 440.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/0.6247, allocations: 87.69 kB / 440.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.628, allocations: 2.729 MB / 443.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.6289, allocations: 62.23 kB / 443.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.629, allocations: 19.92 kB / 443.6 MB, free: 11.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.6292, allocations: 140.8 kB / 443.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.6293, allocations: 51.44 kB / 443.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.6295, allocations: 56.45 kB / 443.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6295, allocations: 4 kB / 443.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6295, allocations: 3.984 kB / 443.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009614/0.6305, allocations: 0.6659 MB / 444.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.6326, allocations: 0.9681 MB / 445.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6327, allocations: 0 / 445.5 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.6336, allocations: 95.5 kB / 445.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.6336, allocations: 4 kB / 445.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.6336, allocations: 7.781 kB / 445.6 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.6336, allocations: 4 kB / 445.6 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6337, allocations: 3.938 kB / 445.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.635, allocations: 0.5603 MB / 446.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.6353, allocations: 173.2 kB / 446.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6355, allocations: 10.75 kB / 446.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.6361, allocations: 38.47 kB / 446.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.6362, allocations: 27.47 kB / 446.4 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.6362, allocations: 4 kB / 446.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005841/0.6368, allocations: 320.6 kB / 446.7 MB, free: 8.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6368, allocations: 0 / 446.7 MB, free: 8.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007027/0.6375, allocations: 141 kB / 446.8 MB, free: 8.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/0.6393, allocations: 1.143 MB / 448 MB, free: 7.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.6407, allocations: 0.5476 MB / 448.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6407, allocations: 0 / 448.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.6411, allocations: 146.9 kB / 448.7 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6422, allocations: 132.5 kB / 448.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.6447, allocations: 0.7696 MB / 449.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.6453, allocations: 0.8472 MB / 450.4 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.6457, allocations: 178.6 kB / 450.6 MB, free: 5.074 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6457, allocations: 0 / 450.6 MB, free: 5.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.159/3.805, allocations: 10.62 MB / 461.2 MB, free: 10.6 MB / 378.7 MB