Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001014/0.001015, allocations: 101.7 kB / 16.38 MB, free: 5.973 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.0009287/0.0009287, allocations: 190.1 kB / 17.31 MB, free: 5.594 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.434/1.434, 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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.35 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.493e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006156/0.006195, allocations: 4.181 MB / 0.6769 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6315/0.6377, allocations: 150.4 MB / 0.8238 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.6388, allocations: 14.97 kB / 0.8238 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.6395, allocations: 164.2 kB / 0.8239 GB, free: 43.95 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.001844/0.6413, allocations: 442 kB / 0.8244 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.6437, allocations: 0.7644 MB / 0.8251 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.6455, allocations: 1.162 MB / 0.8262 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.6466, allocations: 0.6326 MB / 0.8269 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.6476, allocations: 408.1 kB / 0.8272 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000696/0.6484, allocations: 406.1 kB / 0.8276 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.6485, allocations: 88.31 kB / 0.8277 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.6497, allocations: 377.1 kB / 0.8281 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001394/0.6511, allocations: 1.389 MB / 0.8294 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0006583/0.6517, allocations: 0.8775 MB / 0.8303 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.652, allocations: 146.2 kB / 0.8304 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0002949/0.6523, allocations: 51.05 kB / 0.8305 GB, free: 42.11 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: 202 (175) * Number of variables: 202 (175) Notification: Performance of Bindings: time 0.004055/0.6564, allocations: 3.984 MB / 0.8344 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0006123/0.657, allocations: 441.5 kB / 0.8348 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.002519/0.6595, allocations: 2.289 MB / 0.837 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0002469/0.6598, allocations: 175.5 kB / 0.8372 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of Alias: time 0.005735/0.6655, allocations: 4.272 MB / 0.8414 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of simplify2: time 0.000188/0.6657, allocations: 117.6 kB / 0.8415 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of Events: time 0.0003902/0.6661, allocations: 273.6 kB / 0.8417 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0005313/0.6666, allocations: 408.5 kB / 0.8421 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0006931/0.6673, allocations: 0.5783 MB / 0.8427 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003662/0.671, allocations: 3.076 MB / 0.8457 GB, free: 37.84 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001399/0.6724, allocations: 1.211 MB / 0.8469 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of Inline: time 0.003186/0.6756, allocations: 2.653 MB / 0.8495 GB, free: 36.67 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001615/0.6758, allocations: 137.1 kB / 0.8496 GB, free: 36.57 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.000121/0.6759, allocations: 107.4 kB / 0.8497 GB, free: 36.52 MB / 0.6544 GB Notification: Performance of Causalize: time 0.004616/0.6806, allocations: 5.072 MB / 0.8547 GB, free: 34.36 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0003396/0.6809, allocations: 325.8 kB / 0.855 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of Initialization: time 8.32e-07/0.6809, allocations: 0 / 0.855 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002512/0.6812, allocations: 336 kB / 0.8553 GB, free: 33.82 MB / 0.6544 GB Notification: Performance of Categorize: time 3.753e-05/0.6812, allocations: 3.188 kB / 0.8553 GB, free: 33.82 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min