Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [/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 2.113e-05/2.115e-05, allocations: 4.797 kB / 0.5923 GB, free: 18.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001217/0.001247, allocations: 0.555 MB / 0.5928 GB, free: 17.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002287/0.001486, allocations: 39.72 kB / 0.5929 GB, free: 17.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.001516, allocations: 1.5 kB / 0.5929 GB, free: 17.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.001548, allocations: 0 / 0.5929 GB, free: 17.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.001589, allocations: 2.312 kB / 0.5929 GB, free: 17.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.001795, allocations: 11.95 kB / 0.5929 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.377e-05/0.001888, allocations: 4.656 kB / 0.5929 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.00194, allocations: 6.141 kB / 0.5929 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.783e-05/0.001962, allocations: 1.125 kB / 0.5929 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.124e-05/0.001998, allocations: 2 kB / 0.5929 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.002013, allocations: 0 / 0.5929 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.002099, allocations: 28.05 kB / 0.5929 GB, free: 17.89 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.888e-05/0.002144, allocations: 14.3 kB / 0.5929 GB, free: 17.88 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.447e-06/0.002153, allocations: 5 kB / 0.5929 GB, free: 17.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.067e-05/0.002167, allocations: 1.156 kB / 0.5929 GB, free: 17.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.833e-06/0.002178, allocations: 0 / 0.5929 GB, free: 17.88 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: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0002496/0.002431, allocations: 168.4 kB / 0.5931 GB, free: 17.63 MB / 446.1 MB Notification: Performance of FunctionAlias: time 4.673e-05/0.002484, allocations: 11.78 kB / 0.5931 GB, free: 17.62 MB / 446.1 MB Notification: Performance of Early Inline: time 6.009e-05/0.002549, allocations: 62.56 kB / 0.5932 GB, free: 17.55 MB / 446.1 MB Notification: Performance of simplify1: time 4.288e-06/0.002559, allocations: 4.938 kB / 0.5932 GB, free: 17.54 MB / 446.1 MB Notification: Performance of Alias: time 4.259e-05/0.002605, allocations: 59.98 kB / 0.5932 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simplify2: time 1.934e-06/0.002611, allocations: 4 kB / 0.5932 GB, free: 17.45 MB / 446.1 MB Notification: Performance of Events: time 4.37e-05/0.002659, allocations: 10.17 kB / 0.5932 GB, free: 17.44 MB / 446.1 MB Notification: Performance of Detect States: time 5.361e-05/0.002717, allocations: 31.73 kB / 0.5933 GB, free: 17.4 MB / 446.1 MB Notification: Performance of Partitioning: time 5.109e-05/0.002774, allocations: 24.08 kB / 0.5933 GB, free: 17.38 MB / 446.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) Real y slice: {} (1|1) Unmatched Equations *************************** [ALGO] (1) ($RES_SIM_0) [----] y := $FUN_1; [----] assert(y - 286.0 < 1e-4, "Error. Function should have returned 286.", AssertionLevel.error); slice: {}