Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00124/0.00124, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001173/0.001173, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2539/0.2539, allocations: 54.96 MB / 325.5 MB, free: 4.855 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/1.937e-05, allocations: 5.375 kB / 456.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002153/0.002182, allocations: 1.401 MB / 458.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.003439, allocations: 0.8045 MB / 459 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.00348, allocations: 0 / 459 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.338e-05/0.003551, allocations: 0 / 459 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.003601, allocations: 7.922 kB / 459 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.004242, allocations: 171.5 kB / 459.2 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.004367, allocations: 55.89 kB / 459.3 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.5e-05/0.004449, allocations: 8 kB / 459.3 MB, free: 232 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.004494, allocations: 19.92 kB / 459.3 MB, free: 212 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.004544, allocations: 15.92 kB / 459.3 MB, free: 196 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.004563, allocations: 4 kB / 459.3 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.004868, allocations: 211.8 kB / 459.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of combineBinaries: time 5.684e-05/0.004935, allocations: 43.58 kB / 459.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.55e-05/0.004966, allocations: 27.56 kB / 459.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.004991, allocations: 8 kB / 459.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.056e-05/0.005006, allocations: 0 / 459.6 MB, free: 15.9 MB / 350.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.0003808/0.005391, allocations: 300.5 kB / 459.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.458e-05/0.005493, allocations: 45.55 kB / 459.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001623/0.005662, allocations: 156.4 kB / 460.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplify1: time 2.22e-05/0.005694, allocations: 15.92 kB / 460.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Alias: time 0.000286/0.005984, allocations: 140.9 kB / 460.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplify2: time 1.284e-05/0.006007, allocations: 7.984 kB / 460.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of Events: time 6.609e-05/0.006077, allocations: 23.92 kB / 460.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001045/0.006188, allocations: 60.23 kB / 460.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Partitioning: time 7.1e-05/0.006266, allocations: 40.11 kB / 460.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002025/0.006475, allocations: 152 kB / 460.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001457/0.006628, allocations: 160.5 kB / 460.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of Inline: time 0.0002536/0.006889, allocations: 244.8 kB / 460.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Partitioning: time 2.071e-05/0.006916, allocations: 20.11 kB / 460.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Cleanup: time 1.579e-05/0.006937, allocations: 8 kB / 460.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Causalize: time 0.0003499/0.007291, allocations: 271.1 kB / 461.2 MB, free: 14.02 MB / 350.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!