Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.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.ConventionalVehicle_AltNames,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalVehicle_AltNames",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Examples.ConventionalVehicle_AltNames,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_ConventionalVehicle_AltNames",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.004375/0.004375, allocations: 184 kB / 7.462 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.326/1.326, allocations: 221.4 MB / 229.3 MB, free: 3.039 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.001059/0.001059, allocations: 98.11 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04078/0.04078, allocations: 7.843 MB / 338.7 MB, free: 6.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2042/0.245, allocations: 58.3 MB / 397 MB, free: 68.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.3701, allocations: 52.2 MB / 449.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.7604, allocations: 106.5 MB / 0.5428 GB, free: 5.883 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.7607, allocations: 81.22 kB / 0.5428 GB, free: 5.852 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.6469/1.408, allocations: 157.7 MB / 0.6968 GB, free: 98.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.408, allocations: 8 kB / 0.6968 GB, free: 98.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.409, allocations: 356 kB / 0.6972 GB, free: 98.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/1.412, allocations: 1.75 MB / 0.6989 GB, free: 97.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/1.412, allocations: 82.38 kB / 0.699 GB, free: 97.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/1.413, allocations: 166.7 kB / 0.6991 GB, free: 97.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003259/1.416, allocations: 1.677 MB / 0.7008 GB, free: 95.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003724/1.42, allocations: 2.512 MB / 0.7032 GB, free: 93.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/1.42, allocations: 28.02 kB / 0.7033 GB, free: 93.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/1.42, allocations: 4 kB / 0.7033 GB, free: 93.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.313e-05/1.42, allocations: 106.5 kB / 0.7034 GB, free: 93.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/1.434, allocations: 10.87 MB / 0.714 GB, free: 84.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/1.435, allocations: 0.8015 MB / 0.7148 GB, free: 83.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/1.436, allocations: 0.5708 MB / 0.7153 GB, free: 83.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/1.436, allocations: 28.81 kB / 0.7153 GB, free: 83.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/1.436, allocations: 53.8 kB / 0.7154 GB, free: 82.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 3.326e-06/1.436, allocations: 0 / 0.7154 GB, free: 82.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.008094/1.444, allocations: 4.242 MB / 0.7195 GB, free: 78.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.444, allocations: 94.42 kB / 0.7196 GB, free: 78.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.446, allocations: 1.169 MB / 0.7208 GB, free: 77.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.446, allocations: 49.69 kB / 0.7208 GB, free: 77.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009191/1.447, allocations: 0.9742 MB / 0.7218 GB, free: 76.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/1.447, allocations: 457.5 kB / 0.7222 GB, free: 75.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/1.447, allocations: 0 / 0.7222 GB, free: 75.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/1.448, allocations: 381.9 kB / 0.7226 GB, free: 75.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009511/1.449, allocations: 0.5546 MB / 0.7231 GB, free: 74.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.45, allocations: 1.099 MB / 0.7242 GB, free: 73.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/1.451, allocations: 0.6278 MB / 0.7248 GB, free: 73.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/1.451, allocations: 7.938 kB / 0.7248 GB, free: 73.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.00445/1.456, allocations: 2.08 MB / 0.7268 GB, free: 70.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/1.456, allocations: 9.781 kB / 0.7268 GB, free: 70.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/1.456, allocations: 23.98 kB / 0.7269 GB, free: 70.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/1.458, allocations: 1.096 MB / 0.7279 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/1.459, allocations: 315.5 kB / 0.7282 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/1.461, allocations: 1.895 MB / 0.7301 GB, free: 67.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/1.463, allocations: 203.8 kB / 0.7303 GB, free: 67.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/1.464, allocations: 89.86 kB / 0.7304 GB, free: 67.34 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brakes.brake_3.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_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: 79 * Number of states: 0 () * Number of discrete variables: 57 (driverEnvironment.ignition.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,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 (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {4 54} Notification: Performance of prepare postOptimizeDAE: time 0.0004899/1.464, allocations: 206.8 kB / 0.7306 GB, free: 67.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/1.464, allocations: 181.7 kB / 0.7307 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/1.468, allocations: 1.854 MB / 0.7325 GB, free: 65.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.468, allocations: 14.81 kB / 0.7326 GB, free: 65.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.468, allocations: 8 kB / 0.7326 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/1.468, allocations: 11.91 kB / 0.7326 GB, free: 65.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007503/1.475, allocations: 4.302 MB / 0.7368 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.476, allocations: 3.25 kB / 0.7368 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/1.476, allocations: 155.8 kB / 0.7369 GB, free: 60.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/1.478, allocations: 1.009 MB / 0.7379 GB, free: 59.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.478, allocations: 23.95 kB / 0.7379 GB, free: 59.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/1.48, allocations: 1.702 MB / 0.7396 GB, free: 57.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.48, allocations: 4 kB / 0.7396 GB, free: 57.83 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00397/1.484, allocations: 2.547 MB / 0.7421 GB, free: 55.22 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004833/1.489, allocations: 3.625 MB / 0.7456 GB, free: 51.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007502/1.49, allocations: 398 kB / 0.746 GB, free: 51.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/1.49, allocations: 32.06 kB / 0.746 GB, free: 51.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000977/1.491, allocations: 123.8 kB / 0.7462 GB, free: 50.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004462/1.492, allocations: 244.7 kB / 0.7464 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.492, allocations: 55.95 kB / 0.7465 GB, free: 50.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001461/1.493, allocations: 0.848 MB / 0.7473 GB, free: 49.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002462/1.496, allocations: 387.9 kB / 0.7476 GB, free: 49.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (chassis.body.s,chassis.dragForces.v_rel) * Number of discrete variables: 21 (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) * Number of discrete states: 12 (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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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 {4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004387/1.496, allocations: 169.6 kB / 0.7478 GB, free: 49.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00271/1.499, allocations: 1.576 MB / 0.7493 GB, free: 47.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.499, allocations: 0 / 0.7493 GB, free: 47.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.501, allocations: 0.7898 MB / 0.7501 GB, free: 46.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.502, allocations: 243.3 kB / 0.7504 GB, free: 46.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/1.509, allocations: 3.056 MB / 0.7533 GB, free: 43.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.511, allocations: 1.76 MB / 0.7551 GB, free: 41.76 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/1.511, allocations: 4 kB / 0.7551 GB, free: 41.76 MB / 442.7 MB (rm -f VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Examples_ConventionalVehicle_AltNames_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Examples_ConventionalVehicle_AltNames.fmu > VehicleInterfaces_VehicleInterfaces.Examples.ConventionalVehicle_AltNames.pipe 2>&1)