Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr LibRAS_LibRAS.Tanks.FishTank.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.Tanks.FishTank,fileNamePrefix="LibRAS_LibRAS_Tanks_FishTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(LibRAS.Tanks.FishTank,fileNamePrefix="LibRAS_LibRAS_Tanks_FishTank",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 3.2.2+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 197.5 kB / 7.85 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.08808/0.08808, allocations: 5.422 MB / 13.69 MB, free: 2.168 MB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9407/0.9407, allocations: 194.2 MB / 209.6 MB, free: 1.887 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.001576/0.001576, allocations: 113.9 kB / 255.8 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.07973/0.08134, allocations: 51.87 MB / 307.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06725/0.1486, allocations: 45.74 MB / 353.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.5724, allocations: 317.4 MB / 0.6551 GB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.5726, allocations: 71.94 kB / 0.6552 GB, free: 11.45 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/Tanks/FishTank.mo:57:3-58:92:writable] Warning: No corresponding 'inner' declaration found for component .LibRAS.System system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: LibRAS.Tanks.FishTank. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:528:7-528:61:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System fishtank.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: LibRAS.Tanks.CST$fishtank. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/Tanks/PartialCST.mo:8:5-8:253:writable] Error: Variable system.C_S_start not found in scope LibRAS.Tanks.CST$fishtank. Error: Error occurred while flattening model LibRAS.Tanks.FishTank Error: Internal error SimCode: The model LibRAS.Tanks.FishTank could not be translated to FMU