Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|seg.port_a1.m_flow|seg.TBouCon.port.T|seg.soi.T.1.|seg.soi.T.2.|seg.soi.T.3.|seg.soi.T.4.|seg.soi.T.5.|seg.soi.T.6.|seg.soi.T.7.|seg.soi.T.8.|seg.soi.T.9.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|seg.port_a1.m_flow|seg.TBouCon.port.T|seg.soi.T.1.|seg.soi.T.2.|seg.soi.T.3.|seg.soi.T.4.|seg.soi.T.5.|seg.soi.T.6.|seg.soi.T.7.|seg.soi.T.8.|seg.soi.T.9.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 107.6 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 185.5 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.21/2.21, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.23e-05, allocations: 2.281 kB / 1.055 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.4485/0.4485, allocations: 49.21 MB / 1.103 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.4657, allocations: 14.01 MB / 1.116 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.468, allocations: 67.5 kB / 1.116 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.4699, allocations: 0.885 MB / 1.117 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005692/0.4756, allocations: 2.506 MB / 1.12 GB, free: 8.559 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-109:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.4795, allocations: 1.696 MB / 1.121 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005891/0.4853, allocations: 5.074 MB / 1.126 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.4872, allocations: 1.642 MB / 1.128 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.4904, allocations: 1.866 MB / 1.13 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.4918, allocations: 1.275 MB / 1.131 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.492, allocations: 205.2 kB / 1.131 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.4958, allocations: 2.044 MB / 1.133 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.002401/0.4982, allocations: 3.157 MB / 1.136 GB, free: 100 kB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.001585/0.4998, allocations: 1.971 MB / 1.138 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007059/0.5005, allocations: 356.5 kB / 1.139 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.000608/0.5011, allocations: 50.47 kB / 1.139 GB, free: 14.54 MB / 0.8731 GB Error: Internal error NBackendDAE.lowerIfEquationBody failed for: