Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.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.ConventionalManualVehicle,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalManualVehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Examples.ConventionalManualVehicle,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalManualVehicle",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.003488/0.003488, allocations: 179.3 kB / 7.457 MB, free: 2.5 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.4/1.4, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.0008961/0.0008962, allocations: 98.27 kB / 280.1 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04038/0.04038, allocations: 7.844 MB / 338.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.258/0.2985, allocations: 58.3 MB / 397 MB, free: 68.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.4094, allocations: 52.2 MB / 449.2 MB, free: 16.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.7882, allocations: 110.1 MB / 0.5463 GB, free: 2.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.7885, allocations: 82.64 kB / 0.5464 GB, free: 2.574 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.5804/1.369, allocations: 129.4 MB / 0.6727 GB, free: 106.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.369, allocations: 8.344 kB / 0.6727 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/1.37, allocations: 394.2 kB / 0.6731 GB, free: 106.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/1.374, allocations: 1.872 MB / 0.6749 GB, free: 106.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/1.374, allocations: 273.9 kB / 0.6751 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/1.375, allocations: 171.3 kB / 0.6753 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003867/1.379, allocations: 1.941 MB / 0.6772 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005436/1.384, allocations: 2.744 MB / 0.6799 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/1.384, allocations: 29.59 kB / 0.6799 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/1.384, allocations: 6.75 kB / 0.6799 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/1.385, allocations: 111.4 kB / 0.68 GB, free: 105.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02784/1.413, allocations: 11.86 MB / 0.6916 GB, free: 99.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/1.415, allocations: 0.9213 MB / 0.6925 GB, free: 99.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/1.417, allocations: 0.7154 MB / 0.6932 GB, free: 99.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/1.417, allocations: 17.66 kB / 0.6932 GB, free: 99.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.417, allocations: 54.94 kB / 0.6933 GB, free: 99.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=149): time 4.889e-06/1.417, allocations: 0 / 0.6933 GB, free: 99.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=179): time 0.0207/1.438, allocations: 5.733 MB / 0.6989 GB, free: 96.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/1.438, allocations: 127.9 kB / 0.699 GB, free: 96.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/1.443, allocations: 1.329 MB / 0.7003 GB, free: 95.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005545/1.443, allocations: 52.31 kB / 0.7003 GB, free: 95.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/1.445, allocations: 1.022 MB / 0.7013 GB, free: 94.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.446, allocations: 0.5795 MB / 0.7019 GB, free: 93.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/1.446, allocations: 1.062 kB / 0.7019 GB, free: 93.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/1.446, allocations: 394.8 kB / 0.7023 GB, free: 93.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/1.448, allocations: 0.7192 MB / 0.703 GB, free: 93.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.451, allocations: 1.367 MB / 0.7043 GB, free: 91.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/1.453, allocations: 0.8017 MB / 0.7051 GB, free: 91.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.142e-05/1.453, allocations: 8 kB / 0.7051 GB, free: 91.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=297) (initialization): time 0.006696/1.459, allocations: 2.625 MB / 0.7077 GB, free: 88.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.46, allocations: 4 kB / 0.7077 GB, free: 88.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.042e-05/1.46, allocations: 27.98 kB / 0.7077 GB, free: 88.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/1.462, allocations: 1.336 MB / 0.709 GB, free: 87.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/1.464, allocations: 407.3 kB / 0.7094 GB, free: 86.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/1.467, allocations: 2.13 MB / 0.7115 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/1.47, allocations: 275.7 kB / 0.7117 GB, free: 84.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006177/1.471, allocations: 110.1 kB / 0.7118 GB, free: 84.27 MB / 442.7 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_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 brakes.brake_4.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: 95 * Number of states: 0 () * Number of discrete variables: 66 (driverEnvironment.ignition.y,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,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],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],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 (234): * Single equations (assignments): 228 * 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 59} Notification: Performance of prepare postOptimizeDAE: time 0.001077/1.472, allocations: 211.9 kB / 0.7121 GB, free: 84.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.473, allocations: 221.3 kB / 0.7123 GB, free: 83.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/1.479, allocations: 2.262 MB / 0.7145 GB, free: 81.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/1.479, allocations: 16 kB / 0.7145 GB, free: 81.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.479, allocations: 3.906 kB / 0.7145 GB, free: 81.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/1.479, allocations: 7.969 kB / 0.7145 GB, free: 81.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/1.492, allocations: 5.144 MB / 0.7195 GB, free: 76.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.492, allocations: 0 / 0.7195 GB, free: 76.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.493, allocations: 238 kB / 0.7197 GB, free: 76.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002217/1.496, allocations: 1.215 MB / 0.7209 GB, free: 74.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/1.496, allocations: 35.94 kB / 0.721 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/1.499, allocations: 1.891 MB / 0.7228 GB, free: 72.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.499, allocations: 4 kB / 0.7228 GB, free: 72.99 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005336/1.504, allocations: 3.147 MB / 0.7259 GB, free: 69.71 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00682/1.511, allocations: 4.411 MB / 0.7302 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.513, allocations: 478 kB / 0.7307 GB, free: 64.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008226/1.513, allocations: 39.98 kB / 0.7307 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.515, allocations: 183.7 kB / 0.7309 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006413/1.516, allocations: 306.9 kB / 0.7312 GB, free: 64.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/1.516, allocations: 71.94 kB / 0.7312 GB, free: 64.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002318/1.519, allocations: 0.9598 MB / 0.7322 GB, free: 63.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003598/1.522, allocations: 463.9 kB / 0.7326 GB, free: 62.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 10 (transmission.clutch.phi_rel,transmission.clutch.w_rel,chassis.body.s,chassis.dragForces.v_rel,driverEnvironment.acceleratorPosition.s,driverEnvironment.acceleratorPosition.v,driverEnvironment.clutchPosition.s,driverEnvironment.clutchPosition.v,driverEnvironment.brakePosition.s,driverEnvironment.brakePosition.v) * Number of discrete variables: 27 (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,driverEnvironment.ignition.y,transmission.shiftOutput.gear) * Number of discrete states: 15 (transmission.clutch.mode,transmission.clutch.startForward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.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.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 118 * 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 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005777/1.523, allocations: 194.6 kB / 0.7328 GB, free: 62.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004034/1.527, allocations: 2.003 MB / 0.7348 GB, free: 60.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.527, allocations: 0 / 0.7348 GB, free: 60.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.529, allocations: 1.059 MB / 0.7358 GB, free: 59.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.532, allocations: 262.1 kB / 0.736 GB, free: 59.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.544, allocations: 3.999 MB / 0.7399 GB, free: 55.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/1.548, allocations: 1.905 MB / 0.7418 GB, free: 53.18 MB / 442.7 MB Notification: Performance of SimCode: time 2.755e-06/1.548, allocations: 0 / 0.7418 GB, free: 53.18 MB / 442.7 MB (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Examples_ConventionalManualVehicle_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Examples_ConventionalManualVehicle.fmu > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalManualVehicle.pipe 2>&1)