Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",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.177/2.177, allocations: 390.4 MB / 397.7 MB, free: 1.922 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 181.4 kB / 490.8 MB, free: 7.516 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 221.3 MB / 0.7863 GB, free: 244 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 92.67 kB / 0.9264 GB, free: 0.6289 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.7172/0.7184, allocations: 149.1 MB / 1.072 GB, free: 137.4 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/1.061, allocations: 143 MB / 1.212 GB, free: 10.5 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/2.34, allocations: 459.3 MB / 1.66 GB, free: 6.164 MB / 1.128 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/2.34, allocations: 87.95 kB / 1.66 GB, free: 6.078 MB / 1.128 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/Movers/BaseClasses/Euler/getPeak.mo:9:3-10:49:writable] Warning: Component peak in env: Buildings.Fluid.Movers.BaseClasses.Euler.getPeak has the same name as its type Buildings.Fluid.Movers.BaseClasses.Euler.peak. This is forbidden by Modelica specification and may lead to lookup errors. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/Movers/Data/Generic.mo:90:3-92:29:writable] Error: Class Buildings.Fluid.Movers.BaseClasses.Euler.getPeak not found in scope Buildings.Fluid.Movers.Data.Generic (looking for a function or record). Error: Error occurred while flattening model Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u Error: Internal error SimCode: The model Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u could not be translated to FMU