Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.00186/0.00186, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6384/0.6384, allocations: 95.63 MB / 366 MB, free: 10.32 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009251/0.0009252, allocations: 15.98 kB / 446.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4402, allocations: 70.35 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.6634/1.104, allocations: 190.8 MB / 0.6914 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007614/1.111, allocations: 2.978 MB / 0.6943 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/1.113, allocations: 23.16 kB / 0.6944 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/1.114, allocations: 320.7 kB / 0.6947 GB, free: 14.46 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004298/1.118, allocations: 1.162 MB / 0.6958 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/1.122, allocations: 1.147 MB / 0.6969 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003646/1.126, allocations: 2.622 MB / 0.6995 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/1.127, allocations: 0.5562 MB / 0.7 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/1.129, allocations: 0.711 MB / 0.7007 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/1.13, allocations: 0.7097 MB / 0.7014 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/1.13, allocations: 38.47 kB / 0.7014 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/1.134, allocations: 1.328 MB / 0.7027 GB, free: 11.49 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/Sensors/MassFraction.mo:15:3-17:103:writable] Error: Internal error NFScalarize.scalarizeVariable failed on protected Real[1] senMasFra2.XiVec(nominal = {0.1}, max = {1.0}, min = {0.0}, unit = {"kg/kg"}, quantity = {}) Notification: Performance of FrontEnd: time 0.0001393/1.134, allocations: 63.23 kB / 0.7028 GB, free: 11.46 MB / 0.4981 GB