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: translateModel(LibRAS.Tanks.FishTank,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Tanks.FishTank") translateModel(LibRAS.Tanks.FishTank,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="LibRAS_LibRAS.Tanks.FishTank") [: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.001054/0.001054, allocations: 197.8 kB / 7.849 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.03501/0.03501, allocations: 5.42 MB / 13.69 MB, free: 2.285 MB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.479/1.479, allocations: 194.2 MB / 209.6 MB, free: 1.902 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.001813/0.001813, allocations: 117.1 kB / 255.8 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.412e-06, allocations: 0 / 307.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 45.74 MB / 353.3 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7553/0.8738, allocations: 317.4 MB / 0.655 GB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.8741, allocations: 77.16 kB / 0.6551 GB, free: 11.66 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