Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001495/0.001495, allocations: 103.8 kB / 16.38 MB, free: 6.492 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.001314/0.001314, allocations: 192.7 kB / 17.31 MB, free: 5.809 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.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.435e-05, allocations: 5.938 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00254/0.002582, allocations: 1.434 MB / 0.6743 GB, free: 4.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003852, allocations: 0.8277 MB / 0.6751 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.003897, allocations: 0 / 0.6751 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.003972, allocations: 15.86 kB / 0.6751 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.004019, allocations: 0 / 0.6751 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.004598, allocations: 167.6 kB / 0.6753 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.004712, allocations: 55.89 kB / 0.6753 GB, free: 3.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.004806, allocations: 11.94 kB / 0.6753 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.791e-05/0.00485, allocations: 15.98 kB / 0.6753 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.004901, allocations: 19.92 kB / 0.6754 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.004921, allocations: 4 kB / 0.6754 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.00519, allocations: 207.7 kB / 0.6756 GB, free: 3.086 MB / 0.545 GB Notification: Performance of combineBinaries: time 5.564e-05/0.005255, allocations: 47.52 kB / 0.6756 GB, free: 3.039 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.767e-05/0.005278, allocations: 27.56 kB / 0.6756 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.005301, allocations: 0 / 0.6756 GB, free: 3.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.151e-05/0.005316, allocations: 0 / 0.6756 GB, free: 3.012 MB / 0.545 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.0003616/0.005685, allocations: 312.5 kB / 0.6759 GB, free: 2.605 MB / 0.545 GB Notification: Performance of FunctionAlias: time 8.62e-05/0.005777, allocations: 39.86 kB / 0.676 GB, free: 2.566 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001453/0.005929, allocations: 168.2 kB / 0.6761 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simplify1: time 1.659e-05/0.005953, allocations: 4 kB / 0.6761 GB, free: 2.371 MB / 0.545 GB Notification: Performance of Alias: time 0.0002263/0.006184, allocations: 132.9 kB / 0.6763 GB, free: 2.195 MB / 0.545 GB Notification: Performance of simplify2: time 7.895e-06/0.0062, allocations: 3.984 kB / 0.6763 GB, free: 2.191 MB / 0.545 GB Notification: Performance of Events: time 5.4e-05/0.006259, allocations: 31.92 kB / 0.6763 GB, free: 2.16 MB / 0.545 GB Notification: Performance of Detect States: time 8.237e-05/0.006347, allocations: 70.64 kB / 0.6764 GB, free: 2.078 MB / 0.545 GB Notification: Performance of Partitioning: time 5.917e-05/0.006413, allocations: 40.06 kB / 0.6764 GB, free: 2.031 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001627/0.006582, allocations: 148 kB / 0.6765 GB, free: 1.879 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001283/0.006719, allocations: 156.4 kB / 0.6767 GB, free: 1.699 MB / 0.545 GB Notification: Performance of Inline: time 0.0001959/0.006921, allocations: 240.4 kB / 0.6769 GB, free: 1.43 MB / 0.545 GB Notification: Performance of Partitioning: time 1.355e-05/0.006941, allocations: 8.125 kB / 0.6769 GB, free: 1.414 MB / 0.545 GB Notification: Performance of Cleanup: time 1.631e-05/0.006962, allocations: 15.94 kB / 0.6769 GB, free: 1.398 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003343/0.007301, allocations: 272.5 kB / 0.6772 GB, free: 1.125 MB / 0.545 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!