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: translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable") [: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.066/2.066, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001136/0.001136, allocations: 189.2 kB / 487 MB, free: 5.34 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.217/1.217, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.001033/0.001033, allocations: 94.3 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.622e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2194, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.874/1.093, allocations: 423.2 MB / 1.618 GB, free: 460 kB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.094, allocations: 90.77 kB / 1.619 GB, free: 416 kB / 1.042 GB Notification: Performance of FrontEnd: time 1.431/2.524, allocations: 482.6 MB / 2.09 GB, free: 47.15 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001665/2.525, allocations: 47.75 kB / 2.09 GB, free: 47.11 MB / 1.135 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 0.004107/2.529, allocations: 2.062 MB / 2.092 GB, free: 44.98 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/2.529, allocations: 11.97 kB / 2.092 GB, free: 44.96 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/2.53, allocations: 249.1 kB / 2.092 GB, free: 44.72 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/2.533, allocations: 2.078 MB / 2.094 GB, free: 42.62 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/2.533, allocations: 32 kB / 2.094 GB, free: 42.59 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/2.534, allocations: 56 kB / 2.094 GB, free: 42.53 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001185/2.535, allocations: 0.6521 MB / 2.095 GB, free: 41.88 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/2.536, allocations: 0.8786 MB / 2.096 GB, free: 40.96 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/2.536, allocations: 7.984 kB / 2.096 GB, free: 40.96 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/2.536, allocations: 0 / 2.096 GB, free: 40.96 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/2.536, allocations: 37.98 kB / 2.096 GB, free: 40.92 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006193/2.542, allocations: 5.125 MB / 2.101 GB, free: 35.6 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/2.543, allocations: 0.5226 MB / 2.101 GB, free: 35.07 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/2.544, allocations: 302.7 kB / 2.102 GB, free: 34.77 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/2.544, allocations: 0.5064 MB / 2.102 GB, free: 34.16 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/2.544, allocations: 399.7 kB / 2.102 GB, free: 33.74 MB / 1.135 GB Notification: Performance of pre-optimization done (n=62): time 3.146e-06/2.544, allocations: 0 / 2.102 GB, free: 33.74 MB / 1.135 GB Notification: Performance of matching and sorting (n=64): time 0.00397/2.548, allocations: 1.91 MB / 2.104 GB, free: 31.77 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/2.548, allocations: 119.2 kB / 2.104 GB, free: 31.62 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003441/2.552, allocations: 2.269 MB / 2.107 GB, free: 29.32 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/2.552, allocations: 29.7 kB / 2.107 GB, free: 29.29 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/2.552, allocations: 0.5273 MB / 2.107 GB, free: 28.75 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/2.553, allocations: 201.1 kB / 2.107 GB, free: 28.55 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/2.553, allocations: 0 / 2.107 GB, free: 28.55 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/2.553, allocations: 334 kB / 2.108 GB, free: 28.21 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/2.553, allocations: 249.4 kB / 2.108 GB, free: 27.97 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/2.553, allocations: 463.3 kB / 2.108 GB, free: 27.43 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/2.554, allocations: 330.9 kB / 2.109 GB, free: 27.11 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.554, allocations: 448 / 2.109 GB, free: 27.11 MB / 1.135 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001687/2.556, allocations: 0.9633 MB / 2.11 GB, free: 26.13 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002869/2.556, allocations: 1.57 MB / 2.111 GB, free: 24.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/2.556, allocations: 4 kB / 2.111 GB, free: 24.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005486/2.557, allocations: 137.5 kB / 2.111 GB, free: 24.26 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/2.557, allocations: 119.8 kB / 2.111 GB, free: 24.14 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/2.559, allocations: 2.162 MB / 2.114 GB, free: 21.84 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/2.56, allocations: 79.83 kB / 2.114 GB, free: 21.76 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/2.56, allocations: 40.05 kB / 2.114 GB, free: 21.72 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/2.56, allocations: 4 kB / 2.114 GB, free: 21.71 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/2.561, allocations: 0.734 MB / 2.114 GB, free: 20.98 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/2.562, allocations: 4 kB / 2.114 GB, free: 20.97 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/2.562, allocations: 109.6 kB / 2.114 GB, free: 20.86 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/2.562, allocations: 128.1 kB / 2.115 GB, free: 20.73 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/2.564, allocations: 2.159 MB / 2.117 GB, free: 18.44 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/2.565, allocations: 63.84 kB / 2.117 GB, free: 18.38 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/2.565, allocations: 40.05 kB / 2.117 GB, free: 18.34 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.0002848/2.565, allocations: 202.8 kB / 2.117 GB, free: 18.12 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/2.566, allocations: 189.7 kB / 2.117 GB, free: 17.93 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.002072/2.568, allocations: 1.08 MB / 2.118 GB, free: 16.85 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.