Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 107.1 kB / 16.37 MB, free: 6.363 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.0009501/0.0009502, allocations: 191.5 kB / 17.31 MB, free: 5.91 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.453/1.453, 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 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.533e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005852/0.005889, allocations: 4.185 MB / 0.6769 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6815/0.6874, allocations: 150.2 MB / 0.8236 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009931/0.6884, allocations: 16.19 kB / 0.8236 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.689, allocations: 168.6 kB / 0.8238 GB, free: 43.88 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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.001707/0.6907, allocations: 408.9 kB / 0.8242 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.6933, allocations: 0.781 MB / 0.8249 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.6953, allocations: 1.138 MB / 0.826 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.6965, allocations: 0.695 MB / 0.8267 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.6975, allocations: 417.3 kB / 0.8271 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.6982, allocations: 428.2 kB / 0.8275 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.6983, allocations: 100.4 kB / 0.8276 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.6994, allocations: 382.7 kB / 0.828 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001294/0.7007, allocations: 1.462 MB / 0.8294 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0006203/0.7014, allocations: 0.9188 MB / 0.8303 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.7016, allocations: 158.1 kB / 0.8305 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.000329/0.702, allocations: 52.84 kB / 0.8305 GB, free: 41.97 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 (196) * Number of variables: 223 (196) Notification: Performance of Bindings: time 0.004351/0.7063, allocations: 4.255 MB / 0.8347 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0005148/0.7068, allocations: 410.2 kB / 0.8351 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.002747/0.7096, allocations: 2.554 MB / 0.8376 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0002921/0.7099, allocations: 194.8 kB / 0.8377 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of Alias: time 0.006314/0.7162, allocations: 4.704 MB / 0.8423 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0002578/0.7165, allocations: 123.7 kB / 0.8425 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of Events: time 0.0004151/0.7169, allocations: 314.1 kB / 0.8428 GB, free: 38.51 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0005018/0.7174, allocations: 444.5 kB / 0.8432 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0006919/0.7181, allocations: 0.5929 MB / 0.8438 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003635/0.7218, allocations: 3.227 MB / 0.8469 GB, free: 37.63 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001418/0.7232, allocations: 1.283 MB / 0.8482 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of Inline: time 0.00295/0.7262, allocations: 2.794 MB / 0.8509 GB, free: 35.87 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.000147/0.7263, allocations: 134.8 kB / 0.851 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0001142/0.7265, allocations: 115.6 kB / 0.8511 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of Causalize: time 0.00449/0.731, allocations: 5.394 MB / 0.8564 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002945/0.7313, allocations: 334.4 kB / 0.8567 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of Initialization: time 8.02e-07/0.7313, allocations: 3.938 kB / 0.8567 GB, free: 33.15 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002352/0.7315, allocations: 336.6 kB / 0.857 GB, free: 32.88 MB / 0.6544 GB Notification: Performance of Categorize: time 2.845e-05/0.7316, allocations: 10.78 kB / 0.8571 GB, free: 32.88 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min