Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases.conf.json 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/KeyWordIO 0.11.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) Running command: "" <> buildModelFMU(KeyWordIO.Examples.CaseExamples.ElectricalCases,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.CaseExamples.ElectricalCases,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_CaseExamples_ElectricalCases",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002474/0.002474, allocations: 180.5 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004746/0.004746, allocations: 0.9677 MB / 8.839 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 221.4 MB / 230.9 MB, free: 1.742 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009235/0.0009236, allocations: 92.81 kB / 281.9 MB, free: 232 kB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09847/0.09943, allocations: 56.77 MB / 338.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.3018, allocations: 50.61 MB / 389.3 MB, free: 37.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09344/0.3953, allocations: 86.79 MB / 476.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3956, allocations: 83.95 kB / 476.2 MB, free: 14.58 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/Examples/CaseExamples/ElectricalCases.mo:13:3-44:70:writable] Error: Could not evaluate structural parameter (or constant): cases which gives dimensions of array: electrical[cases]. Array dimensions must be known at compile time. Error: Error occurred while flattening model KeyWordIO.Examples.CaseExamples.ElectricalCases Error: Internal error SimCode: The model KeyWordIO.Examples.CaseExamples.ElectricalCases could not be translated to FMU