Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType.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.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Sources.Examples.DayType") [/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.615e-05/2.616e-05, allocations: 5.891 kB / 0.5922 GB, free: 18.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002216/0.002251, allocations: 1.438 MB / 0.5936 GB, free: 17.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005984/0.002862, allocations: 270.7 kB / 0.5939 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.002932, allocations: 1.219 kB / 0.5939 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.003072, allocations: 13.97 kB / 0.5939 GB, free: 17.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.003138, allocations: 21.53 kB / 0.5939 GB, free: 17.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.00352, allocations: 88.8 kB / 0.594 GB, free: 16.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.003727, allocations: 144.9 kB / 0.5941 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.003784, allocations: 10.45 kB / 0.5941 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.003871, allocations: 63.56 kB / 0.5942 GB, free: 16.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.003983, allocations: 71.41 kB / 0.5943 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.004023, allocations: 13.59 kB / 0.5943 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.802e-05/0.004057, allocations: 10.09 kB / 0.5943 GB, free: 16.79 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.000116/0.004178, allocations: 189.8 kB / 0.5945 GB, free: 16.61 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.976e-05/0.004213, allocations: 110.3 kB / 0.5946 GB, free: 16.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.004247, allocations: 15.94 kB / 0.5946 GB, free: 16.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.076e-05/0.004272, allocations: 4 kB / 0.5946 GB, free: 16.48 MB / 446.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if pre(dayTypMon.skipIDayIncrement) then dayTypMon.iDay = pre(dayTypMon.iDay); elseif true then dayTypMon.iDay = mod(pre(dayTypMon.iDay), 7) + 1; end if