Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 108.8 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.001525/0.001525, allocations: 187.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.608/1.608, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.416/1.416, allocations: 251.7 MB / 0.51 GB, free: 440 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.083e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005951/0.00598, allocations: 4.963 MB / 0.7312 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6609/0.6669, allocations: 150.7 MB / 0.8783 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.6683, allocations: 19.94 kB / 0.8783 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.6693, allocations: 198.1 kB / 0.8785 GB, free: 1.781 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.002385/0.6716, allocations: 0.5423 MB / 0.879 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.674, allocations: 0.8566 MB / 0.8799 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001975/0.6759, allocations: 1.581 MB / 0.8814 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.6773, allocations: 1.069 MB / 0.8825 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009347/0.6782, allocations: 0.6458 MB / 0.8831 GB, free: 13.1 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.6789, allocations: 0.6727 MB / 0.8838 GB, free: 12.42 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.6791, allocations: 156 kB / 0.8839 GB, free: 12.27 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/0.68, allocations: 451.7 kB / 0.8843 GB, free: 11.83 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001451/0.6815, allocations: 2.244 MB / 0.8865 GB, free: 9.559 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.000789/0.6823, allocations: 1.402 MB / 0.8879 GB, free: 8.137 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.6826, allocations: 243.1 kB / 0.8881 GB, free: 7.898 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0003026/0.6829, allocations: 67.5 kB / 0.8882 GB, free: 7.832 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: 351 (324) * Number of variables: 351 (324) Notification: Performance of Bindings: time 0.006143/0.689, allocations: 6.958 MB / 0.895 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.001418/0.6904, allocations: 1.352 MB / 0.8963 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of Early Inline: time 0.004126/0.6946, allocations: 4.359 MB / 0.9006 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of simplify1: time 0.0003693/0.695, allocations: 343.6 kB / 0.9009 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of Alias: time 0.009469/0.7044, allocations: 8.483 MB / 0.9092 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of simplify2: time 0.0002977/0.7048, allocations: 195.8 kB / 0.9094 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of Events: time 0.000553/0.7053, allocations: 471.2 kB / 0.9098 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of Detect States: time 0.0006366/0.706, allocations: 0.6007 MB / 0.9104 GB, free: 164 kB / 0.6856 GB Notification: Performance of Partitioning: time 0.001038/0.707, allocations: 0.8955 MB / 0.9113 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of Causalize: time 0.005002/0.712, allocations: 4.956 MB / 0.9161 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of After Index Reduction Inline: time 0.001946/0.714, allocations: 1.909 MB / 0.918 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of Inline: time 0.004477/0.7185, allocations: 4.293 MB / 0.9222 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of Partitioning: time 0.0002367/0.7187, allocations: 211.5 kB / 0.9224 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of Cleanup: time 0.0001964/0.7189, allocations: 171.7 kB / 0.9225 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of Causalize: time 0.007653/0.7266, allocations: 8.055 MB / 0.9304 GB, free: 12 MB / 0.7169 GB Notification: Performance of Tearing: time 0.0004272/0.7271, allocations: 342.1 kB / 0.9307 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of Initialization: time 9.92e-07/0.7271, allocations: 0 / 0.9307 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of Tearing: time 0.0002865/0.7274, allocations: 338.1 kB / 0.9311 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of Categorize: time 4.183e-05/0.7274, allocations: 11.94 kB / 0.9311 GB, free: 11.23 MB / 0.7169 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min