Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Examples.RenewableSources,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_Examples_RenewableSources",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/Buildings 7.0.1/package.mo): time 2.354/2.354, allocations: 248.6 MB / 255.9 MB, free: 7.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001678/0.001677, allocations: 192.2 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.1 MB / 0.5658 GB, free: 428 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 100.5 kB / 0.67 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5196/0.5209, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.7356, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.817/6.553, allocations: 2.286 GB / 3.17 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/6.553, allocations: 87.52 kB / 3.17 GB, free: 82.73 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Terminal.mo:7:1-7:54:writable] Error: Could not evaluate structural parameter (or constant): PhaseSystem.n which gives dimensions of array: v[PhaseSystem.n]. Array dimensions must be known at compile time. Error: Error occurred while flattening model Buildings.Electrical.Examples.RenewableSources Error: Internal error SimCode: The model Buildings.Electrical.Examples.RenewableSources could not be translated to FMU