Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 105.2 kB / 16.42 MB, free: 6.52 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.001632/0.001633, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.551/1.551, 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.394/1.394, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.433e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005752/0.005787, allocations: 4.173 MB / 0.7304 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6907/0.6965, allocations: 150.4 MB / 0.8773 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.6977, allocations: 19.88 kB / 0.8773 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.6984, allocations: 162.5 kB / 0.8775 GB, free: 2.789 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.001874/0.7003, allocations: 448.8 kB / 0.8779 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.7024, allocations: 0.7598 MB / 0.8786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.7039, allocations: 1.159 MB / 0.8798 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.705, allocations: 0.6354 MB / 0.8804 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.7056, allocations: 406.4 kB / 0.8808 GB, free: 15.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.7062, allocations: 410 kB / 0.8812 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.7063, allocations: 88 kB / 0.8812 GB, free: 14.94 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009019/0.7072, allocations: 373.5 kB / 0.8816 GB, free: 14.58 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001099/0.7083, allocations: 1.386 MB / 0.883 GB, free: 13.18 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0005833/0.7089, allocations: 0.871 MB / 0.8838 GB, free: 12.3 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.7091, allocations: 147.5 kB / 0.8839 GB, free: 12.15 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0002576/0.7094, allocations: 51.56 kB / 0.884 GB, free: 12.1 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: 202 (175) * Number of variables: 202 (175) Notification: Performance of Bindings: time 0.003916/0.7133, allocations: 3.996 MB / 0.8879 GB, free: 7.957 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0005157/0.7138, allocations: 438.4 kB / 0.8883 GB, free: 7.535 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002246/0.7161, allocations: 2.287 MB / 0.8906 GB, free: 5.203 MB / 0.67 GB Notification: Performance of simplify1: time 0.0001902/0.7163, allocations: 179.8 kB / 0.8907 GB, free: 5.027 MB / 0.67 GB Notification: Performance of Alias: time 0.004834/0.7211, allocations: 4.274 MB / 0.8949 GB, free: 368 kB / 0.67 GB Notification: Performance of simplify2: time 0.0001472/0.7213, allocations: 115.9 kB / 0.895 GB, free: 252 kB / 0.67 GB Notification: Performance of Events: time 0.0003916/0.7217, allocations: 270.3 kB / 0.8953 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of Detect States: time 0.0006209/0.7223, allocations: 416.1 kB / 0.8957 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0006683/0.723, allocations: 0.5749 MB / 0.8962 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of Causalize: time 0.003456/0.7265, allocations: 3.104 MB / 0.8993 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.00139/0.7279, allocations: 1.214 MB / 0.9004 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of Inline: time 0.003247/0.7311, allocations: 2.76 MB / 0.9031 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001525/0.7313, allocations: 127.7 kB / 0.9033 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001394/0.7314, allocations: 111.8 kB / 0.9034 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of Causalize: time 0.005173/0.7366, allocations: 5.1 MB / 0.9083 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0004543/0.7371, allocations: 334 kB / 0.9087 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of Initialization: time 5.81e-07/0.7371, allocations: 0 / 0.9087 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0002995/0.7374, allocations: 330.1 kB / 0.909 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of Categorize: time 3.661e-05/0.7374, allocations: 4 kB / 0.909 GB, free: 1.801 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min