Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001077/0.001077, allocations: 186.6 kB / 17.35 MB, free: 5.602 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.128/1.128, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.202/1.202, allocations: 251.7 MB / 0.51 GB, free: 388 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.51e-05, allocations: 5.797 kB / 0.7264 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001167/0.00119, allocations: 0.6186 MB / 0.727 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.002829, allocations: 1.418 MB / 0.7284 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.002864, allocations: 0 / 0.7284 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.345e-05/0.002916, allocations: 7.938 kB / 0.7284 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.262e-05/0.002953, allocations: 0 / 0.7284 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.003495, allocations: 187 kB / 0.7286 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003608, allocations: 51.95 kB / 0.7287 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.003652, allocations: 7.938 kB / 0.7287 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.00369, allocations: 23.91 kB / 0.7287 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.003739, allocations: 19.97 kB / 0.7287 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003756, allocations: 4 kB / 0.7287 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.004014, allocations: 199.7 kB / 0.7289 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of combineBinaries: time 6.227e-05/0.004085, allocations: 59.5 kB / 0.729 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 1.568e-05/0.004107, allocations: 31.56 kB / 0.729 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.004128, allocations: 4 kB / 0.729 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.013e-06/0.004139, allocations: 3.938 kB / 0.729 GB, free: 2.035 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 (1) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0003171/0.004461, allocations: 300.6 kB / 0.7293 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001102/0.004577, allocations: 62.75 kB / 0.7293 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001598/0.004744, allocations: 184.2 kB / 0.7295 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simplify1: time 1.7e-05/0.004769, allocations: 15.98 kB / 0.7295 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of Alias: time 5.356e-05/0.004827, allocations: 60.56 kB / 0.7296 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simplify2: time 7.924e-06/0.004839, allocations: 7.984 kB / 0.7296 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of Events: time 3.299e-05/0.004877, allocations: 19.94 kB / 0.7296 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of Detect States: time 8.426e-05/0.004966, allocations: 72.19 kB / 0.7297 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of Partitioning: time 6.005e-05/0.005034, allocations: 44.06 kB / 0.7297 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0001977/0.005237, allocations: 140 kB / 0.7299 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001418/0.005387, allocations: 176.3 kB / 0.73 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of Inline: time 0.0002267/0.005619, allocations: 272.3 kB / 0.7303 GB, free: 464 kB / 0.5606 GB Notification: Performance of Partitioning: time 1.324e-05/0.00564, allocations: 16.06 kB / 0.7303 GB, free: 440 kB / 0.5606 GB Notification: Performance of Cleanup: time 1.75e-05/0.005663, allocations: 19.98 kB / 0.7303 GB, free: 420 kB / 0.5606 GB Notification: Performance of Causalize: time 0.0003949/0.006062, allocations: 392.6 kB / 0.7307 GB, free: 28 kB / 0.5606 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (4) ($RES_SIM_1) [----] x := (1.2 * time * (xd[4] - xd[1]) + xd[1]) - 0.5; [----] i := 1; [----] for j in 1:3 loop [----] if x > xd[j] then [----] i := j; [----] end if; [----] end for; [----] y := $FUN_1; [----] yMonotone := $FUN_2; Error: Internal error NBInitialization.main failed to apply modules!