Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr LibRAS_LibRAS.Culture.PartialCulture.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package LibRAS with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(LibRAS.Culture.PartialCulture,fileNamePrefix="LibRAS_LibRAS_Culture_PartialCulture",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(LibRAS.Culture.PartialCulture,fileNamePrefix="LibRAS_LibRAS_Culture_PartialCulture",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002492/0.002491, allocations: 188.8 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.03075/0.03075, allocations: 5.482 MB / 22.02 MB, free: 124 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.784/1.784, allocations: 194.5 MB / 218.5 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001645/0.001645, allocations: 128.5 kB / 265 MB, free: 3.719 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 12 kB / 321.4 MB, free: 19.45 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.0972, allocations: 45.74 MB / 367.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3199/0.4172, allocations: 71.25 MB / 438.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.4174, allocations: 60.23 kB / 438.4 MB, free: 6.438 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/Culture/PartialCulture.mo:3:1-47:19:writable] Error: Illegal to instantiate partial class PartialCulture. Error: Error occurred while flattening model LibRAS.Culture.PartialCulture Notification: Performance of FrontEnd: time 0.0001132/0.4176, allocations: 320.8 kB / 438.7 MB, free: 6.121 MB / 298.7 MB