Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.275/2.275, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.84e-05/3.862e-05, allocations: 3.984 kB / 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.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.5772, allocations: 79.66 MB / 422.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.5776, allocations: 65.09 kB / 422.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01719/0.5948, allocations: 3.872 MB / 426.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5949, allocations: 0 / 426.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.5949, allocations: 4 kB / 426.2 MB, free: 11.11 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001178/0.5961, allocations: 0.4977 MB / 426.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.5962, allocations: 12.03 kB / 426.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.5963, allocations: 56.8 kB / 426.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.5965, allocations: 23.72 kB / 426.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.5968, allocations: 217.5 kB / 427 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.5969, allocations: 18.94 kB / 427 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.5969, allocations: 19.25 kB / 427.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.5975, allocations: 213 kB / 427.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.5976, allocations: 3.953 kB / 427.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.5976, allocations: 10.81 kB / 427.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.5976, allocations: 4 kB / 427.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.598, allocations: 122.2 kB / 427.4 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.6, allocations: 0.8356 MB / 428.2 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.6005, allocations: 146.5 kB / 428.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.6007, allocations: 65.86 kB / 428.4 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.6007, allocations: 4 kB / 428.5 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.6008, allocations: 38.5 kB / 428.5 MB, free: 9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.747e-06/0.6008, allocations: 0 / 428.5 MB, free: 9 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005654/0.6013, allocations: 160.8 kB / 428.6 MB, free: 8.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6014, allocations: 51.41 kB / 428.7 MB, free: 8.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.6017, allocations: 160.1 kB / 428.9 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.6017, allocations: 29.02 kB / 428.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6018, allocations: 214.5 kB / 429.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.6019, allocations: 57.88 kB / 429.1 MB, free: 8.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.6019, allocations: 3.188 kB / 429.1 MB, free: 8.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6021, allocations: 317.7 kB / 429.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.6022, allocations: 40.56 kB / 429.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.6024, allocations: 68.3 kB / 429.6 MB, free: 7.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.6025, allocations: 41.48 kB / 429.6 MB, free: 7.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6025, allocations: 3.938 kB / 429.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004982/0.603, allocations: 185.7 kB / 429.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.6031, allocations: 4 kB / 429.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6031, allocations: 0 / 429.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.6034, allocations: 28.78 kB / 429.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.6037, allocations: 47.44 kB / 429.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.6052, allocations: 1.349 MB / 431.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.6056, allocations: 43.28 kB / 431.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.6056, allocations: 7.438 kB / 431.3 MB, free: 6.258 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.6058, allocations: 116.3 kB / 431.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.6058, allocations: 15.81 kB / 431.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.6059, allocations: 31.77 kB / 431.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.6059, allocations: 0 / 431.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6059, allocations: 0 / 431.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.606, allocations: 0 / 431.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009293/0.6069, allocations: 0.4888 MB / 431.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6069, allocations: 0 / 431.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.6072, allocations: 23.98 kB / 431.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.6074, allocations: 39.45 kB / 432 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.6075, allocations: 3.5 kB / 432 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.6089, allocations: 1.372 MB / 433.4 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6089, allocations: 0 / 433.4 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/0.6096, allocations: 314.9 kB / 433.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.6097, allocations: 108.5 kB / 433.8 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.6098, allocations: 4 kB / 433.8 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.6102, allocations: 31.78 kB / 433.8 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.6103, allocations: 23.53 kB / 433.8 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.6103, allocations: 4 kB / 433.8 MB, free: 3.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.6105, allocations: 126.5 kB / 434 MB, free: 3.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6105, allocations: 0 / 434 MB, free: 3.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004822/0.611, allocations: 62.78 kB / 434 MB, free: 3.535 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.612, allocations: 0.8491 MB / 434.9 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005475/0.6126, allocations: 220.6 kB / 435.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6126, allocations: 256 / 435.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.6129, allocations: 176.2 kB / 435.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.6133, allocations: 23.41 kB / 435.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.6145, allocations: 372.2 kB / 435.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.615, allocations: 0.7363 MB / 436.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6151, allocations: 64.78 kB / 436.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6152, allocations: 0 / 436.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.697/3.312, allocations: 3.985 MB / 440.4 MB, free: 13.24 MB / 362.7 MB