Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.Examples.Overhang,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.Overhang") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.226e-05/2.227e-05, allocations: 2.281 kB / 0.5922 GB, free: 18.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.005212/0.005243, allocations: 4.867 MB / 0.597 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1657/0.171, allocations: 150.7 MB / 0.7442 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000917/0.172, allocations: 15.94 kB / 0.7442 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.1725, allocations: 142.5 kB / 0.7443 GB, free: 6.609 MB / 0.5762 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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource' contains a call to impure function 'Modelica.Utilities.Files.fullPathName'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46: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.001771/0.1743, allocations: 0.5305 MB / 0.7449 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1762, allocations: 0.8038 MB / 0.7456 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.1777, allocations: 1.486 MB / 0.7471 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.1789, allocations: 0.9477 MB / 0.748 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007322/0.1796, allocations: 0.5955 MB / 0.7486 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.1802, allocations: 0.6144 MB / 0.7492 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.1804, allocations: 144 kB / 0.7493 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1815, allocations: 0.5738 MB / 0.7499 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.3715/0.553, allocations: 1.975 MB / 0.7518 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0007283/0.5538, allocations: 1.216 MB / 0.753 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.5542, allocations: 228.6 kB / 0.7532 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003894/0.5546, allocations: 53.88 kB / 0.7533 GB, free: 5.047 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 (281) * Number of variables: 319 (280) Notification: Performance of Bindings: time 0.005357/0.56, allocations: 6.216 MB / 0.7594 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.001091/0.5611, allocations: 0.9674 MB / 0.7603 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.008412/0.5695, allocations: 7.616 MB / 0.7677 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0004784/0.57, allocations: 360.9 kB / 0.7681 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of Alias: time 0.009368/0.5794, allocations: 8.185 MB / 0.7761 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0004809/0.5799, allocations: 250.8 kB / 0.7763 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of Events: time 0.002016/0.5819, allocations: 1.693 MB / 0.778 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of Detect States: time 0.000945/0.5829, allocations: 1.232 MB / 0.7792 GB, free: 476 kB / 0.5762 GB Notification: Performance of Partitioning: time 0.001173/0.5841, allocations: 1.325 MB / 0.7805 GB, free: 184 kB / 0.5762 GB Notification: Performance of Causalize: time 0.009455/0.5935, allocations: 10.72 MB / 0.7909 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.004418/0.598, allocations: 4.942 MB / 0.7958 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of Inline: time 0.008374/0.6064, allocations: 8.653 MB / 0.8042 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0003254/0.6067, allocations: 185.2 kB / 0.8044 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0006641/0.6074, allocations: 412.6 kB / 0.8048 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of Causalize: time 0.01192/0.6193, allocations: 12.98 MB / 0.8175 GB, free: 2.266 MB / 0.5919 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (3) ($RES_SIM_3) [----] ove.ove.solAzi.tmp := ($FUN_36 * $FUN_37 - $FUN_38) / ($FUN_39 * $FUN_40); [----] ove.ove.solAzi.arg := min(1.0, max(-1.0, ove.ove.solAzi.tmp)); [----] ove.ove.solAzi.solAzi := $FUN_41; [----] if ove.ove.solAzi.outsidePolarCircle then [----] if noEvent(ove.weaBus.solTim - integer(ove.weaBus.solTim / 86400.0) * 86400.0 < 43200.0) then [----] ove.ove.solAzi.solAzi := -ove.ove.solAzi.solAzi; [----] end if; [----] elseif true then [----] if ove.weaBus.solTim - integer(ove.weaBus.solTim / 86400.0) * 86400.0 < 43200.0 then [----] ove.ove.solAzi.solAzi := -ove.ove.solAzi.solAzi; [----] end if; [----] end if; Error: Internal error NBInitialization.main failed to apply modules!