Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented",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 loadModel(Buildings): time 4.134/4.134, allocations: 433 MB / 440.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5488/4.683, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/4.925, allocations: 98.72 MB / 0.6283 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.816/10.74, allocations: 2.219 GB / 2.847 GB, free: 129.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/10.74, allocations: 104.9 kB / 2.847 GB, free: 129.6 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.DC.Sources.Examples.PVSimpleOriented Error: Internal error SimCode: The model Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented could not be translated to FMU