Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.092/1.092, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.649e-05, allocations: 0 / 151.5 MB, free: 15.51 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1832, allocations: 25.16 MB / 176.6 MB, free: 0 / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08016/0.2635, allocations: 36.52 MB / 213.2 MB, free: 12.92 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.2638, allocations: 59.97 kB / 213.2 MB, free: 12.86 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.2823, allocations: 3.902 MB / 217.1 MB, free: 8.945 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2824, allocations: 4 kB / 217.1 MB, free: 8.941 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.2824, allocations: 4 kB / 217.1 MB, free: 8.938 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001166/0.2836, allocations: 0.4971 MB / 217.6 MB, free: 8.398 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.2837, allocations: 12.03 kB / 217.6 MB, free: 8.387 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.2838, allocations: 54.98 kB / 217.7 MB, free: 8.324 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.2839, allocations: 27.72 kB / 217.7 MB, free: 8.297 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.2843, allocations: 222.7 kB / 217.9 MB, free: 8.039 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.2843, allocations: 16.44 kB / 218 MB, free: 8.023 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.2844, allocations: 20 kB / 218 MB, free: 8.004 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.285, allocations: 205 kB / 218.2 MB, free: 7.793 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.285, allocations: 0 / 218.2 MB, free: 7.793 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.2851, allocations: 15.95 kB / 218.2 MB, free: 7.777 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2851, allocations: 4 kB / 218.2 MB, free: 7.773 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.2855, allocations: 132.7 kB / 218.3 MB, free: 7.645 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.2878, allocations: 0.8283 MB / 219.1 MB, free: 6.746 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.2884, allocations: 142.6 kB / 219.3 MB, free: 6.598 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2886, allocations: 64.86 kB / 219.3 MB, free: 6.531 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.2888, allocations: 81.38 kB / 219.4 MB, free: 6.434 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2888, allocations: 38.56 kB / 219.5 MB, free: 6.387 MB / 186.7 MB Notification: Performance of pre-optimization done (n=16): time 2.945e-06/0.2888, allocations: 0 / 219.5 MB, free: 6.387 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006009/0.2894, allocations: 159.4 kB / 219.6 MB, free: 6.223 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.2895, allocations: 55.41 kB / 219.7 MB, free: 6.152 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.2897, allocations: 157.8 kB / 219.8 MB, free: 5.988 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.2898, allocations: 29.7 kB / 219.9 MB, free: 5.953 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2899, allocations: 206.5 kB / 220.1 MB, free: 5.75 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.29, allocations: 55.2 kB / 220.1 MB, free: 5.695 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.29, allocations: 8 kB / 220.1 MB, free: 5.688 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2902, allocations: 310.8 kB / 220.4 MB, free: 5.375 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2903, allocations: 40.38 kB / 220.5 MB, free: 5.336 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.2905, allocations: 71.98 kB / 220.5 MB, free: 5.254 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.2907, allocations: 45.55 kB / 220.6 MB, free: 5.211 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.2907, allocations: 0 / 220.6 MB, free: 5.211 MB / 186.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005613/0.2913, allocations: 180.1 kB / 220.8 MB, free: 5.027 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2913, allocations: 8 kB / 220.8 MB, free: 5.02 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2913, allocations: 0 / 220.8 MB, free: 5.02 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.2916, allocations: 36.83 kB / 220.8 MB, free: 4.98 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.2919, allocations: 32.02 kB / 220.8 MB, free: 4.949 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.2936, allocations: 1.367 MB / 222.2 MB, free: 3.445 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.294, allocations: 39.88 kB / 222.2 MB, free: 3.406 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.2941, allocations: 8 kB / 222.2 MB, free: 3.398 MB / 186.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.0001362/0.2942, allocations: 120.8 kB / 222.4 MB, free: 3.273 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.2943, allocations: 15.81 kB / 222.4 MB, free: 3.258 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.2949, allocations: 173.5 kB / 222.5 MB, free: 3.078 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2949, allocations: 4 kB / 222.6 MB, free: 3.074 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2949, allocations: 4 kB / 222.6 MB, free: 3.07 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2949, allocations: 0 / 222.6 MB, free: 3.07 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.2959, allocations: 0.4912 MB / 223 MB, free: 2.52 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.296, allocations: 0 / 223 MB, free: 2.52 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.2963, allocations: 31.98 kB / 223.1 MB, free: 2.488 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.2965, allocations: 36.8 kB / 223.1 MB, free: 2.449 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.2966, allocations: 7.984 kB / 223.1 MB, free: 2.441 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.2981, allocations: 1.355 MB / 224.5 MB, free: 0.9492 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2981, allocations: 0 / 224.5 MB, free: 0.9492 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.2989, allocations: 321.4 kB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.299, allocations: 104.9 kB / 224.9 MB, free: 0.4961 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.2991, allocations: 4 kB / 224.9 MB, free: 0.4922 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.2995, allocations: 32.09 kB / 224.9 MB, free: 472 kB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.2996, allocations: 19.97 kB / 224.9 MB, free: 452 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.2996, allocations: 4 kB / 225 MB, free: 448 kB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.2998, allocations: 132.3 kB / 225.1 MB, free: 316 kB / 186.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2998, allocations: 4 kB / 225.1 MB, free: 312 kB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005608/0.3004, allocations: 63.84 kB / 225.1 MB, free: 248 kB / 186.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.001268/0.3017, allocations: 0.8507 MB / 226 MB, free: 15.36 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0005951/0.3023, allocations: 225.8 kB / 226.2 MB, free: 15.13 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3024, allocations: 0 / 226.2 MB, free: 15.13 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3027, allocations: 178.2 kB / 226.4 MB, free: 14.95 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.3034, allocations: 67.17 kB / 226.5 MB, free: 14.89 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3047, allocations: 371.8 kB / 226.8 MB, free: 14.48 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.3051, allocations: 0.7441 MB / 227.6 MB, free: 13.71 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.3053, allocations: 55.42 kB / 227.6 MB, free: 13.66 MB / 202.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3053, allocations: 0 / 227.6 MB, free: 13.66 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.702/3.007, allocations: 4.112 MB / 231.7 MB, free: 9.551 MB / 202.7 MB