Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001662, allocations: 105.5 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.001566/0.001566, allocations: 184.8 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.602/1.602, 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.335/1.335, allocations: 251.7 MB / 0.51 GB, free: 396 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.039e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007078/0.007116, allocations: 4.134 MB / 0.7304 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7374/0.7445, allocations: 150.2 MB / 0.8771 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.7457, allocations: 19.88 kB / 0.8771 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.7466, allocations: 166.5 kB / 0.8773 GB, free: 3.008 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.002226/0.7488, allocations: 430.6 kB / 0.8777 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.7512, allocations: 0.7755 MB / 0.8784 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001912/0.7531, allocations: 1.128 MB / 0.8795 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.7543, allocations: 0.6267 MB / 0.8802 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.7551, allocations: 398.6 kB / 0.8805 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.7556, allocations: 398 kB / 0.8809 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.7557, allocations: 88 kB / 0.881 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007749/0.7565, allocations: 375.2 kB / 0.8814 GB, free: 14.87 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0009326/0.7574, allocations: 1.359 MB / 0.8827 GB, free: 13.5 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0004851/0.7579, allocations: 0.8465 MB / 0.8835 GB, free: 12.64 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.7581, allocations: 147.5 kB / 0.8836 GB, free: 12.49 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0002294/0.7583, allocations: 51.62 kB / 0.8837 GB, free: 12.44 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: 198 (171) * Number of variables: 198 (171) Notification: Performance of Bindings: time 0.003741/0.7621, allocations: 3.897 MB / 0.8875 GB, free: 8.395 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0004887/0.7626, allocations: 386.4 kB / 0.8879 GB, free: 8.016 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002291/0.7649, allocations: 2.197 MB / 0.89 GB, free: 5.777 MB / 0.67 GB Notification: Performance of simplify1: time 0.0001696/0.7651, allocations: 167.7 kB / 0.8902 GB, free: 5.613 MB / 0.67 GB Notification: Performance of Alias: time 0.004973/0.7701, allocations: 4.13 MB / 0.8942 GB, free: 1.137 MB / 0.67 GB Notification: Performance of simplify2: time 0.0001317/0.7702, allocations: 107.9 kB / 0.8943 GB, free: 1.031 MB / 0.67 GB Notification: Performance of Events: time 0.0003879/0.7706, allocations: 269.9 kB / 0.8946 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of Detect States: time 0.0004986/0.7711, allocations: 391 kB / 0.8949 GB, free: 384 kB / 0.67 GB Notification: Performance of Partitioning: time 0.0006363/0.7717, allocations: 0.5438 MB / 0.8955 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of Causalize: time 0.003229/0.775, allocations: 2.934 MB / 0.8983 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.00129/0.7763, allocations: 1.143 MB / 0.8995 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of Inline: time 0.002923/0.7792, allocations: 2.634 MB / 0.902 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001529/0.7794, allocations: 131.7 kB / 0.9022 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001078/0.7795, allocations: 99.81 kB / 0.9022 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of Causalize: time 0.004918/0.7844, allocations: 4.886 MB / 0.907 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0004618/0.7849, allocations: 338 kB / 0.9073 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of Initialization: time 3.977e-06/0.7849, allocations: 4 kB / 0.9073 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0003508/0.7853, allocations: 338.2 kB / 0.9077 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of Categorize: time 4.155e-05/0.7853, allocations: 4 kB / 0.9077 GB, free: 3.191 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min