Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerTable",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.052/2.052, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 185.2 kB / 487 MB, free: 5.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 95.64 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6618/0.6628, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.9433, allocations: 142.3 MB / 1.205 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/2.015, allocations: 423.1 MB / 1.619 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/2.015, allocations: 93.62 kB / 1.619 GB, free: 492 kB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 1.54/3.555, allocations: 484.7 MB / 2.092 GB, free: 46.83 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/3.555, allocations: 8 kB / 2.092 GB, free: 46.82 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005852/3.556, allocations: 249.1 kB / 2.092 GB, free: 46.58 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/3.559, allocations: 2.087 MB / 2.094 GB, free: 44.42 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/3.559, allocations: 28 kB / 2.094 GB, free: 44.39 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/3.559, allocations: 56 kB / 2.094 GB, free: 44.34 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/3.561, allocations: 0.6599 MB / 2.095 GB, free: 43.68 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/3.562, allocations: 0.8786 MB / 2.096 GB, free: 42.76 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/3.562, allocations: 0 / 2.096 GB, free: 42.76 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/3.562, allocations: 4 kB / 2.096 GB, free: 42.76 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/3.562, allocations: 37.98 kB / 2.096 GB, free: 42.72 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006524/3.568, allocations: 5.128 MB / 2.101 GB, free: 37.36 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/3.569, allocations: 0.5235 MB / 2.101 GB, free: 36.83 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/3.57, allocations: 310.7 kB / 2.102 GB, free: 36.52 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/3.57, allocations: 0.4991 MB / 2.102 GB, free: 35.91 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/3.57, allocations: 395.8 kB / 2.103 GB, free: 35.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=62): time 2.615e-06/3.571, allocations: 0 / 2.103 GB, free: 35.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=64): time 0.003938/3.574, allocations: 1.925 MB / 2.104 GB, free: 33.51 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/3.575, allocations: 111.2 kB / 2.105 GB, free: 33.38 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/3.577, allocations: 2.262 MB / 2.107 GB, free: 31.08 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/3.577, allocations: 29.7 kB / 2.107 GB, free: 31.04 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/3.578, allocations: 0.5273 MB / 2.107 GB, free: 30.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/3.578, allocations: 197.1 kB / 2.107 GB, free: 30.31 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/3.578, allocations: 4 kB / 2.107 GB, free: 30.3 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/3.578, allocations: 334 kB / 2.108 GB, free: 29.97 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/3.578, allocations: 257.3 kB / 2.108 GB, free: 29.72 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/3.579, allocations: 455.3 kB / 2.108 GB, free: 29.19 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/3.579, allocations: 338.9 kB / 2.109 GB, free: 28.86 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/3.579, allocations: 4 kB / 2.109 GB, free: 28.86 MB / 1.135 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001466/3.581, allocations: 0.9484 MB / 2.11 GB, free: 27.89 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002805/3.581, allocations: 1.571 MB / 2.111 GB, free: 26.16 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/3.581, allocations: 4 kB / 2.111 GB, free: 26.16 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/3.582, allocations: 137.5 kB / 2.111 GB, free: 26.02 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/3.582, allocations: 123.8 kB / 2.112 GB, free: 25.89 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/3.583, allocations: 2.159 MB / 2.114 GB, free: 23.59 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/3.585, allocations: 71.83 kB / 2.114 GB, free: 23.52 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/3.585, allocations: 47.98 kB / 2.114 GB, free: 23.47 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/3.585, allocations: 0 / 2.114 GB, free: 23.47 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/3.586, allocations: 0.7456 MB / 2.114 GB, free: 22.72 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/3.586, allocations: 8.438 kB / 2.114 GB, free: 22.71 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/3.586, allocations: 101.7 kB / 2.115 GB, free: 22.61 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/3.587, allocations: 119.8 kB / 2.115 GB, free: 22.49 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/3.588, allocations: 2.167 MB / 2.117 GB, free: 20.18 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/3.589, allocations: 63.84 kB / 2.117 GB, free: 20.12 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/3.589, allocations: 36.05 kB / 2.117 GB, free: 20.08 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,$PRE.TIn.nextEvent,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002663/3.59, allocations: 198 kB / 2.117 GB, free: 19.87 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/3.59, allocations: 189.7 kB / 2.117 GB, free: 19.68 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 70 equation(s) and 68 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:1452:5-1452:32:writable] Warning: Equation 37 (size: 1) TIn.timeScaled = time is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:1453:5-1453:25:writable] Warning: Equation 38 (size: 1) TIn.y = TIn.a * TIn.timeScaled + TIn.b is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; Warning: Equation 39 (size: 6) algorithm TIn.nextEvent := pre(TIn.nextEvent); TIn.last := pre(TIn.last); TIn.nextEventScaled := pre(TIn.nextEventScaled); TIn.b := pre(TIn.b); TIn.a := pre(TIn.a); $whenCondition2 := pre($whenCondition2); assert(not (TIn.table[1,1] > 0.0 or TIn.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(TIn.table[1,1], 0, true, 6)); $whenCondition2 := time >= pre(TIn.nextEvent); when {$whenCondition2, false} then (TIn.a, TIn.b, TIn.nextEventScaled, TIn.last) := Modelica.Blocks.Sources.TimeTable$TIn.getInterpolationCoefficients({{TIn.table[1,1], TIn.table[1,2]}, {TIn.table[2,1], TIn.table[2,2]}, {TIn.table[3,1], TIn.table[3,2]}, {TIn.table[4,1], TIn.table[4,2]}, {TIn.table[5,1], TIn.table[5,2]}, {TIn.table[6,1], TIn.table[6,2]}}, TIn.offset, TIn.startTime, TIn.timeScaled, TIn.last, 1e-13, TIn.shiftTime); TIn.nextEvent := TIn.nextEventScaled; end when; is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Thermal/HeatTransfer/Interfaces/HeatPort_b.mo:2:1-37:15:writable] Warning: Equation 40 (size: 1) TAmb.port.Q_flow + boi1.UAOve.Q_flow + boi2.UAOve.Q_flow = 0.0 is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Thermal/HeatTransfer/Interfaces/HeatPort_b.mo:2:1-37:15:writable] Warning: Equation 41 (size: 1) boi1.heaCapDry.port.Q_flow + boi1.vol.heatPort.Q_flow + (-boi1.UAOve.Q_flow) - boi1.QWat_flow = 0.0 is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 0, true, 6)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/3.592, allocations: 1.078 MB / 2.118 GB, free: 18.6 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.Boilers.Examples.BoilerTable could not be translated to FMU