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.001541/0.001541, allocations: 188.3 kB / 16.41 MB, free: 5.723 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.056/2.056, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001138/0.001138, allocations: 88.42 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004008, allocations: 8 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.4001, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.6212, allocations: 114.2 MB / 488.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004197/0.6217, allocations: 107.9 kB / 488.9 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.598/3.219, allocations: 360.5 MB / 0.8295 GB, free: 19.02 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.906e-06/3.219, allocations: 0 / 0.8295 GB, free: 19.02 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001668/3.221, allocations: 370.7 kB / 0.8298 GB, free: 19 MB / 442.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.07365/3.295, allocations: 16.96 MB / 0.8464 GB, free: 12.89 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/3.295, allocations: 6.875 kB / 0.8464 GB, free: 12.89 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0131/3.308, allocations: 2.273 MB / 0.8486 GB, free: 12.74 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03402/3.342, allocations: 3.567 MB / 0.8521 GB, free: 11.7 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05985/3.402, allocations: 19.94 MB / 0.8716 GB, free: 9.844 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001864/3.404, allocations: 1.3 MB / 0.8728 GB, free: 9.711 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00893/3.413, allocations: 1.636 MB / 0.8744 GB, free: 9.672 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09846/3.511, allocations: 26.98 MB / 0.9008 GB, free: 6.645 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001625/3.513, allocations: 146 kB / 0.9009 GB, free: 6.609 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007688/3.521, allocations: 0.67 MB / 0.9016 GB, free: 6.609 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005313/3.526, allocations: 1.944 MB / 0.9035 GB, free: 6.57 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08835/3.614, allocations: 23.47 MB / 0.9264 GB, free: 5.543 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.709/4.323, allocations: 110.4 MB / 1.034 GB, free: 22.37 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06174/4.385, allocations: 14.78 MB / 1.049 GB, free: 22.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1018/4.487, allocations: 36.91 MB / 1.085 GB, free: 19.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05205/4.539, allocations: 11.08 MB / 1.096 GB, free: 19.09 MB / 490.8 MB Notification: Performance of pre-optimization done (n=784): time 1.907e-05/4.539, allocations: 0 / 1.096 GB, free: 19.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=944): time 1.084/5.623, allocations: 128.3 MB / 1.221 GB, free: 57.26 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005604/5.624, allocations: 1.526 MB / 1.222 GB, free: 55.5 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02976/5.653, allocations: 9.365 MB / 1.232 GB, free: 54.88 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003474/5.657, allocations: 227.7 kB / 1.232 GB, free: 54.85 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.009312/5.666, allocations: 7.65 MB / 1.239 GB, free: 51.34 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.006632/5.673, allocations: 3.253 MB / 1.242 GB, free: 49.32 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003398/5.676, allocations: 261.6 kB / 1.243 GB, free: 49.32 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001033/5.678, allocations: 0.829 MB / 1.243 GB, free: 48.98 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02446/5.702, allocations: 8.774 MB / 1.252 GB, free: 48.95 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02919/5.731, allocations: 13.3 MB / 1.265 GB, free: 43.68 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03418/5.765, allocations: 10.45 MB / 1.275 GB, free: 43.54 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/5.766, allocations: 38.95 kB / 1.275 GB, free: 43.54 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1671) (initialization): time 0.07089/5.837, allocations: 22.98 MB / 1.298 GB, free: 42.68 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/5.837, allocations: 62.5 kB / 1.298 GB, free: 42.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002582/5.837, allocations: 142.2 kB / 1.298 GB, free: 42.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/5.841, allocations: 1.188 MB / 1.299 GB, free: 42.53 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03072/5.871, allocations: 3.51 MB / 1.302 GB, free: 42.32 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02684/5.898, allocations: 27.03 MB / 1.329 GB, free: 17.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02461/5.923, allocations: 1.316 MB / 1.33 GB, free: 17.75 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004505/5.927, allocations: 0.6096 MB / 1.331 GB, free: 17.64 MB / 0.4949 GB 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 () * Number of clocked 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.01981/5.947, allocations: 5.236 MB / 1.336 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006132/5.953, allocations: 1.15 MB / 1.337 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1311/6.085, allocations: 30.87 MB / 1.367 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001385/6.085, allocations: 93.12 kB / 1.367 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.693e-05/6.085, allocations: 7.828 kB / 1.367 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002743/6.085, allocations: 42.7 kB / 1.367 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6403/6.725, allocations: 58.57 MB / 1.424 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001792/6.726, allocations: 13.64 kB / 1.424 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01645/6.742, allocations: 1.46 MB / 1.426 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06823/6.81, allocations: 13.36 MB / 1.439 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003339/6.814, allocations: 210.4 kB / 1.439 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04893/6.863, allocations: 26.84 MB / 1.465 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-05/6.863, allocations: 14.09 kB / 1.465 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1391/7.002, allocations: 43.03 MB / 1.507 GB, free: 54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0128/7.015, allocations: 3.153 MB / 1.51 GB, free: 52.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006786/7.022, allocations: 242.1 kB / 1.511 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01933/7.041, allocations: 1.054 MB / 1.512 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005445/7.047, allocations: 0.8037 MB / 1.512 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003439/7.05, allocations: 271.5 kB / 1.513 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02101/7.071, allocations: 6.943 MB / 1.52 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/7.071, allocations: 1.594 kB / 1.52 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02323/7.094, allocations: 3.585 MB / 1.523 GB, free: 43.68 MB / 0.5105 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) * Number of clocked states: 0 () * 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.1421/7.237, allocations: 44.8 MB / 1.567 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.4493/7.686, allocations: 23.96 MB / 1.59 GB, free: 80.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-05/7.686, allocations: 9.312 kB / 1.59 GB, free: 80.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.03307/7.719, allocations: 11.33 MB / 1.601 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0205/7.74, allocations: 1.973 MB / 1.603 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9169/8.657, allocations: 248.3 MB / 1.846 GB, free: 118.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.025/8.682, allocations: 8.95 MB / 1.854 GB, free: 117.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0233/8.705, allocations: 7.71 MB / 1.862 GB, free: 117.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.282e-06/8.705, allocations: 3.125 kB / 1.862 GB, free: 117.1 MB / 0.573 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:5815: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:5880: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