Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 106.5 kB / 16.38 MB, free: 5.969 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.001464/0.001464, allocations: 192.6 kB / 17.32 MB, free: 5.582 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7811/0.7811, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.177e-05, allocations: 2.281 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002828/0.002879, allocations: 1.413 MB / 0.5045 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004254, allocations: 0.7878 MB / 0.5053 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.004298, allocations: 0 / 0.5053 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.515e-05/0.00437, allocations: 0 / 0.5053 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.004425, allocations: 3.938 kB / 0.5053 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.005071, allocations: 183.6 kB / 0.5055 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.005212, allocations: 47.91 kB / 0.5055 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.005313, allocations: 11.94 kB / 0.5055 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.00536, allocations: 23.92 kB / 0.5056 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.005417, allocations: 11.98 kB / 0.5056 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.005437, allocations: 4 kB / 0.5056 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.005785, allocations: 207.7 kB / 0.5058 GB, free: 8.23 MB / 430.1 MB Notification: Performance of combineBinaries: time 7.451e-05/0.005869, allocations: 51.42 kB / 0.5058 GB, free: 8.18 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 2.11e-05/0.005896, allocations: 27.56 kB / 0.5059 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.005931, allocations: 8 kB / 0.5059 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.461e-05/0.00595, allocations: 0 / 0.5059 GB, free: 8.145 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 (3) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0004956/0.00645, allocations: 303 kB / 0.5062 GB, free: 7.75 MB / 430.1 MB Notification: Performance of FunctionAlias: time 9.255e-05/0.006549, allocations: 43.86 kB / 0.5062 GB, free: 7.707 MB / 430.1 MB Notification: Performance of Early Inline: time 0.00018/0.006736, allocations: 160.4 kB / 0.5063 GB, free: 7.523 MB / 430.1 MB Notification: Performance of simplify1: time 2.288e-05/0.006766, allocations: 7.984 kB / 0.5064 GB, free: 7.516 MB / 430.1 MB Notification: Performance of Alias: time 0.0003192/0.007091, allocations: 148.8 kB / 0.5065 GB, free: 7.324 MB / 430.1 MB Notification: Performance of simplify2: time 1.086e-05/0.007111, allocations: 7.984 kB / 0.5065 GB, free: 7.316 MB / 430.1 MB Notification: Performance of Events: time 6.299e-05/0.007179, allocations: 27.92 kB / 0.5065 GB, free: 7.289 MB / 430.1 MB Notification: Performance of Detect States: time 9.874e-05/0.007284, allocations: 56.23 kB / 0.5066 GB, free: 7.219 MB / 430.1 MB Notification: Performance of Partitioning: time 8.098e-05/0.007373, allocations: 44.09 kB / 0.5066 GB, free: 7.168 MB / 430.1 MB Notification: Performance of Causalize: time 0.0002068/0.007587, allocations: 136.1 kB / 0.5068 GB, free: 7.027 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001765/0.007774, allocations: 168.2 kB / 0.5069 GB, free: 6.836 MB / 430.1 MB Notification: Performance of Inline: time 0.0002655/0.008046, allocations: 244.4 kB / 0.5071 GB, free: 6.562 MB / 430.1 MB Notification: Performance of Partitioning: time 2.023e-05/0.008074, allocations: 16.12 kB / 0.5072 GB, free: 6.539 MB / 430.1 MB Notification: Performance of Cleanup: time 2.57e-05/0.008105, allocations: 15.92 kB / 0.5072 GB, free: 6.523 MB / 430.1 MB Notification: Performance of Causalize: time 0.0003823/0.008493, allocations: 260.4 kB / 0.5074 GB, free: 6.262 MB / 430.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (2) ($RES_SIM_1) [----] cubSpl.i := 1; [----] for j in 1:2 loop [----] if clock.y > cubSpl.xd[j] then [----] cubSpl.i := j; [----] end if; [----] end for; [----] cubSpl.y := $FUN_1; Error: Internal error NBInitialization.main failed to apply modules!