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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00229/0.00229, allocations: 179.8 kB / 8.05 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/LibRAS master/package.mo): time 0.04311/0.04311, allocations: 5.43 MB / 13.9 MB, free: 68 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.521/1.521, allocations: 194.3 MB / 209.9 MB, free: 9.816 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.001981/0.001981, allocations: 113.6 kB / 256.2 MB, free: 11.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.528e-05/1.531e-05, allocations: 1.25 kB / 308.2 MB, free: 43.45 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07881/0.07884, allocations: 45.76 MB / 354 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7606/0.8395, allocations: 317.5 MB / 0.6557 GB, free: 61.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.8398, allocations: 76.14 kB / 0.6558 GB, free: 61.26 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 Notification: Performance of FrontEnd: time 0.1352/0.975, allocations: 60.45 MB / 0.7148 GB, free: 7.422 MB / 410.7 MB