Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 113.9 kB / 16.42 MB, free: 6.5 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.00118/0.00118, allocations: 189.9 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.616/1.616, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.384/1.384, allocations: 251.7 MB / 0.51 GB, free: 436 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.32e-05/4.32e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00843/0.008482, allocations: 4.122 MB / 0.7304 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7458/0.7543, allocations: 150.2 MB / 0.8771 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.7555, allocations: 27.81 kB / 0.8771 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.7561, allocations: 162.5 kB / 0.8773 GB, free: 2.98 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.001916/0.758, allocations: 421.9 kB / 0.8777 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.7605, allocations: 0.7676 MB / 0.8784 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.7622, allocations: 1.128 MB / 0.8795 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.7632, allocations: 0.6204 MB / 0.8801 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.764, allocations: 394.5 kB / 0.8805 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005356/0.7646, allocations: 390.1 kB / 0.8809 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.7647, allocations: 84 kB / 0.8809 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.7658, allocations: 376 kB / 0.8813 GB, free: 14.88 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001064/0.7668, allocations: 1.348 MB / 0.8826 GB, free: 13.51 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0005169/0.7674, allocations: 0.8466 MB / 0.8834 GB, free: 12.65 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.7675, allocations: 143.5 kB / 0.8836 GB, free: 12.51 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.000243/0.7678, allocations: 55.56 kB / 0.8836 GB, free: 12.46 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: 196 (169) * Number of variables: 196 (169) Notification: Performance of Bindings: time 0.003536/0.7713, allocations: 3.869 MB / 0.8874 GB, free: 8.441 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0004452/0.7718, allocations: 398 kB / 0.8878 GB, free: 8.055 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002096/0.7739, allocations: 2.17 MB / 0.8899 GB, free: 5.844 MB / 0.67 GB Notification: Performance of simplify1: time 0.0001905/0.7741, allocations: 167.8 kB / 0.8901 GB, free: 5.68 MB / 0.67 GB Notification: Performance of Alias: time 0.004531/0.7786, allocations: 4.078 MB / 0.8941 GB, free: 1.262 MB / 0.67 GB Notification: Performance of simplify2: time 0.0001577/0.7788, allocations: 107.8 kB / 0.8942 GB, free: 1.156 MB / 0.67 GB Notification: Performance of Events: time 0.0003713/0.7792, allocations: 270.7 kB / 0.8944 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of Detect States: time 0.0004726/0.7797, allocations: 394.8 kB / 0.8948 GB, free: 0.5 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0006025/0.7803, allocations: 0.5476 MB / 0.8953 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of Causalize: time 0.002972/0.7833, allocations: 2.924 MB / 0.8982 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001232/0.7845, allocations: 1.142 MB / 0.8993 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of Inline: time 0.00288/0.7874, allocations: 2.627 MB / 0.9019 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001423/0.7875, allocations: 127.7 kB / 0.902 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001251/0.7877, allocations: 99.81 kB / 0.9021 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of Causalize: time 0.004824/0.7925, allocations: 4.906 MB / 0.9069 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0003715/0.7929, allocations: 326.1 kB / 0.9072 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of Initialization: time 1.232e-06/0.7929, allocations: 0 / 0.9072 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0002927/0.7932, allocations: 342.2 kB / 0.9075 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of Categorize: time 2.981e-05/0.7933, allocations: 7.938 kB / 0.9075 GB, free: 3.324 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min