Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 108.9 kB / 16.42 MB, free: 6.418 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.001546/0.001546, allocations: 191.3 kB / 17.36 MB, free: 5.684 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.622/1.622, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.467/1.467, allocations: 251.7 MB / 0.51 GB, free: 440 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.262e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005702/0.005734, allocations: 4.115 MB / 0.7304 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.682/0.6878, allocations: 150.2 MB / 0.877 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.689, allocations: 19.88 kB / 0.8771 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000973/0.69, allocations: 162.5 kB / 0.8772 GB, free: 3.098 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.002319/0.6924, allocations: 424.2 kB / 0.8776 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.6949, allocations: 0.7621 MB / 0.8784 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.6969, allocations: 1.097 MB / 0.8794 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.6982, allocations: 0.6236 MB / 0.88 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008634/0.6991, allocations: 378.6 kB / 0.8804 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007446/0.6998, allocations: 390 kB / 0.8808 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.7, allocations: 84 kB / 0.8809 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008663/0.7009, allocations: 368.6 kB / 0.8812 GB, free: 15.04 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0009335/0.7019, allocations: 1.328 MB / 0.8825 GB, free: 13.7 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0004519/0.7023, allocations: 0.8428 MB / 0.8833 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.7025, allocations: 146 kB / 0.8835 GB, free: 12.7 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0002484/0.7028, allocations: 47.62 kB / 0.8835 GB, free: 12.65 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: 194 (167) * Number of variables: 194 (167) Notification: Performance of Bindings: time 0.003305/0.7061, allocations: 3.832 MB / 0.8873 GB, free: 8.676 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0003754/0.7065, allocations: 344 kB / 0.8876 GB, free: 8.34 MB / 0.67 GB Notification: Performance of Early Inline: time 0.00196/0.7085, allocations: 2.104 MB / 0.8896 GB, free: 6.195 MB / 0.67 GB Notification: Performance of simplify1: time 0.000165/0.7086, allocations: 159.8 kB / 0.8898 GB, free: 6.039 MB / 0.67 GB Notification: Performance of Alias: time 0.004296/0.7129, allocations: 3.97 MB / 0.8937 GB, free: 1.734 MB / 0.67 GB Notification: Performance of simplify2: time 0.0001177/0.7131, allocations: 95.89 kB / 0.8938 GB, free: 1.641 MB / 0.67 GB Notification: Performance of Events: time 0.0003574/0.7134, allocations: 281 kB / 0.894 GB, free: 1.367 MB / 0.67 GB Notification: Performance of Detect States: time 0.0004686/0.7139, allocations: 381.3 kB / 0.8944 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of Partitioning: time 0.000554/0.7145, allocations: 0.5345 MB / 0.8949 GB, free: 356 kB / 0.67 GB Notification: Performance of Causalize: time 0.002828/0.7173, allocations: 2.828 MB / 0.8977 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001152/0.7185, allocations: 1.115 MB / 0.8988 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of Inline: time 0.002761/0.7212, allocations: 2.574 MB / 0.9013 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001458/0.7214, allocations: 127.7 kB / 0.9014 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001099/0.7215, allocations: 91.83 kB / 0.9015 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of Causalize: time 0.004592/0.7261, allocations: 4.804 MB / 0.9062 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0003593/0.7265, allocations: 326.1 kB / 0.9065 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of Initialization: time 6.01e-07/0.7265, allocations: 0 / 0.9065 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0002619/0.7268, allocations: 330.2 kB / 0.9068 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of Categorize: time 3.084e-05/0.7268, allocations: 7.938 kB / 0.9068 GB, free: 4.102 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min