Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",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(Buildings): time 4.561/4.561, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3043/4.866, allocations: 94.99 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/5.464, allocations: 92.68 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.625/12.09, allocations: 2.46 GB / 3.044 GB, free: 111.6 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/12.09, allocations: 82.52 kB / 3.044 GB, free: 111.5 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableValueNoDer. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 603 * Number of variables: 603 Notification: Performance of Generate backend data structure: time 6.547/18.64, allocations: 1.262 GB / 4.307 GB, free: 50.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/18.64, allocations: 12 kB / 4.307 GB, free: 50.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008126/18.64, allocations: 0.6589 MB / 4.307 GB, free: 49.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02382/18.67, allocations: 5.108 MB / 4.312 GB, free: 44.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/18.67, allocations: 76 kB / 4.312 GB, free: 44.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/18.67, allocations: 151.9 kB / 4.313 GB, free: 43.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009542/18.68, allocations: 2.481 MB / 4.315 GB, free: 41.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009381/18.69, allocations: 2.88 MB / 4.318 GB, free: 38.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/18.69, allocations: 7.938 kB / 4.318 GB, free: 38.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004776/18.69, allocations: 4 kB / 4.318 GB, free: 38.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/18.69, allocations: 116.2 kB / 4.318 GB, free: 38.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/18.72, allocations: 13.77 MB / 4.331 GB, free: 23.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/18.73, allocations: 1.094 MB / 4.332 GB, free: 22.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003083/18.73, allocations: 1.106 MB / 4.334 GB, free: 21.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/18.74, allocations: 3.687 MB / 4.337 GB, free: 17.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002858/18.74, allocations: 1.096 MB / 4.338 GB, free: 16.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=155): time 4.668e-06/18.75, allocations: 0 / 4.338 GB, free: 16.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=165): time 0.02581/18.77, allocations: 5.312 MB / 4.343 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/18.77, allocations: 179.5 kB / 4.344 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006151/18.78, allocations: 2.34 MB / 4.346 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0007421/18.78, allocations: 29.7 kB / 4.346 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/18.78, allocations: 1.016 MB / 4.347 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/18.78, allocations: 0.5505 MB / 4.347 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/18.78, allocations: 0 / 4.347 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001919/18.78, allocations: 402.4 kB / 4.348 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002914/18.78, allocations: 0.9845 MB / 4.349 GB, free: 5.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/18.79, allocations: 1.617 MB / 4.35 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/18.79, allocations: 1.372 MB / 4.352 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-05/18.79, allocations: 4 kB / 4.352 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01348/18.81, allocations: 3.12 MB / 4.355 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.004154/18.81, allocations: 7.149 MB / 4.362 GB, free: 7.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/18.81, allocations: 20 kB / 4.362 GB, free: 7.562 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/18.81, allocations: 285.4 kB / 4.362 GB, free: 7.277 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005391/18.82, allocations: 0.4914 MB / 4.363 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/18.83, allocations: 2.573 MB / 4.365 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/18.83, allocations: 155.4 kB / 4.365 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00092/18.83, allocations: 120 kB / 4.365 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/18.83, allocations: 4 kB / 4.365 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01229/18.85, allocations: 2.665 MB / 4.368 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.834e-05/18.85, allocations: 20.09 kB / 4.368 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/18.85, allocations: 297.7 kB / 4.368 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005399/18.85, allocations: 483.2 kB / 4.369 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4043/19.26, allocations: 2.566 MB / 4.371 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/19.26, allocations: 140.1 kB / 4.371 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006877/19.26, allocations: 105.7 kB / 4.371 GB, free: 185.9 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (268): * Single equations (assignments): 262 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.000846/19.26, allocations: 172.5 kB / 4.372 GB, free: 185.8 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/19.27, allocations: 286.4 kB / 4.372 GB, free: 185.8 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/19.28, allocations: 2.861 MB / 4.375 GB, free: 185.7 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/19.28, allocations: 24.09 kB / 4.375 GB, free: 185.7 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/19.28, allocations: 0 / 4.375 GB, free: 185.7 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008542/19.29, allocations: 2.436 MB / 4.377 GB, free: 185.2 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/19.31, allocations: 5.523 MB / 4.382 GB, free: 184.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/19.31, allocations: 7.344 kB / 4.382 GB, free: 184.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003689/19.31, allocations: 293.8 kB / 4.383 GB, free: 184.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002564/19.31, allocations: 439.5 kB / 4.383 GB, free: 184.7 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004598/19.31, allocations: 30.84 kB / 4.383 GB, free: 184.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007003/19.32, allocations: 5.382 MB / 4.388 GB, free: 180.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/19.32, allocations: 3.75 kB / 4.388 GB, free: 180.3 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01315/19.33, allocations: 4.158 MB / 4.392 GB, free: 179.6 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01712/19.35, allocations: 5.923 MB / 4.398 GB, free: 178.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003026/19.35, allocations: 0.6393 MB / 4.399 GB, free: 178.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/19.35, allocations: 16 kB / 4.399 GB, free: 178.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005509/19.36, allocations: 134.5 kB / 4.399 GB, free: 178.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005787/19.36, allocations: 113.5 kB / 4.399 GB, free: 178.1 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003349/19.36, allocations: 70.08 kB / 4.399 GB, free: 178.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.005093/19.37, allocations: 1.758 MB / 4.401 GB, free: 178 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01417/19.38, allocations: 2.14 MB / 4.403 GB, free: 178 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.nextTimeEvent,hysPum.y,timTab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 6 {1 4,1 4,1 4,1 4,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005508/19.39, allocations: 2.107 MB / 4.405 GB, free: 177.7 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0139/19.4, allocations: 4.238 MB / 4.409 GB, free: 177.3 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/19.4, allocations: 3 kB / 4.409 GB, free: 177.3 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00418/19.4, allocations: 1.248 MB / 4.41 GB, free: 177.2 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01468/19.42, allocations: 1.433 MB / 4.412 GB, free: 177.2 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/19.44, allocations: 5.729 MB / 4.417 GB, free: 176 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005573/19.44, allocations: 2.782 MB / 4.42 GB, free: 175.2 MB / 0.7917 GB Notification: Performance of SimCode: time 1.943e-06/19.44, allocations: 0 / 4.42 GB, free: 175.2 MB / 0.7917 GB