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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckFunctionDifferentiation_FlatRoads",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.003683/0.003682, allocations: 183.7 kB / 7.46 MB, free: 2.516 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.44/1.44, allocations: 221.4 MB / 229.3 MB, free: 3.145 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.001012/0.001012, allocations: 100.5 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.05081/0.05081, allocations: 7.833 MB / 338.7 MB, free: 6.816 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.245/0.2959, allocations: 58.32 MB / 397 MB, free: 68.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.4008, allocations: 52.2 MB / 449.2 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.7509, allocations: 87.53 MB / 0.5242 GB, free: 8.625 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.7513, allocations: 75.53 kB / 0.5243 GB, free: 8.59 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.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 Error: Internal error SimCode: The model VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads could not be translated to FMU