Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 94.58 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.498e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 47.57 MB / 369.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.5827, allocations: 114.1 MB / 483.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/0.5832, allocations: 98.72 kB / 483.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.258/2.841, allocations: 360.7 MB / 0.8242 GB, free: 9.969 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.404e-06/2.841, allocations: 4 kB / 0.8242 GB, free: 9.965 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.002447/2.844, allocations: 368 kB / 0.8246 GB, free: 9.605 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4558 * Number of variables: 4558 Notification: Performance of Generate backend data structure: time 0.07825/2.922, allocations: 15.27 MB / 0.8395 GB, free: 10.23 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/2.922, allocations: 11.88 kB / 0.8395 GB, free: 10.22 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01344/2.936, allocations: 2.265 MB / 0.8417 GB, free: 7.941 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03203/2.968, allocations: 3.576 MB / 0.8452 GB, free: 4.34 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4724/3.44, allocations: 19.85 MB / 0.8646 GB, free: 36.45 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002722/3.443, allocations: 1.302 MB / 0.8659 GB, free: 36.32 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009881/3.453, allocations: 1.632 MB / 0.8675 GB, free: 36.28 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1044/3.557, allocations: 26.62 MB / 0.8935 GB, free: 33.35 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002035/3.56, allocations: 142 kB / 0.8936 GB, free: 33.32 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008168/3.568, allocations: 0.6666 MB / 0.8943 GB, free: 33.32 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005687/3.573, allocations: 1.95 MB / 0.8962 GB, free: 33.29 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0897/3.663, allocations: 22.94 MB / 0.9186 GB, free: 33.05 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2907/3.954, allocations: 110.4 MB / 1.026 GB, free: 268 kB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5032/4.457, allocations: 16.95 MB / 1.043 GB, free: 78.87 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02453/4.482, allocations: 9.923 MB / 1.053 GB, free: 78.76 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1109/4.593, allocations: 36.92 MB / 1.089 GB, free: 76.45 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05106/4.644, allocations: 10.95 MB / 1.099 GB, free: 75.81 MB / 490.8 MB Notification: Performance of pre-optimization done (n=784): time 2.251e-05/4.644, allocations: 0 / 1.099 GB, free: 75.81 MB / 490.8 MB Notification: Performance of matching and sorting (n=944): time 0.4782/5.122, allocations: 102.3 MB / 1.199 GB, free: 16.38 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004773/5.123, allocations: 1.516 MB / 1.201 GB, free: 14.52 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02843/5.151, allocations: 9.24 MB / 1.21 GB, free: 6.246 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003959/5.155, allocations: 234.9 kB / 1.21 GB, free: 6.02 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.4189/5.574, allocations: 7.643 MB / 1.218 GB, free: 73.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00779/5.582, allocations: 3.26 MB / 1.221 GB, free: 71.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004515/5.587, allocations: 262.3 kB / 1.221 GB, free: 71.93 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001456/5.588, allocations: 0.8277 MB / 1.222 GB, free: 71.59 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02596/5.614, allocations: 8.485 MB / 1.23 GB, free: 71.56 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03071/5.645, allocations: 13 MB / 1.243 GB, free: 66.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0281/5.673, allocations: 10.22 MB / 1.253 GB, free: 66.13 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002221/5.673, allocations: 37.28 kB / 1.253 GB, free: 66.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=1671) (initialization): time 0.07517/5.748, allocations: 22.4 MB / 1.275 GB, free: 65.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001656/5.749, allocations: 63.98 kB / 1.275 GB, free: 65.18 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003229/5.749, allocations: 135.7 kB / 1.275 GB, free: 65.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/5.753, allocations: 1.19 MB / 1.276 GB, free: 65.03 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03263/5.786, allocations: 3.514 MB / 1.279 GB, free: 64.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/5.813, allocations: 26.86 MB / 1.306 GB, free: 41.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02688/5.839, allocations: 1.315 MB / 1.307 GB, free: 41.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005107/5.845, allocations: 0.6061 MB / 1.308 GB, free: 41.62 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 160 (axis6.gear.bearingFriction.free,axis5.gear.bearingFriction.free,axis4.gear.bearingFriction.free,axis3.gear.bearingFriction.free,axis2.gear.bearingFriction.free,axis1.gear.bearingFriction.free,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis6.moving[6],pathPlanning.terminateSimulation.condition,$PRE.axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startForward,$PRE.axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,$PRE.axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.mode,$PRE.axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startForward,$PRE.axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,$PRE.axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.mode,$PRE.axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startForward,$PRE.axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,$PRE.axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.mode,$PRE.axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startForward,$PRE.axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,$PRE.axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.mode,$PRE.axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startForward,$PRE.axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,$PRE.axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.mode,$PRE.axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startForward,$PRE.axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,$PRE.axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.mode,pathPlanning.path.noWphase,mechanics.load.color[3],mechanics.load.color[2],mechanics.load.color[1],mechanics.load.body.sphereColor[3],mechanics.load.body.sphereColor[2],mechanics.load.body.sphereColor[1],mechanics.load.frameTranslation.color[3],mechanics.load.frameTranslation.color[2],mechanics.load.frameTranslation.color[1],mechanics.b6.color[3],mechanics.b6.color[2],mechanics.b6.color[1],mechanics.b6.body.sphereColor[3],mechanics.b6.body.sphereColor[2],mechanics.b6.body.sphereColor[1],mechanics.b6.frameTranslation.color[3],mechanics.b6.frameTranslation.color[2],mechanics.b6.frameTranslation.color[1],mechanics.b5.color[3],mechanics.b5.color[2],mechanics.b5.color[1],mechanics.b5.body.sphereColor[3],mechanics.b5.body.sphereColor[2],mechanics.b5.body.sphereColor[1],mechanics.b5.frameTranslation.color[3],mechanics.b5.frameTranslation.color[2],mechanics.b5.frameTranslation.color[1],mechanics.b4.color[3],mechanics.b4.color[2],mechanics.b4.color[1],mechanics.b4.body.sphereColor[3],mechanics.b4.body.sphereColor[2],mechanics.b4.body.sphereColor[1],mechanics.b4.frameTranslation.color[3],mechanics.b4.frameTranslation.color[2],mechanics.b4.frameTranslation.color[1],mechanics.b3.color[3],mechanics.b3.color[2],mechanics.b3.color[1],mechanics.b3.body.sphereColor[3],mechanics.b3.body.sphereColor[2],mechanics.b3.body.sphereColor[1],mechanics.b3.frameTranslation.color[3],mechanics.b3.frameTranslation.color[2],mechanics.b3.frameTranslation.color[1],mechanics.b2.color[3],mechanics.b2.color[2],mechanics.b2.color[1],mechanics.b2.body.sphereColor[3],mechanics.b2.body.sphereColor[2],mechanics.b2.body.sphereColor[1],mechanics.b2.frameTranslation.color[3],mechanics.b2.frameTranslation.color[2],mechanics.b2.frameTranslation.color[1],mechanics.b1.color[3],mechanics.b1.color[2],mechanics.b1.color[1],mechanics.b1.body.sphereColor[3],mechanics.b1.body.sphereColor[2],mechanics.b1.body.sphereColor[1],mechanics.b1.frameTranslation.color[3],mechanics.b1.frameTranslation.color[2],mechanics.b1.frameTranslation.color[1],mechanics.b0.color[3],mechanics.b0.color[2],mechanics.b0.color[1],mechanics.b0.body.sphereColor[3],mechanics.b0.body.sphereColor[2],mechanics.b0.body.sphereColor[1],mechanics.b0.frameTranslation.color[3],mechanics.b0.frameTranslation.color[2],mechanics.b0.frameTranslation.color[1],mechanics.r6.cylinderColor[3],mechanics.r6.cylinderColor[2],mechanics.r6.cylinderColor[1],mechanics.r5.cylinderColor[3],mechanics.r5.cylinderColor[2],mechanics.r5.cylinderColor[1],mechanics.r4.cylinderColor[3],mechanics.r4.cylinderColor[2],mechanics.r4.cylinderColor[1],mechanics.r3.cylinderColor[3],mechanics.r3.cylinderColor[2],mechanics.r3.cylinderColor[1],mechanics.r2.cylinderColor[3],mechanics.r2.cylinderColor[2],mechanics.r2.cylinderColor[1],mechanics.r1.cylinderColor[3],mechanics.r1.cylinderColor[2],mechanics.r1.cylinderColor[1],mechanics.world.groundColor[3],mechanics.world.groundColor[2],mechanics.world.groundColor[1],mechanics.world.gravitySphereColor[3],mechanics.world.gravitySphereColor[2],mechanics.world.gravitySphereColor[1],mechanics.world.gravityArrowColor[3],mechanics.world.gravityArrowColor[2],mechanics.world.gravityArrowColor[1],mechanics.world.axisColor_x[3],mechanics.world.axisColor_x[2],mechanics.world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1629): * Single equations (assignments): 1605 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.009731/5.854, allocations: 1.06 MB / 1.309 GB, free: 41.19 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00681/5.861, allocations: 1.154 MB / 1.31 GB, free: 40.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1154/5.977, allocations: 29.67 MB / 1.339 GB, free: 32.31 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000113/5.977, allocations: 92.25 kB / 1.339 GB, free: 32.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-05/5.977, allocations: 11.02 kB / 1.339 GB, free: 32.3 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002822/5.977, allocations: 47.58 kB / 1.339 GB, free: 32.3 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2262/6.204, allocations: 60.1 MB / 1.397 GB, free: 9.355 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001419/6.204, allocations: 12 kB / 1.398 GB, free: 9.344 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01441/6.218, allocations: 1.459 MB / 1.399 GB, free: 8.117 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4953/6.713, allocations: 13.31 MB / 1.412 GB, free: 79 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003569/6.717, allocations: 214.8 kB / 1.412 GB, free: 79 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0518/6.769, allocations: 26.71 MB / 1.438 GB, free: 69.45 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.74e-05/6.769, allocations: 19.84 kB / 1.438 GB, free: 69.45 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1385/6.908, allocations: 42.35 MB / 1.48 GB, free: 65.21 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01402/6.922, allocations: 3.146 MB / 1.483 GB, free: 65.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007511/6.929, allocations: 232.8 kB / 1.483 GB, free: 65.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02033/6.95, allocations: 1.058 MB / 1.484 GB, free: 65.11 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00505/6.955, allocations: 0.8017 MB / 1.485 GB, free: 65.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002915/6.958, allocations: 275.7 kB / 1.485 GB, free: 65.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01987/6.978, allocations: 6.815 MB / 1.492 GB, free: 63.36 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.102e-06/6.978, allocations: 0 / 1.492 GB, free: 63.36 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02342/7.001, allocations: 3.587 MB / 1.495 GB, free: 63.02 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 36 (axis1.gear.spring.phi_rel,axis1.gear.spring.w_rel,axis1.gear.bearingFriction.phi,axis1.motor.La.i,axis1.motor.C.v,axis1.motor.Jmotor.w,axis1.controller.PI.x,axis2.gear.spring.phi_rel,axis2.gear.spring.w_rel,axis2.gear.bearingFriction.phi,axis2.motor.La.i,axis2.motor.C.v,axis2.motor.Jmotor.w,axis2.controller.PI.x,axis3.gear.spring.phi_rel,axis3.gear.spring.w_rel,axis3.gear.bearingFriction.phi,axis3.motor.La.i,axis3.motor.C.v,axis3.motor.Jmotor.w,axis3.controller.PI.x,axis4.motor.La.i,axis4.motor.C.v,axis4.motor.speed.flange.phi,axis4.motor.Jmotor.w,axis4.controller.PI.x,axis5.motor.La.i,axis5.motor.C.v,axis5.motor.speed.flange.phi,axis5.motor.Jmotor.w,axis5.controller.PI.x,axis6.motor.La.i,axis6.motor.C.v,axis6.motor.speed.flange.phi,axis6.motor.Jmotor.w,axis6.controller.PI.x) * Number of discrete variables: 33 (pathPlanning.terminateSimulation.condition,$whenCondition1,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.pathToAxis2.moving[2],pathPlanning.pathToAxis3.moving[3],pathPlanning.pathToAxis4.moving[4],pathPlanning.pathToAxis5.moving[5],pathPlanning.pathToAxis6.moving[6],axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.locked,axis1.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.locked,axis2.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.locked,axis3.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.locked,axis4.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.locked,axis5.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.locked,axis6.gear.bearingFriction.mode) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startBackward,axis3.gear.bearingFriction.startForward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.startForward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.startForward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.gear.bearingFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (723): * Single equations (assignments): 713 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {7 191,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1363/7.137, allocations: 44.12 MB / 1.538 GB, free: 36.5 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.05562/7.193, allocations: 21.67 MB / 1.559 GB, free: 16.57 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.248e-05/7.193, allocations: 4.438 kB / 1.559 GB, free: 16.57 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.03076/7.224, allocations: 11.09 MB / 1.57 GB, free: 6.18 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02077/7.245, allocations: 1.982 MB / 1.572 GB, free: 4.617 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5866/7.831, allocations: 37.38 MB / 1.609 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0283/7.86, allocations: 8.953 MB / 1.617 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02694/7.887, allocations: 7.709 MB / 1.625 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of SimCode: time 2.434e-06/7.887, allocations: 3.562 kB / 1.625 GB, free: 92.54 MB / 0.5105 GB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotInitialize.cpp:5884:28: error: no matching function for call to 'abs' tmp110 = min_max(std::abs(_pathPlanning_P_path_P_aux1_)).second; ^~~~~~~~ /usr/include/stdlib.h:837:12: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'int' for 1st argument extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:56:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long' for 1st argument abs(long __i) { return __builtin_labs(__i); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:61:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long long' for 1st argument abs(long long __x) { return __builtin_llabs (__x); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:70:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'double' for 1st argument abs(double __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:74:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'float' for 1st argument abs(float __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:78:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long double' for 1st argument abs(long double __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/complex:599:5: note: candidate template ignored: could not match 'complex' against 'StatArrayDim1' abs(const complex<_Tp>& __z) { return __complex_abs(__z.__rep()); } ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotInitialize.cpp:5949:28: error: no matching function for call to 'abs' tmp111 = min_max(std::abs(_pathPlanning_P_path_P_aux2_)).second; ^~~~~~~~ /usr/include/stdlib.h:837:12: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'int' for 1st argument extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:56:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long' for 1st argument abs(long __i) { return __builtin_labs(__i); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:61:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long long' for 1st argument abs(long long __x) { return __builtin_llabs (__x); } ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:70:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'double' for 1st argument abs(double __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:74:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'float' for 1st argument abs(float __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/std_abs.h:78:3: note: candidate function not viable: no known conversion from 'StatArrayDim1' to 'long double' for 1st argument abs(long double __x) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/complex:599:5: note: candidate template ignored: could not match 'complex' against 'StatArrayDim1' abs(const complex<_Tp>& __z) { return __complex_abs(__z.__rep()); } ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.o] Error 1