Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") [: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 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 190.5 kB / 7.46 MB, free: 1.551 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.4 MB / 229.3 MB, free: 8.48 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009091, allocations: 94.83 kB / 280.1 MB, free: 7.844 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.05371/0.05371, allocations: 7.854 MB / 338.7 MB, free: 13.3 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.084e-06, allocations: 0 / 396.9 MB, free: 59.5 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08869, allocations: 52.2 MB / 449.1 MB, free: 7.344 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2639/0.3526, allocations: 87.23 MB / 0.5238 GB, free: 11.27 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.3529, allocations: 72.72 kB / 0.5239 GB, free: 11.24 MB / 354.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/Roads/Internal/VisualizeSimpleRoads.mo:24:3-24:53:writable] Warning: No corresponding 'inner' declaration found for component .VehicleInterfaces.Roads.Interfaces.Base road.roadShape.road declared as 'outer '. The existing 'inner' components are: .Modelica.Mechanics.MultiBody.World$world world; defined in scope: VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads. Referenced by 'outer' components: {road.world} 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/VehicleInterfaces 2.0.1/Roads/Interfaces/Base.mo:2:1-67:9:writable] Error: Illegal to instantiate partial class Base. Error: Error occurred while flattening model VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads