Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001087/0.001087, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.00106/0.00106, allocations: 195.2 kB / 17.31 MB, free: 5.91 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.109/1.109, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.519/1.519, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.851e-05/1.86e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001435/0.001467, allocations: 0.6325 MB / 0.6735 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.002999, allocations: 1.424 MB / 0.6749 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.00303, allocations: 0 / 0.6749 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.003075, allocations: 0 / 0.6749 GB, free: 3.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.036e-05/0.003111, allocations: 11.94 kB / 0.6749 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.003612, allocations: 174.7 kB / 0.675 GB, free: 3.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.003713, allocations: 55.94 kB / 0.6751 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.178e-05/0.003751, allocations: 4 kB / 0.6751 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.003788, allocations: 19.98 kB / 0.6751 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.003837, allocations: 23.91 kB / 0.6751 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.003854, allocations: 4 kB / 0.6751 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.00411, allocations: 203.7 kB / 0.6753 GB, free: 3.375 MB / 0.545 GB Notification: Performance of combineBinaries: time 5.759e-05/0.004177, allocations: 63.42 kB / 0.6754 GB, free: 3.312 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.239e-05/0.004205, allocations: 23.56 kB / 0.6754 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.004225, allocations: 4 kB / 0.6754 GB, free: 3.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.304e-06/0.004236, allocations: 0 / 0.6754 GB, free: 3.285 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 (1) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0003168/0.004557, allocations: 288.6 kB / 0.6757 GB, free: 2.902 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0001133/0.004677, allocations: 82.48 kB / 0.6758 GB, free: 2.828 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001649/0.004848, allocations: 188.3 kB / 0.6759 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simplify1: time 1.62e-05/0.004871, allocations: 7.984 kB / 0.676 GB, free: 2.609 MB / 0.545 GB Notification: Performance of Alias: time 5.108e-05/0.004928, allocations: 56.62 kB / 0.676 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simplify2: time 9.798e-06/0.004942, allocations: 19.91 kB / 0.676 GB, free: 2.496 MB / 0.545 GB Notification: Performance of Events: time 3.806e-05/0.004986, allocations: 27.88 kB / 0.6761 GB, free: 2.469 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001733/0.005164, allocations: 56.22 kB / 0.6761 GB, free: 2.398 MB / 0.545 GB Notification: Performance of Partitioning: time 6.029e-05/0.005231, allocations: 40.11 kB / 0.6761 GB, free: 2.352 MB / 0.545 GB Notification: Performance of Causalize: time 0.0001853/0.005423, allocations: 140 kB / 0.6763 GB, free: 2.207 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001487/0.00558, allocations: 176.3 kB / 0.6764 GB, free: 2.008 MB / 0.545 GB Notification: Performance of Inline: time 0.0002291/0.005818, allocations: 284.2 kB / 0.6767 GB, free: 1.695 MB / 0.545 GB Notification: Performance of Partitioning: time 1.469e-05/0.005839, allocations: 16.11 kB / 0.6767 GB, free: 1.672 MB / 0.545 GB Notification: Performance of Cleanup: time 1.543e-05/0.00586, allocations: 19.86 kB / 0.6768 GB, free: 1.652 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003834/0.006247, allocations: 395.6 kB / 0.6771 GB, free: 1.266 MB / 0.545 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!