Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 103.2 kB / 16.42 MB, free: 6.469 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.001112/0.001112, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.634/1.634, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.404/1.404, allocations: 251.7 MB / 0.51 GB, free: 444 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.405e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005609/0.005641, allocations: 4.188 MB / 0.7304 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6695/0.6751, allocations: 150.2 MB / 0.8772 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.6762, allocations: 19.88 kB / 0.8772 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008433/0.677, allocations: 166.5 kB / 0.8773 GB, free: 2.973 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.002001/0.679, allocations: 434.9 kB / 0.8777 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.6813, allocations: 0.7735 MB / 0.8785 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001692/0.683, allocations: 1.161 MB / 0.8796 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.6841, allocations: 0.6463 MB / 0.8803 GB, free: 15.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007423/0.6849, allocations: 402.2 kB / 0.8806 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000637/0.6855, allocations: 402 kB / 0.881 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.6857, allocations: 88 kB / 0.8811 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008901/0.6866, allocations: 372.9 kB / 0.8815 GB, free: 14.75 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.00114/0.6878, allocations: 1.39 MB / 0.8828 GB, free: 13.35 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0006356/0.6884, allocations: 0.8696 MB / 0.8837 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.6888, allocations: 151.5 kB / 0.8838 GB, free: 12.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0002549/0.689, allocations: 51.56 kB / 0.8839 GB, free: 12.27 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: 205 (178) * Number of variables: 205 (178) Notification: Performance of Bindings: time 0.0043/0.6933, allocations: 3.972 MB / 0.8878 GB, free: 8.148 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0005261/0.6939, allocations: 345.1 kB / 0.8881 GB, free: 7.809 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002832/0.6967, allocations: 2.26 MB / 0.8903 GB, free: 5.508 MB / 0.67 GB Notification: Performance of simplify1: time 0.0003382/0.6971, allocations: 167.8 kB / 0.8904 GB, free: 5.344 MB / 0.67 GB Notification: Performance of Alias: time 0.004905/0.702, allocations: 4.215 MB / 0.8946 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of simplify2: time 0.0001447/0.7021, allocations: 119.9 kB / 0.8947 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of Events: time 0.0003658/0.7025, allocations: 293.6 kB / 0.895 GB, free: 384 kB / 0.67 GB Notification: Performance of Detect States: time 0.0004468/0.703, allocations: 399.7 kB / 0.8953 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0005727/0.7036, allocations: 0.5501 MB / 0.8959 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of Causalize: time 0.003042/0.7066, allocations: 2.993 MB / 0.8988 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001241/0.7079, allocations: 1.179 MB / 0.9 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of Inline: time 0.003604/0.7115, allocations: 2.691 MB / 0.9026 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001469/0.7116, allocations: 123.7 kB / 0.9027 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.000138/0.7118, allocations: 107.8 kB / 0.9028 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of Causalize: time 0.005405/0.7172, allocations: 4.939 MB / 0.9076 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of Tearing: time 0.000404/0.7176, allocations: 334.1 kB / 0.9079 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of Initialization: time 1.122e-06/0.7176, allocations: 0 / 0.9079 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0003354/0.718, allocations: 330.1 kB / 0.9083 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of Categorize: time 3.25e-05/0.718, allocations: 7.938 kB / 0.9083 GB, free: 2.586 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min