Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.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.Examples.FrontWheelDriveManualVehicle,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_FrontWheelDriveManualVehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Examples.FrontWheelDriveManualVehicle,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_FrontWheelDriveManualVehicle",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.003926/0.003926, 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.591/1.591, allocations: 221.4 MB / 229.3 MB, free: 3.047 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.00111/0.00111, allocations: 96.89 kB / 280.1 MB, free: 1.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03898/0.03898, allocations: 7.841 MB / 338.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2197/0.2587, allocations: 58.3 MB / 397 MB, free: 68.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09185/0.3506, allocations: 52.21 MB / 449.2 MB, free: 16.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5072/0.8579, allocations: 118.7 MB / 0.5546 GB, free: 9.801 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.8582, allocations: 89.2 kB / 0.5547 GB, free: 9.762 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2768 * Number of variables: 2768 Notification: Performance of Generate backend data structure: time 1.188/2.046, allocations: 229.2 MB / 0.7785 GB, free: 16.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/2.046, allocations: 8 kB / 0.7785 GB, free: 16.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/2.06, allocations: 1.354 MB / 0.7798 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03046/2.09, allocations: 7.627 MB / 0.7872 GB, free: 7.094 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/2.092, allocations: 0.5834 MB / 0.7878 GB, free: 6.477 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006808/2.098, allocations: 0.613 MB / 0.7884 GB, free: 5.863 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03675/2.135, allocations: 10.34 MB / 0.7985 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6525/2.788, allocations: 13.35 MB / 0.8115 GB, free: 126.1 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008568/2.789, allocations: 41.38 kB / 0.8116 GB, free: 126.1 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005874/2.795, allocations: 14.67 kB / 0.8116 GB, free: 126.1 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001726/2.796, allocations: 0.6753 MB / 0.8123 GB, free: 126 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1304/2.927, allocations: 42.46 MB / 0.8537 GB, free: 114.8 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/2.932, allocations: 1.405 MB / 0.8551 GB, free: 114.2 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005596/2.938, allocations: 1.562 MB / 0.8566 GB, free: 113.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02402/2.962, allocations: 5.694 MB / 0.8622 GB, free: 110.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.655e-05/2.962, allocations: 64.69 kB / 0.8622 GB, free: 110.7 MB / 458.8 MB Notification: Performance of pre-optimization done (n=190): time 7.705e-06/2.962, allocations: 0 / 0.8622 GB, free: 110.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=223): time 0.04283/3.005, allocations: 9.779 MB / 0.8718 GB, free: 105.7 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/3.005, allocations: 0.5086 MB / 0.8723 GB, free: 105.1 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/3.016, allocations: 3.397 MB / 0.8756 GB, free: 103.7 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008708/3.017, allocations: 56.45 kB / 0.8757 GB, free: 103.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006022/3.023, allocations: 4.301 MB / 0.8799 GB, free: 100.6 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001907/3.025, allocations: 0.7766 MB / 0.8806 GB, free: 100 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006427/3.026, allocations: 0 / 0.8806 GB, free: 100 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000449/3.027, allocations: 0.5085 MB / 0.8811 GB, free: 99.62 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003989/3.031, allocations: 1.411 MB / 0.8825 GB, free: 99.02 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006226/3.037, allocations: 4.228 MB / 0.8866 GB, free: 94.59 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007319/3.044, allocations: 2.221 MB / 0.8888 GB, free: 93.69 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/3.045, allocations: 29.59 kB / 0.8888 GB, free: 93.69 MB / 458.8 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.02214/3.067, allocations: 5.492 MB / 0.8942 GB, free: 91.57 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/3.067, allocations: 3.719 kB / 0.8942 GB, free: 91.57 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002445/3.067, allocations: 102 kB / 0.8943 GB, free: 91.57 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/3.071, allocations: 1.423 MB / 0.8957 GB, free: 91.19 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0072/3.078, allocations: 1.114 MB / 0.8968 GB, free: 91.05 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/3.084, allocations: 2.236 MB / 0.8989 GB, free: 89.76 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009756/3.094, allocations: 416 kB / 0.8993 GB, free: 89.69 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001719/3.096, allocations: 303.8 kB / 0.8996 GB, free: 89.65 MB / 458.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transmission.clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_4.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 438 * Number of states: 0 () * Number of discrete variables: 96 (transmission.clutch.free,$PRE.transmission.clutch.startForward,transmission.clutch.startForward,$PRE.transmission.clutch.startBackward,transmission.clutch.startBackward,$PRE.transmission.clutch.mode,transmission.clutch.mode,transmission.clutchLocked.y,brakes.brake_1.free,$PRE.brakes.brake_1.startForward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startBackward,brakes.brake_1.locked,$PRE.brakes.brake_1.mode,brakes.brake_1.mode,brakes.brake_2.free,$PRE.brakes.brake_2.startForward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startBackward,brakes.brake_2.locked,$PRE.brakes.brake_2.mode,brakes.brake_2.mode,brakes.brake_3.free,$PRE.brakes.brake_3.startForward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startBackward,brakes.brake_3.locked,$PRE.brakes.brake_3.mode,brakes.brake_3.mode,brakes.brake_4.free,$PRE.brakes.brake_4.startForward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startBackward,brakes.brake_4.locked,$PRE.brakes.brake_4.mode,brakes.brake_4.mode,driverEnvironment.ignition.y,transmission.shiftOutput.gear,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],powertrainMounts.chassisFrameToMount3.color[3],powertrainMounts.chassisFrameToMount3.color[2],powertrainMounts.chassisFrameToMount3.color[1],powertrainMounts.chassisFrameToMount2.color[3],powertrainMounts.chassisFrameToMount2.color[2],powertrainMounts.chassisFrameToMount2.color[1],powertrainMounts.chassisFrameToMount1.color[3],powertrainMounts.chassisFrameToMount1.color[2],powertrainMounts.chassisFrameToMount1.color[1],accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1],chassis.fixedTranslation3.color[3],chassis.fixedTranslation3.color[2],chassis.fixedTranslation3.color[1],chassis.fixedTranslation2.color[3],chassis.fixedTranslation2.color[2],chassis.fixedTranslation2.color[1],chassis.fixedTranslation1.color[3],chassis.fixedTranslation1.color[2],chassis.fixedTranslation1.color[1],chassis.fixedTranslation.color[3],chassis.fixedTranslation.color[2],chassis.fixedTranslation.color[1],chassis.ground.color[3],chassis.ground.color[2],chassis.ground.color[1],chassis.constraint.boxColor[3],chassis.constraint.boxColor[2],chassis.constraint.boxColor[1],chassis.body.sphereColor[3],chassis.body.sphereColor[2],chassis.body.sphereColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (624): * Single equations (assignments): 618 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 54} Notification: Performance of prepare postOptimizeDAE: time 0.001717/3.097, allocations: 424.3 kB / 0.9 GB, free: 89.33 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/3.099, allocations: 412.3 kB / 0.9004 GB, free: 89.11 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/3.108, allocations: 2.97 MB / 0.9033 GB, free: 87.91 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.342e-05/3.108, allocations: 21.09 kB / 0.9033 GB, free: 87.91 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.176e-05/3.108, allocations: 7.906 kB / 0.9034 GB, free: 87.91 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/3.108, allocations: 9.469 kB / 0.9034 GB, free: 87.91 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02945/3.138, allocations: 9.801 MB / 0.9129 GB, free: 83.57 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/3.138, allocations: 11.25 kB / 0.9129 GB, free: 83.57 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/3.139, allocations: 332.6 kB / 0.9133 GB, free: 83.54 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/3.141, allocations: 1.204 MB / 0.9144 GB, free: 83.21 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/3.142, allocations: 46.89 kB / 0.9145 GB, free: 83.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003837/3.145, allocations: 1.867 MB / 0.9163 GB, free: 82.07 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.308e-05/3.145, allocations: 14.44 kB / 0.9163 GB, free: 82.07 MB / 458.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008439/3.154, allocations: 5.229 MB / 0.9214 GB, free: 78.42 MB / 458.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01013/3.164, allocations: 6.82 MB / 0.9281 GB, free: 73.72 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003149/3.167, allocations: 0.7043 MB / 0.9288 GB, free: 73.07 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002506/3.17, allocations: 44 kB / 0.9288 GB, free: 73.03 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004264/3.174, allocations: 195.6 kB / 0.929 GB, free: 72.88 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009628/3.175, allocations: 347.5 kB / 0.9293 GB, free: 72.71 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003/3.176, allocations: 91.33 kB / 0.9294 GB, free: 72.64 MB / 458.8 MB Notification: Performance of sort global known variables: time 0.00725/3.183, allocations: 2.395 MB / 0.9318 GB, free: 70.52 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01389/3.197, allocations: 1.189 MB / 0.9329 GB, free: 69.33 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 10 (transmission.clutch.phi_rel,transmission.clutch.w_rel,chassis.constraint.s,chassis.constraint.v,driverEnvironment.acceleratorPosition.s,driverEnvironment.acceleratorPosition.v,driverEnvironment.clutchPosition.s,driverEnvironment.clutchPosition.v,driverEnvironment.brakePosition.s,driverEnvironment.brakePosition.v) * Number of discrete variables: 26 (driverEnvironment.ignition.y,transmission.clutch.free,transmission.clutch.startForward,transmission.clutch.startBackward,transmission.clutch.mode,transmission.clutchLocked.y,brakes.brake_1.free,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_1.locked,brakes.brake_1.mode,brakes.brake_2.free,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_2.locked,brakes.brake_2.mode,brakes.brake_3.free,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_3.locked,brakes.brake_3.mode,brakes.brake_4.free,brakes.brake_4.startForward,brakes.brake_4.startBackward,brakes.brake_4.locked,brakes.brake_4.mode) * Number of discrete states: 15 (brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward,transmission.clutch.mode,transmission.clutch.startForward,transmission.clutch.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/3.198, allocations: 215.2 kB / 0.9331 GB, free: 69.12 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01119/3.209, allocations: 3.58 MB / 0.9366 GB, free: 65.73 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/3.21, allocations: 0 / 0.9366 GB, free: 65.73 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006274/3.216, allocations: 1.781 MB / 0.9384 GB, free: 64.02 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005504/3.221, allocations: 472.7 kB / 0.9388 GB, free: 63.63 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04663/3.268, allocations: 11.88 MB / 0.9504 GB, free: 52.71 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01918/3.287, allocations: 5.897 MB / 0.9562 GB, free: 48.3 MB / 458.8 MB Notification: Performance of SimCode: time 2.585e-06/3.287, allocations: 0 / 0.9562 GB, free: 48.3 MB / 458.8 MB (rm -f VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Examples_FrontWheelDriveManualVehicle_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Examples_FrontWheelDriveManualVehicle.fmu > VehicleInterfaces_VehicleInterfaces.Examples.FrontWheelDriveManualVehicle.pipe 2>&1)