Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.841/1.841, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 179.2 kB / 490.8 MB, free: 11.21 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.275/1.275, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 89.02 kB / 0.9264 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.113e-05, allocations: 4 kB / 1.072 GB, free: 15.55 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7147, allocations: 143 MB / 1.212 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8503/1.565, allocations: 424 MB / 1.626 GB, free: 248 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.565, allocations: 83.95 kB / 1.626 GB, free: 247.9 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.521/3.086, allocations: 482.6 MB / 2.097 GB, free: 240.9 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.000375/3.087, allocations: 48.66 kB / 2.097 GB, free: 240.9 MB / 1.12 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.00581/3.092, allocations: 2.06 MB / 2.099 GB, free: 239.6 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/3.092, allocations: 10.62 kB / 2.099 GB, free: 239.6 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/3.094, allocations: 243.6 kB / 2.099 GB, free: 239.5 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005791/3.1, allocations: 2.082 MB / 2.101 GB, free: 238.5 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/3.1, allocations: 33.22 kB / 2.101 GB, free: 238.5 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/3.1, allocations: 60.19 kB / 2.101 GB, free: 238.5 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001606/3.102, allocations: 0.6498 MB / 2.102 GB, free: 238.3 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/3.103, allocations: 0.8832 MB / 2.103 GB, free: 237.9 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/3.104, allocations: 2.375 kB / 2.103 GB, free: 237.9 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/3.104, allocations: 6.781 kB / 2.103 GB, free: 237.9 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/3.104, allocations: 43.5 kB / 2.103 GB, free: 237.9 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008681/3.112, allocations: 5.115 MB / 2.108 GB, free: 234.7 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/3.113, allocations: 0.5255 MB / 2.108 GB, free: 234.5 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/3.114, allocations: 306 kB / 2.109 GB, free: 234.4 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/3.114, allocations: 0.5059 MB / 2.109 GB, free: 233.8 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/3.115, allocations: 394.5 kB / 2.11 GB, free: 233.6 MB / 1.12 GB Notification: Performance of pre-optimization done (n=62): time 4.028e-06/3.115, allocations: 3.844 kB / 2.11 GB, free: 233.6 MB / 1.12 GB Notification: Performance of matching and sorting (n=64): time 0.004989/3.12, allocations: 1.922 MB / 2.111 GB, free: 232.4 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/3.12, allocations: 116.2 kB / 2.112 GB, free: 232.3 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/3.123, allocations: 2.26 MB / 2.114 GB, free: 231.3 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 8.752e-05/3.123, allocations: 31.33 kB / 2.114 GB, free: 231.2 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/3.124, allocations: 0.5266 MB / 2.114 GB, free: 230.8 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/3.124, allocations: 198.5 kB / 2.115 GB, free: 230.6 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/3.124, allocations: 2.719 kB / 2.115 GB, free: 230.6 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 6.978e-05/3.124, allocations: 335.2 kB / 2.115 GB, free: 230.3 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/3.124, allocations: 252.8 kB / 2.115 GB, free: 230.2 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/3.125, allocations: 467.8 kB / 2.116 GB, free: 229.8 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/3.125, allocations: 336.3 kB / 2.116 GB, free: 229.7 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/3.125, allocations: 0 / 2.116 GB, free: 229.7 MB / 1.12 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001506/3.127, allocations: 0.9493 MB / 2.117 GB, free: 229.2 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/3.127, allocations: 1.575 MB / 2.118 GB, free: 227.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/3.127, allocations: 3.312 kB / 2.118 GB, free: 227.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004916/3.128, allocations: 135.8 kB / 2.118 GB, free: 227.4 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/3.128, allocations: 121 kB / 2.119 GB, free: 227.4 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/3.13, allocations: 2.149 MB / 2.121 GB, free: 225.4 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/3.131, allocations: 79.52 kB / 2.121 GB, free: 225.3 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.038e-05/3.131, allocations: 44.86 kB / 2.121 GB, free: 225.3 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/3.131, allocations: 3.219 kB / 2.121 GB, free: 225.3 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001257/3.132, allocations: 0.7404 MB / 2.121 GB, free: 225 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/3.132, allocations: 5.844 kB / 2.121 GB, free: 225 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/3.132, allocations: 103.4 kB / 2.122 GB, free: 224.9 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/3.133, allocations: 120.8 kB / 2.122 GB, free: 224.9 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/3.134, allocations: 2.169 MB / 2.124 GB, free: 222.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/3.135, allocations: 60.88 kB / 2.124 GB, free: 222.8 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/3.135, allocations: 37.48 kB / 2.124 GB, free: 222.8 MB / 1.12 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.0002309/3.135, allocations: 190 kB / 2.124 GB, free: 222.6 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/3.136, allocations: 190.2 kB / 2.124 GB, free: 222.5 MB / 1.12 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.001791/3.138, allocations: 1.088 MB / 2.125 GB, free: 222 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.