Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1834/1.995, allocations: 41.11 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/2.101, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3257/2.427, allocations: 68.21 MB / 326.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/2.427, allocations: 70.64 kB / 326.3 MB, free: 3.875 MB / 266.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.02277/2.45, allocations: 4.037 MB / 330.3 MB, free: 392 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/2.45, allocations: 8 kB / 330.3 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/2.451, allocations: 31.61 kB / 330.4 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/2.451, allocations: 224.9 kB / 330.6 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/2.451, allocations: 11.98 kB / 330.6 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/2.451, allocations: 14.52 kB / 330.6 MB, free: 76 kB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004212/2.451, allocations: 113.4 kB / 330.7 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/2.452, allocations: 180.4 kB / 330.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/2.452, allocations: 0 / 330.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/2.452, allocations: 3.938 kB / 330.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/2.452, allocations: 4 kB / 330.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/2.454, allocations: 0.7748 MB / 331.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/2.454, allocations: 129.1 kB / 331.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/2.455, allocations: 67.61 kB / 331.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/2.455, allocations: 3.984 kB / 331.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/2.455, allocations: 30.56 kB / 331.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 3.036e-06/2.455, allocations: 4 kB / 331.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005778/2.455, allocations: 139.4 kB / 332 MB, free: 14.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/2.455, allocations: 59.34 kB / 332.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/2.456, allocations: 132 kB / 332.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/2.456, allocations: 29.7 kB / 332.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/2.456, allocations: 139.3 kB / 332.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/2.456, allocations: 54.19 kB / 332.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/2.456, allocations: 3.938 kB / 332.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/2.456, allocations: 326.2 kB / 332.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/2.456, allocations: 32.81 kB / 332.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/2.456, allocations: 72.19 kB / 332.9 MB, free: 14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/2.456, allocations: 37.17 kB / 332.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/2.456, allocations: 7.984 kB / 332.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005287/2.457, allocations: 161.3 kB / 333.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.457, allocations: 4 kB / 333.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/2.457, allocations: 0 / 333.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/2.457, allocations: 39.8 kB / 333.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/2.458, allocations: 35.92 kB / 333.2 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/2.459, allocations: 1.297 MB / 334.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/2.46, allocations: 35.92 kB / 334.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/2.46, allocations: 8 kB / 334.5 MB, free: 12.37 MB / 282.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.0001275/2.46, allocations: 104.9 kB / 334.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/2.46, allocations: 15.81 kB / 334.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.185e-05/2.46, allocations: 23.3 kB / 334.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/2.46, allocations: 4 kB / 334.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/2.46, allocations: 4 kB / 334.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/2.46, allocations: 144 / 334.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009122/2.461, allocations: 450.7 kB / 335.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/2.461, allocations: 3.984 kB / 335.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/2.461, allocations: 35.86 kB / 335.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001952/2.462, allocations: 32.09 kB / 335.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/2.462, allocations: 0 / 335.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/2.463, allocations: 1.288 MB / 336.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/2.463, allocations: 0 / 336.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007036/2.464, allocations: 310 kB / 336.7 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001284/2.465, allocations: 0.8264 MB / 337.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/2.466, allocations: 100.1 kB / 337.7 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/2.466, allocations: 7.906 kB / 337.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/2.466, allocations: 28.09 kB / 337.7 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/2.466, allocations: 11.98 kB / 337.7 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/2.466, allocations: 7.359 kB / 337.7 MB, free: 9.234 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001248/2.466, allocations: 108.9 kB / 337.8 MB, free: 9.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002244/2.469, allocations: 55.83 kB / 337.9 MB, free: 9.082 MB / 282.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.0003319/2.469, allocations: 99.25 kB / 338 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009083/2.47, allocations: 215 kB / 338.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.47, allocations: 0 / 338.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/2.47, allocations: 166.7 kB / 338.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/2.471, allocations: 27.08 kB / 338.4 MB, free: 8.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/2.473, allocations: 269.6 kB / 338.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007606/2.474, allocations: 0.7652 MB / 339.4 MB, free: 7.566 MB / 282.7 MB Notification: Performance of SimCode: time 1.703e-06/2.474, allocations: 0 / 339.4 MB, free: 7.566 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat