Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",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 4.0.0+maint.om/package.mo): time 0.003036/0.003036, allocations: 177.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.4 MB / 229.3 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.84 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.0488/0.0488, allocations: 7.838 MB / 338.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2467/0.2956, allocations: 58.3 MB / 397 MB, free: 68.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.401, allocations: 52.21 MB / 449.2 MB, free: 16.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/0.7471, allocations: 88.16 MB / 0.5248 GB, free: 7.918 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.7474, allocations: 76.83 kB / 0.5249 GB, free: 7.883 MB / 346.7 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.CheckContactCalculation. 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.CheckContactCalculation Error: Internal error SimCode: The model VehicleInterfaces.Roads.Examples.CheckContactCalculation could not be translated to FMU