Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001136/0.001136, allocations: 108.5 kB / 16.42 MB, free: 6.512 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.00109/0.00109, allocations: 187.8 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.575e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00213/0.002155, allocations: 1.444 MB / 0.7278 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.003514, allocations: 0.8327 MB / 0.7286 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.003554, allocations: 0 / 0.7286 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.225e-05/0.003623, allocations: 3.938 kB / 0.7286 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.00368, allocations: 3.984 kB / 0.7286 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.004278, allocations: 179.4 kB / 0.7288 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.00442, allocations: 47.97 kB / 0.7288 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.854e-05/0.004505, allocations: 7.984 kB / 0.7288 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.004554, allocations: 23.92 kB / 0.7289 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.004605, allocations: 15.92 kB / 0.7289 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.004623, allocations: 4 kB / 0.7289 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.004908, allocations: 199.7 kB / 0.7291 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of combineBinaries: time 6.848e-05/0.004991, allocations: 55.56 kB / 0.7291 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 1.767e-05/0.005014, allocations: 31.5 kB / 0.7292 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.005038, allocations: 4 kB / 0.7292 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.338e-06/0.005051, allocations: 0 / 0.7292 GB, free: 1.852 MB / 0.5606 GB 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.0003991/0.005454, allocations: 300.5 kB / 0.7294 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 8.968e-05/0.00555, allocations: 44.64 kB / 0.7295 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001544/0.00571, allocations: 164.3 kB / 0.7296 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of simplify1: time 1.772e-05/0.005735, allocations: 3.984 kB / 0.7297 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of Alias: time 0.0002692/0.006008, allocations: 140.9 kB / 0.7298 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simplify2: time 9.989e-06/0.006026, allocations: 7.984 kB / 0.7298 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of Events: time 6.448e-05/0.006095, allocations: 35.83 kB / 0.7298 GB, free: 1 MB / 0.5606 GB Notification: Performance of Detect States: time 8.698e-05/0.006188, allocations: 63.88 kB / 0.7299 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of Partitioning: time 5.784e-05/0.006252, allocations: 36.11 kB / 0.7299 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0001781/0.006435, allocations: 156 kB / 0.7301 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001364/0.00658, allocations: 156.3 kB / 0.7302 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of Inline: time 0.0002297/0.006815, allocations: 232.3 kB / 0.7304 GB, free: 288 kB / 0.5606 GB Notification: Performance of Partitioning: time 1.749e-05/0.006845, allocations: 20.33 kB / 0.7305 GB, free: 260 kB / 0.5606 GB Notification: Performance of Cleanup: time 1.442e-05/0.006864, allocations: 15.94 kB / 0.7305 GB, free: 244 kB / 0.5606 GB Notification: Performance of Causalize: time 0.0003338/0.007202, allocations: 276.7 kB / 0.7307 GB, free: 15.96 MB / 0.5762 GB 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!