Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.715/1.715, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.894e-05, allocations: 0 / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2939, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4364, allocations: 68.65 MB / 332.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.4367, allocations: 67.97 kB / 332.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01734/0.4541, allocations: 3.783 MB / 336.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.43e-06/0.4542, allocations: 0 / 336.3 MB, free: 1.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.4542, allocations: 11.94 kB / 336.3 MB, free: 1.238 MB / 282.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.001128/0.4553, allocations: 0.4905 MB / 336.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.4554, allocations: 8.031 kB / 336.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.4555, allocations: 58.89 kB / 336.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.4557, allocations: 23.72 kB / 336.9 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.4561, allocations: 230.7 kB / 337.2 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.4561, allocations: 16.44 kB / 337.2 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.4562, allocations: 23.95 kB / 337.2 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.4567, allocations: 209 kB / 337.4 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4567, allocations: 0 / 337.4 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.4568, allocations: 8 kB / 337.4 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4568, allocations: 8 kB / 337.4 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.4572, allocations: 120.9 kB / 337.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.4592, allocations: 0.8321 MB / 338.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.4597, allocations: 142.7 kB / 338.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.4599, allocations: 64.84 kB / 338.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.46, allocations: 4 kB / 338.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.46, allocations: 38.5 kB / 338.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.945e-06/0.46, allocations: 0 / 338.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005674/0.4606, allocations: 161.5 kB / 338.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.4606, allocations: 51.41 kB / 338.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.4609, allocations: 157.8 kB / 339 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.4609, allocations: 33.64 kB / 339 MB, free: 14.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.4611, allocations: 210.7 kB / 339.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.4612, allocations: 55.2 kB / 339.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.4612, allocations: 3.938 kB / 339.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4613, allocations: 322.8 kB / 339.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.4615, allocations: 40.38 kB / 339.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.4616, allocations: 68.56 kB / 339.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.4618, allocations: 44.67 kB / 339.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4618, allocations: 3.938 kB / 339.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005331/0.4624, allocations: 172.3 kB / 339.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4624, allocations: 11.94 kB / 339.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4624, allocations: 4.094 kB / 339.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.4627, allocations: 36.83 kB / 340 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.463, allocations: 31.98 kB / 340 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.465, allocations: 1.359 MB / 341.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.4656, allocations: 35.86 kB / 341.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.4656, allocations: 4 kB / 341.4 MB, free: 11.8 MB / 298.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.0001669/0.4658, allocations: 121 kB / 341.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.4659, allocations: 19.8 kB / 341.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.466, allocations: 17.66 kB / 341.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.466, allocations: 4 kB / 341.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.4661, allocations: 0 / 341.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4661, allocations: 3.938 kB / 341.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.4674, allocations: 499.1 kB / 342 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4674, allocations: 4 kB / 342 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.4678, allocations: 39.91 kB / 342.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.4681, allocations: 28.84 kB / 342.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.4682, allocations: 7.953 kB / 342.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.4701, allocations: 1.351 MB / 343.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4701, allocations: 144 / 343.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.4711, allocations: 319.9 kB / 343.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.4713, allocations: 101.2 kB / 343.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.4714, allocations: 4 kB / 343.9 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/0.4719, allocations: 31.88 kB / 343.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.472, allocations: 23.91 kB / 343.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.472, allocations: 0 / 343.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.4723, allocations: 140.2 kB / 344.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4723, allocations: 0 / 344.1 MB, free: 8.875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007112/0.473, allocations: 52 kB / 344.1 MB, free: 8.824 MB / 298.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.001495/0.4745, allocations: 0.8527 MB / 345 MB, free: 7.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007664/0.4753, allocations: 221.7 kB / 345.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.4754, allocations: 0 / 345.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.4758, allocations: 181.6 kB / 345.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.4764, allocations: 28.3 kB / 345.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4782, allocations: 378.7 kB / 345.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.4787, allocations: 0.7402 MB / 346.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.479, allocations: 55.42 kB / 346.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of SimCode: time 1.793e-06/0.479, allocations: 0 / 346.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.808/3.287, allocations: 3.949 MB / 350.5 MB, free: 2.324 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat