Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 107.4 kB / 16.42 MB, free: 6.516 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.001102/0.001102, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.589/1.589, 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.332/1.332, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.173e-05, allocations: 6.219 kB / 0.7263 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005936/0.005978, allocations: 4.083 MB / 0.7303 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7593/0.7653, allocations: 150.2 MB / 0.877 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.7664, allocations: 15.94 kB / 0.877 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006203/0.767, allocations: 158.5 kB / 0.8772 GB, free: 3.055 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001556/0.7686, allocations: 423 kB / 0.8776 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.7707, allocations: 0.764 MB / 0.8783 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.7718, allocations: 1.112 MB / 0.8794 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000894/0.7727, allocations: 0.6234 MB / 0.88 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005099/0.7733, allocations: 390.5 kB / 0.8804 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.7737, allocations: 394 kB / 0.8808 GB, free: 15.4 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.7738, allocations: 88 kB / 0.8809 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/0.7745, allocations: 375.2 kB / 0.8812 GB, free: 14.96 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0009353/0.7754, allocations: 1.324 MB / 0.8825 GB, free: 13.62 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0006593/0.7761, allocations: 0.8415 MB / 0.8833 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.7762, allocations: 143.5 kB / 0.8835 GB, free: 12.62 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0001841/0.7764, allocations: 51.62 kB / 0.8835 GB, free: 12.57 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 (166) * Number of variables: 193 (166) Notification: Performance of Bindings: time 0.003449/0.7799, allocations: 3.855 MB / 0.8873 GB, free: 8.57 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0004109/0.7803, allocations: 372.5 kB / 0.8876 GB, free: 8.203 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002093/0.7824, allocations: 2.162 MB / 0.8898 GB, free: 6 MB / 0.67 GB Notification: Performance of simplify1: time 0.000162/0.7826, allocations: 159.8 kB / 0.8899 GB, free: 5.844 MB / 0.67 GB Notification: Performance of Alias: time 0.004586/0.7872, allocations: 4.077 MB / 0.8939 GB, free: 1.434 MB / 0.67 GB Notification: Performance of simplify2: time 0.0001205/0.7873, allocations: 107.9 kB / 0.894 GB, free: 1.328 MB / 0.67 GB Notification: Performance of Events: time 0.0003502/0.7877, allocations: 261.8 kB / 0.8942 GB, free: 1.078 MB / 0.67 GB Notification: Performance of Detect States: time 0.0004787/0.7882, allocations: 410 kB / 0.8946 GB, free: 0.668 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0006203/0.7888, allocations: 0.5579 MB / 0.8952 GB, free: 8 kB / 0.67 GB Notification: Performance of Causalize: time 0.003198/0.792, allocations: 2.955 MB / 0.8981 GB, free: 13 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001228/0.7932, allocations: 1.158 MB / 0.8992 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of Inline: time 0.002852/0.7961, allocations: 2.647 MB / 0.9018 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001459/0.7962, allocations: 131.7 kB / 0.9019 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001051/0.7964, allocations: 103.8 kB / 0.902 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of Causalize: time 0.004944/0.8013, allocations: 4.968 MB / 0.9069 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0003638/0.8017, allocations: 342 kB / 0.9072 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of Initialization: time 6.31e-07/0.8017, allocations: 0 / 0.9072 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0002628/0.802, allocations: 338.2 kB / 0.9075 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of Categorize: time 2.542e-05/0.802, allocations: 7.938 kB / 0.9075 GB, free: 3.324 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min