Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 1.689e-05/1.689e-05, allocations: 5.125 kB / 0.5923 GB, free: 18.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001206/0.00123, allocations: 0.585 MB / 0.5928 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.002697, allocations: 1.429 MB / 0.5942 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.735e-05/0.002735, allocations: 0 / 0.5942 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.293e-05/0.002796, allocations: 1.938 kB / 0.5942 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.002837, allocations: 8.344 kB / 0.5943 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.003399, allocations: 172.6 kB / 0.5944 GB, free: 16.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.003513, allocations: 55.95 kB / 0.5945 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.003554, allocations: 4 kB / 0.5945 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.003594, allocations: 23.91 kB / 0.5945 GB, free: 16.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.003645, allocations: 23.97 kB / 0.5945 GB, free: 16.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.003663, allocations: 4 kB / 0.5945 GB, free: 16.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.003911, allocations: 203.7 kB / 0.5947 GB, free: 16.38 MB / 446.1 MB Notification: Performance of combineBinaries: time 5.628e-05/0.003975, allocations: 63.34 kB / 0.5948 GB, free: 16.32 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.184e-05/0.003992, allocations: 23.66 kB / 0.5948 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.004018, allocations: 0 / 0.5948 GB, free: 16.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.305e-06/0.00403, allocations: 0 / 0.5948 GB, free: 16.29 MB / 446.1 MB 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.0002814/0.004315, allocations: 300.5 kB / 0.5951 GB, free: 15.9 MB / 446.1 MB Notification: Performance of FunctionAlias: time 9.422e-05/0.004415, allocations: 64.7 kB / 0.5951 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001288/0.00455, allocations: 196.2 kB / 0.5953 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simplify1: time 1.546e-05/0.004572, allocations: 7.984 kB / 0.5953 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Alias: time 4.308e-05/0.004619, allocations: 64.62 kB / 0.5954 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simplify2: time 5.952e-06/0.00463, allocations: 3.984 kB / 0.5954 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Events: time 3.471e-05/0.004669, allocations: 19.98 kB / 0.5954 GB, free: 15.49 MB / 446.1 MB Notification: Performance of Detect States: time 8.677e-05/0.004761, allocations: 72.08 kB / 0.5955 GB, free: 15.4 MB / 446.1 MB Notification: Performance of Partitioning: time 5.355e-05/0.004821, allocations: 44.12 kB / 0.5955 GB, free: 15.35 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001912/0.005018, allocations: 136 kB / 0.5957 GB, free: 15.21 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001081/0.005135, allocations: 184.3 kB / 0.5958 GB, free: 15 MB / 446.1 MB Notification: Performance of Inline: time 0.0001688/0.005309, allocations: 272.2 kB / 0.5961 GB, free: 14.7 MB / 446.1 MB Notification: Performance of Partitioning: time 1.193e-05/0.005327, allocations: 16.36 kB / 0.5961 GB, free: 14.68 MB / 446.1 MB Notification: Performance of Cleanup: time 1.538e-05/0.005347, allocations: 15.92 kB / 0.5961 GB, free: 14.66 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003332/0.005684, allocations: 397.9 kB / 0.5965 GB, free: 14.27 MB / 446.1 MB 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!