Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 108.7 kB / 16.42 MB, free: 6.484 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.0009724/0.0009724, allocations: 190 kB / 17.36 MB, free: 5.703 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.581/1.581, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.327/1.327, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.583e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006036/0.006069, allocations: 4.325 MB / 0.7306 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7536/0.7597, allocations: 150.3 MB / 0.8774 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.7611, allocations: 19.88 kB / 0.8774 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.7623, allocations: 169.4 kB / 0.8776 GB, free: 2.695 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.002797/0.7651, allocations: 462.3 kB / 0.878 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.7681, allocations: 0.8111 MB / 0.8788 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002348/0.7704, allocations: 1.217 MB / 0.88 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.772, allocations: 0.7202 MB / 0.8807 GB, free: 15.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.773, allocations: 450.3 kB / 0.8811 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009545/0.774, allocations: 461.8 kB / 0.8816 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.7743, allocations: 100 kB / 0.8817 GB, free: 14.53 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.7754, allocations: 420.9 kB / 0.8821 GB, free: 14.12 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001098/0.7765, allocations: 1.548 MB / 0.8836 GB, free: 12.56 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0005883/0.7771, allocations: 0.979 MB / 0.8845 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.7774, allocations: 171.4 kB / 0.8847 GB, free: 11.4 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0003122/0.7777, allocations: 47.62 kB / 0.8847 GB, free: 11.35 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: 233 (206) * Number of variables: 233 (206) Notification: Performance of Bindings: time 0.003903/0.7816, allocations: 4.513 MB / 0.8891 GB, free: 6.68 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0006425/0.7822, allocations: 0.5328 MB / 0.8897 GB, free: 6.164 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002541/0.7848, allocations: 2.639 MB / 0.8922 GB, free: 3.48 MB / 0.67 GB Notification: Performance of simplify1: time 0.0002345/0.785, allocations: 203.7 kB / 0.8924 GB, free: 3.281 MB / 0.67 GB Notification: Performance of Alias: time 0.005831/0.7909, allocations: 5.07 MB / 0.8974 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of simplify2: time 0.0002119/0.7911, allocations: 119.9 kB / 0.8975 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of Events: time 0.0004123/0.7915, allocations: 283.8 kB / 0.8978 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of Detect States: time 0.0005413/0.7921, allocations: 435.2 kB / 0.8982 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.000701/0.7928, allocations: 0.6073 MB / 0.8988 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of Causalize: time 0.00344/0.7963, allocations: 3.31 MB / 0.902 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001364/0.7976, allocations: 1.279 MB / 0.9033 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of Inline: time 0.003218/0.8009, allocations: 2.96 MB / 0.9062 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001703/0.801, allocations: 139.7 kB / 0.9063 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001271/0.8012, allocations: 115.8 kB / 0.9064 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of Causalize: time 0.005483/0.8067, allocations: 5.555 MB / 0.9118 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of Tearing: time 0.000393/0.8071, allocations: 338 kB / 0.9121 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of Initialization: time 5.71e-07/0.8071, allocations: 0 / 0.9121 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of Tearing: time 0.0002935/0.8074, allocations: 338.1 kB / 0.9125 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of Categorize: time 3.365e-05/0.8074, allocations: 4 kB / 0.9125 GB, free: 14.28 MB / 0.7012 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min