Running command: translateModel(HanserModelica.Thermal.TestLongRod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.TestLongRod") [: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(HanserModelica): time 2.171/2.171, allocations: 214.7 MB / 221.7 MB, free: 5.117 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 9.679e-06/9.799e-06, allocations: 0 / 273.6 MB, free: 2 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 49.71 MB / 323.3 MB, free: 200 kB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2602/0.3746, allocations: 77.16 MB / 400.5 MB, free: 14.29 MB / 330.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.3748, allocations: 67.34 kB / 400.6 MB, free: 14.26 MB / 330.9 MB Notification: Performance of FrontEnd: time 0.01967/0.3945, allocations: 5.042 MB / 405.6 MB, free: 10.12 MB / 330.9 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.3946, allocations: 4 kB / 405.6 MB, free: 10.12 MB / 330.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001069/0.3956, allocations: 0.5419 MB / 406.1 MB, free: 9.551 MB / 330.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3957, allocations: 12.03 kB / 406.2 MB, free: 9.539 MB / 330.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3958, allocations: 39.53 kB / 406.2 MB, free: 9.5 MB / 330.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006269/0.3965, allocations: 313.1 kB / 406.5 MB, free: 9.195 MB / 330.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.3965, allocations: 12 kB / 406.5 MB, free: 9.184 MB / 330.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.177e-05/0.3966, allocations: 23.41 kB / 406.5 MB, free: 9.164 MB / 330.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007664/0.3974, allocations: 318.5 kB / 406.8 MB, free: 8.961 MB / 330.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.3981, allocations: 310.9 kB / 407.2 MB, free: 8.738 MB / 330.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.3982, allocations: 4 kB / 407.2 MB, free: 8.734 MB / 330.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.3982, allocations: 0 / 407.2 MB, free: 8.734 MB / 330.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.3983, allocations: 23.91 kB / 407.2 MB, free: 8.715 MB / 330.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.401, allocations: 1.356 MB / 408.5 MB, free: 7.508 MB / 330.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.4021, allocations: 272.7 kB / 408.8 MB, free: 7.316 MB / 330.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.4028, allocations: 180.1 kB / 409 MB, free: 7.199 MB / 330.9 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.4028, allocations: 4 kB / 409 MB, free: 7.195 MB / 330.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.4029, allocations: 38.5 kB / 409 MB, free: 7.152 MB / 330.9 MB Notification: Performance of pre-optimization done (n=23): time 1.014e-05/0.403, allocations: 0 / 409 MB, free: 7.152 MB / 330.9 MB Notification: Performance of matching and sorting (n=23): time 0.00183/0.4048, allocations: 382.6 kB / 409.4 MB, free: 6.852 MB / 330.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.4049, allocations: 55.41 kB / 409.4 MB, free: 6.785 MB / 330.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.4054, allocations: 177.6 kB / 409.6 MB, free: 6.625 MB / 330.9 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.4054, allocations: 29.7 kB / 409.7 MB, free: 6.59 MB / 330.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.4056, allocations: 164.8 kB / 409.8 MB, free: 6.434 MB / 330.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.4058, allocations: 75.73 kB / 409.9 MB, free: 6.367 MB / 330.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.4058, allocations: 0 / 409.9 MB, free: 6.367 MB / 330.9 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.4061, allocations: 334 kB / 410.2 MB, free: 6.039 MB / 330.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.4064, allocations: 107 kB / 410.3 MB, free: 5.973 MB / 330.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.4068, allocations: 112 kB / 410.4 MB, free: 5.902 MB / 330.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.4073, allocations: 145.7 kB / 410.6 MB, free: 5.809 MB / 330.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.603e-06/0.4073, allocations: 4 kB / 410.6 MB, free: 5.805 MB / 330.9 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001707/0.409, allocations: 407.5 kB / 411 MB, free: 5.488 MB / 330.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4091, allocations: 4 kB / 411 MB, free: 5.484 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4091, allocations: 0 / 411 MB, free: 5.484 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007759/0.4099, allocations: 141.2 kB / 411.1 MB, free: 5.367 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.4103, allocations: 31.98 kB / 411.1 MB, free: 5.336 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008613/0.419, allocations: 4.478 MB / 415.6 MB, free: 0.8555 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.4195, allocations: 27.86 kB / 415.6 MB, free: 0.8281 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.4196, allocations: 11.56 kB / 415.7 MB, free: 0.8203 MB / 330.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.4198, allocations: 109 kB / 415.8 MB, free: 0.707 MB / 330.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.42, allocations: 15.81 kB / 415.8 MB, free: 0.6914 MB / 330.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.4201, allocations: 25.75 kB / 415.8 MB, free: 0.6836 MB / 330.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4202, allocations: 4 kB / 415.8 MB, free: 0.6797 MB / 330.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4202, allocations: 0 / 415.8 MB, free: 0.6797 MB / 330.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.4202, allocations: 3.984 kB / 415.8 MB, free: 0.6758 MB / 330.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.4213, allocations: 370.6 kB / 416.2 MB, free: 364 kB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.4214, allocations: 4 kB / 416.2 MB, free: 360 kB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.422, allocations: 43.91 kB / 416.2 MB, free: 316 kB / 330.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008615/0.4229, allocations: 128.8 kB / 416.3 MB, free: 208 kB / 330.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.423, allocations: 4 kB / 416.4 MB, free: 204 kB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008822/0.4318, allocations: 4.474 MB / 420.8 MB, free: 11.73 MB / 346.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.034e-06/0.4319, allocations: 0 / 420.8 MB, free: 11.73 MB / 346.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002241/0.4342, allocations: 0.6389 MB / 421.5 MB, free: 11.22 MB / 346.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.4344, allocations: 100.8 kB / 421.6 MB, free: 11.1 MB / 346.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.4346, allocations: 7.25 kB / 421.6 MB, free: 11.1 MB / 346.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.435, allocations: 15.98 kB / 421.6 MB, free: 11.08 MB / 346.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4352, allocations: 15.89 kB / 421.6 MB, free: 11.07 MB / 346.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.4352, allocations: 7.188 kB / 421.6 MB, free: 11.06 MB / 346.9 MB Notification: Performance of sort global known variables: time 0.0003094/0.4356, allocations: 148.5 kB / 421.8 MB, free: 10.94 MB / 346.9 MB Notification: Performance of remove unused functions: time 0.0017/0.4373, allocations: 111.7 kB / 421.9 MB, free: 10.83 MB / 346.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (longRod.shortRod[1].heatCapacitor.T,longRod.shortRod[2].heatCapacitor.T,longRod.shortRod[3].heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002764/0.4376, allocations: 103.2 kB / 422 MB, free: 10.72 MB / 346.9 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.4395, allocations: 0.5895 MB / 422.6 MB, free: 10.2 MB / 346.9 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4396, allocations: 0 / 422.6 MB, free: 10.2 MB / 346.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.4408, allocations: 471 kB / 423 MB, free: 9.758 MB / 346.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.4416, allocations: 31.53 kB / 423 MB, free: 9.734 MB / 346.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.4444, allocations: 0.6907 MB / 423.7 MB, free: 9.102 MB / 346.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007555/0.4452, allocations: 0.8721 MB / 424.6 MB, free: 8.234 MB / 346.9 MB Notification: Performance of SimCode: time 1.781e-06/0.4452, allocations: 0 / 424.6 MB, free: 8.234 MB / 346.9 MB Notification: Performance of Templates: time 0.0115/0.4567, allocations: 3.742 MB / 428.3 MB, free: 4.504 MB / 346.9 MB