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: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.205/2.205, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001149/0.001149, allocations: 180.8 kB / 490.8 MB, free: 1.98 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.607/1.607, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.00107, allocations: 84.67 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7632/0.7643, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/1.092, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/2.127, allocations: 424 MB / 1.626 GB, free: 7.871 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/2.128, allocations: 91.88 kB / 1.626 GB, free: 7.824 MB / 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.664/3.792, allocations: 484.7 MB / 2.099 GB, free: 101.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/3.792, allocations: 8.656 kB / 2.099 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/3.792, allocations: 253 kB / 2.099 GB, free: 101.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/3.796, allocations: 2.079 MB / 2.101 GB, free: 99.39 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/3.796, allocations: 32 kB / 2.101 GB, free: 99.36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/3.796, allocations: 59.98 kB / 2.101 GB, free: 99.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009561/3.797, allocations: 0.6522 MB / 2.102 GB, free: 98.65 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/3.798, allocations: 0.8787 MB / 2.103 GB, free: 97.73 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/3.798, allocations: 3.938 kB / 2.103 GB, free: 97.73 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/3.798, allocations: 4 kB / 2.103 GB, free: 97.73 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/3.798, allocations: 41.98 kB / 2.103 GB, free: 97.69 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005189/3.803, allocations: 5.106 MB / 2.108 GB, free: 92.34 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008296/3.804, allocations: 0.5302 MB / 2.109 GB, free: 91.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/3.804, allocations: 313.8 kB / 2.109 GB, free: 91.49 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/3.805, allocations: 0.503 MB / 2.109 GB, free: 90.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/3.805, allocations: 395.8 kB / 2.11 GB, free: 90.47 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 2.194e-06/3.805, allocations: 3.938 kB / 2.11 GB, free: 90.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.003251/3.808, allocations: 1.913 MB / 2.112 GB, free: 88.48 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/3.808, allocations: 115.2 kB / 2.112 GB, free: 88.35 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/3.811, allocations: 2.266 MB / 2.114 GB, free: 86.05 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/3.811, allocations: 29.7 kB / 2.114 GB, free: 86.01 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/3.811, allocations: 0.5234 MB / 2.114 GB, free: 85.48 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/3.811, allocations: 201.1 kB / 2.115 GB, free: 85.28 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/3.811, allocations: 4 kB / 2.115 GB, free: 85.27 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.76e-05/3.811, allocations: 333.9 kB / 2.115 GB, free: 84.94 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/3.812, allocations: 249.4 kB / 2.115 GB, free: 84.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/3.812, allocations: 471.2 kB / 2.116 GB, free: 84.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/3.813, allocations: 335 kB / 2.116 GB, free: 83.83 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/3.813, allocations: 0 / 2.116 GB, free: 83.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001345/3.814, allocations: 0.9519 MB / 2.117 GB, free: 82.86 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/3.814, allocations: 1.571 MB / 2.118 GB, free: 81.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/3.814, allocations: 4 kB / 2.118 GB, free: 81.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004275/3.815, allocations: 137.6 kB / 2.119 GB, free: 80.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/3.815, allocations: 119.8 kB / 2.119 GB, free: 80.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/3.816, allocations: 2.155 MB / 2.121 GB, free: 78.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/3.817, allocations: 83.81 kB / 2.121 GB, free: 78.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/3.817, allocations: 40.05 kB / 2.121 GB, free: 78.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-06/3.817, allocations: 4 kB / 2.121 GB, free: 78.45 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/3.818, allocations: 0.734 MB / 2.122 GB, free: 77.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/3.818, allocations: 7.984 kB / 2.122 GB, free: 77.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/3.819, allocations: 97.67 kB / 2.122 GB, free: 77.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/3.819, allocations: 128.1 kB / 2.122 GB, free: 77.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/3.82, allocations: 2.167 MB / 2.124 GB, free: 75.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/3.821, allocations: 63.78 kB / 2.124 GB, free: 75.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/3.821, allocations: 32.06 kB / 2.124 GB, free: 75.07 MB / 1.151 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.0001633/3.821, allocations: 205.5 kB / 2.124 GB, free: 74.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/3.821, allocations: 189.6 kB / 2.124 GB, free: 74.66 MB / 1.151 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.001378/3.823, allocations: 1.076 MB / 2.125 GB, free: 73.59 MB / 1.151 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