Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 175.8 kB / 326.6 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.368/2.368, allocations: 205 MB / 0.5767 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000787/0.000787, allocations: 90.84 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.676e-05/3.677e-05, allocations: 2.281 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean): time 0.002773/0.002828, allocations: 1.358 MB / 0.7952 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.003751, allocations: 376.5 kB / 0.7955 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.00384, allocations: 2.906 kB / 0.7955 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.00403, allocations: 15.08 kB / 0.7955 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.004224, allocations: 32.67 kB / 0.7956 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.004516, allocations: 69.06 kB / 0.7956 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.004756, allocations: 163.6 kB / 0.7958 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.009364/0.01413, allocations: 14.84 MB / 0.8103 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.01447, allocations: 65.41 kB / 0.8103 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.01466, allocations: 82.52 kB / 0.8104 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.0147, allocations: 5.188 kB / 0.8104 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.991e-05/0.01474, allocations: 8 kB / 0.8104 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.01493, allocations: 115.7 kB / 0.8105 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 7.905e-06/0.01495, allocations: 0 / 0.8105 GB, free: 130.1 MB / 0.6042 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for i Notification: Performance of Bindings: time 0.0004635/0.01542, allocations: 357.5 kB / 0.8109 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of simplify: time 2.481e-05/0.01545, allocations: 13.53 kB / 0.8109 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of RemoveSimpleEquations: time 4.462e-05/0.0155, allocations: 14.06 kB / 0.8109 GB, free: 129.8 MB / 0.6042 GB Error: Internal error NBVariable.getVarPointer failed for i, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.