Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 105.1 kB / 16.42 MB, free: 6.512 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.001855/0.001855, allocations: 192.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.632/1.632, 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.34/1.34, allocations: 251.7 MB / 0.51 GB, free: 436 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.363e-05, allocations: 5.938 kB / 0.7264 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005765/0.005799, allocations: 4.196 MB / 0.7305 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7318/0.7376, allocations: 150.3 MB / 0.8772 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7388, allocations: 19.88 kB / 0.8772 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.7394, allocations: 166 kB / 0.8774 GB, free: 2.934 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.001574/0.741, allocations: 434.1 kB / 0.8778 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.743, allocations: 0.791 MB / 0.8786 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.7441, allocations: 1.147 MB / 0.8797 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009417/0.7451, allocations: 0.693 MB / 0.8804 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.7456, allocations: 422.3 kB / 0.8808 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.7461, allocations: 429.9 kB / 0.8812 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.7462, allocations: 96 kB / 0.8813 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.7469, allocations: 407.1 kB / 0.8817 GB, free: 14.59 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001/0.7479, allocations: 1.463 MB / 0.8831 GB, free: 13.11 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0005467/0.7485, allocations: 0.9294 MB / 0.884 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.7486, allocations: 159.4 kB / 0.8842 GB, free: 12.01 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0001878/0.7488, allocations: 51.62 kB / 0.8842 GB, free: 11.96 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: 222 (195) * Number of variables: 222 (195) Notification: Performance of Bindings: time 0.003544/0.7524, allocations: 4.254 MB / 0.8884 GB, free: 7.551 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0004219/0.7528, allocations: 415.9 kB / 0.8888 GB, free: 7.148 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002234/0.7551, allocations: 2.443 MB / 0.8911 GB, free: 4.664 MB / 0.67 GB Notification: Performance of simplify1: time 0.0002039/0.7553, allocations: 183.8 kB / 0.8913 GB, free: 4.484 MB / 0.67 GB Notification: Performance of Alias: time 0.005087/0.7604, allocations: 4.618 MB / 0.8958 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of simplify2: time 0.0001291/0.7605, allocations: 115.9 kB / 0.8959 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of Events: time 0.0003971/0.7609, allocations: 291.7 kB / 0.8962 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of Detect States: time 0.000491/0.7614, allocations: 419.4 kB / 0.8966 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0006073/0.762, allocations: 0.582 MB / 0.8972 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of Causalize: time 0.003296/0.7653, allocations: 3.12 MB / 0.9002 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001256/0.7666, allocations: 1.208 MB / 0.9014 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of Inline: time 0.003028/0.7696, allocations: 2.814 MB / 0.9042 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001633/0.7698, allocations: 139.6 kB / 0.9043 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001138/0.7699, allocations: 107.8 kB / 0.9044 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of Causalize: time 0.004982/0.7749, allocations: 5.256 MB / 0.9095 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of Tearing: time 0.000382/0.7753, allocations: 342 kB / 0.9099 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of Initialization: time 8.82e-07/0.7753, allocations: 0 / 0.9099 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0002736/0.7756, allocations: 334.3 kB / 0.9102 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of Categorize: time 3.141e-05/0.7756, allocations: 11.92 kB / 0.9102 GB, free: 0.7148 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min