Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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 2.273/2.273, allocations: 194.9 MB / 202.6 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2863/2.56, allocations: 46.82 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/2.661, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/3.013, allocations: 73.17 MB / 367.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/3.013, allocations: 70.91 kB / 367.1 MB, free: 7.051 MB / 298.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.02611/3.04, allocations: 4.037 MB / 371.2 MB, free: 6.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/3.04, allocations: 7.875 kB / 371.2 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/3.04, allocations: 28.88 kB / 371.2 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/3.04, allocations: 228.2 kB / 371.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/3.04, allocations: 7.812 kB / 371.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/3.04, allocations: 11.75 kB / 371.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004897/3.041, allocations: 124.6 kB / 371.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/3.041, allocations: 177.8 kB / 371.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/3.042, allocations: 0 / 371.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/3.042, allocations: 0 / 371.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/3.042, allocations: 3.875 kB / 371.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/3.044, allocations: 0.7762 MB / 372.5 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/3.044, allocations: 125.8 kB / 372.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/3.045, allocations: 62.61 kB / 372.7 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/3.045, allocations: 5.469 kB / 372.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/3.045, allocations: 34.95 kB / 372.8 MB, free: 5.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.737e-06/3.045, allocations: 4 kB / 372.8 MB, free: 5.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006677/3.045, allocations: 146.6 kB / 372.9 MB, free: 5.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/3.045, allocations: 55.34 kB / 373 MB, free: 5.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/3.046, allocations: 136.5 kB / 373.1 MB, free: 5.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/3.046, allocations: 25.7 kB / 373.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/3.046, allocations: 139 kB / 373.3 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/3.046, allocations: 48.31 kB / 373.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/3.046, allocations: 4 kB / 373.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/3.046, allocations: 326 kB / 373.6 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/3.046, allocations: 38.34 kB / 373.7 MB, free: 20.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/3.046, allocations: 67.7 kB / 373.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/3.047, allocations: 40.23 kB / 373.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/3.047, allocations: 1.203 kB / 373.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006173/3.047, allocations: 170.6 kB / 373.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/3.047, allocations: 7.625 kB / 373.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/3.047, allocations: 3.812 kB / 373.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/3.048, allocations: 27.73 kB / 374 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/3.048, allocations: 37.48 kB / 374 MB, free: 20.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/3.05, allocations: 1.303 MB / 375.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/3.05, allocations: 36.72 kB / 375.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/3.05, allocations: 8.734 kB / 375.4 MB, free: 19.51 MB / 314.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.0001474/3.051, allocations: 112.6 kB / 375.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/3.051, allocations: 16.14 kB / 375.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/3.051, allocations: 22.92 kB / 375.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/3.051, allocations: 0 / 375.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/3.051, allocations: 0.75 kB / 375.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/3.051, allocations: 0.5625 kB / 375.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/3.052, allocations: 460 kB / 376 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/3.052, allocations: 0 / 376 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/3.052, allocations: 32.17 kB / 376 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/3.053, allocations: 28.17 kB / 376 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/3.053, allocations: 0 / 376 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/3.054, allocations: 1.301 MB / 377.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/3.054, allocations: 0 / 377.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007781/3.055, allocations: 310 kB / 377.6 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001372/3.057, allocations: 0.8144 MB / 378.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/3.057, allocations: 106 kB / 378.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/3.057, allocations: 8.188 kB / 378.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/3.057, allocations: 30.62 kB / 378.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/3.058, allocations: 17.55 kB / 378.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/3.058, allocations: 9.016 kB / 378.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001379/3.058, allocations: 109.2 kB / 378.7 MB, free: 16.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001666/3.059, allocations: 51.14 kB / 378.8 MB, free: 16.98 MB / 314.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.0002444/3.06, allocations: 104.4 kB / 378.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006551/3.06, allocations: 210.1 kB / 379.1 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/3.06, allocations: 3.875 kB / 379.1 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/3.061, allocations: 160.6 kB / 379.2 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/3.061, allocations: 13.62 kB / 379.2 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/3.062, allocations: 300.3 kB / 379.5 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/3.063, allocations: 0.7546 MB / 380.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/3.063, allocations: 0 / 380.3 MB, free: 15.81 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat