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.002241/0.00224, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.271/2.271, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 83.53 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.7e-05, allocations: 4 kB / 314.9 MB, free: 9.02 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3423, allocations: 47.55 MB / 362.4 MB, free: 45.71 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.5394, allocations: 113.4 MB / 475.9 MB, free: 4.723 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003785/0.5399, allocations: 95.94 kB / 476 MB, free: 4.629 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.874/2.414, allocations: 356.4 MB / 0.8129 GB, free: 1.559 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.134e-06/2.414, allocations: 0 / 0.8129 GB, free: 1.559 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.002043/2.416, allocations: 371.9 kB / 0.8132 GB, free: 1.195 MB / 427.1 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.07374/2.489, allocations: 15.27 MB / 0.8282 GB, free: 1.816 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/2.49, allocations: 12.03 kB / 0.8282 GB, free: 1.805 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3952/2.885, allocations: 3.571 MB / 0.8317 GB, free: 39.5 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06409/2.949, allocations: 19.84 MB / 0.851 GB, free: 38.28 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002177/2.951, allocations: 0.7811 MB / 0.8518 GB, free: 38.15 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009119/2.96, allocations: 0.9921 MB / 0.8528 GB, free: 38.12 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06021/3.021, allocations: 18.91 MB / 0.8712 GB, free: 38.05 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07891/3.1, allocations: 22.9 MB / 0.8936 GB, free: 35.19 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001725/3.101, allocations: 149.2 kB / 0.8937 GB, free: 35.15 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007043/3.108, allocations: 33.19 kB / 0.8938 GB, free: 35.15 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005327/3.114, allocations: 1.946 MB / 0.8957 GB, free: 35.12 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2684/3.382, allocations: 107.8 MB / 1.001 GB, free: 7.773 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4238/3.806, allocations: 12.92 MB / 1.014 GB, free: 77.89 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02056/3.827, allocations: 9.652 MB / 1.023 GB, free: 77.79 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/3.829, allocations: 342 kB / 1.023 GB, free: 77.59 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02587/3.855, allocations: 9.984 MB / 1.033 GB, free: 76.92 MB / 491.1 MB Notification: Performance of pre-optimization done (n=798): time 2.705e-05/3.855, allocations: 0 / 1.033 GB, free: 76.92 MB / 491.1 MB Notification: Performance of matching and sorting (n=986): time 0.3988/4.254, allocations: 100.2 MB / 1.131 GB, free: 49.88 MB / 491.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004704/4.254, allocations: 1.524 MB / 1.132 GB, free: 48.01 MB / 491.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02433/4.278, allocations: 7.952 MB / 1.14 GB, free: 40.95 MB / 491.1 MB Notification: Performance of collectPreVariables (initialization): time 0.003847/4.282, allocations: 69.27 kB / 1.14 GB, free: 40.88 MB / 491.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.009389/4.292, allocations: 7.723 MB / 1.148 GB, free: 33.85 MB / 491.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.007143/4.299, allocations: 3.263 MB / 1.151 GB, free: 30.87 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004151/4.303, allocations: 2.188 kB / 1.151 GB, free: 30.87 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.001192/4.304, allocations: 0.8398 MB / 1.152 GB, free: 30.18 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02151/4.326, allocations: 8.679 MB / 1.16 GB, free: 22.18 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02614/4.352, allocations: 13.11 MB / 1.173 GB, free: 8.133 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02909/4.381, allocations: 10.54 MB / 1.183 GB, free: 15.55 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002243/4.382, allocations: 40 kB / 1.183 GB, free: 15.51 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1702) (initialization): time 0.4548/4.837, allocations: 21.97 MB / 1.205 GB, free: 85.91 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/4.837, allocations: 60.66 kB / 1.205 GB, free: 85.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000325/4.837, allocations: 136.4 kB / 1.205 GB, free: 85.91 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003847/4.841, allocations: 1.168 MB / 1.206 GB, free: 85.77 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03259/4.874, allocations: 3.567 MB / 1.21 GB, free: 85.77 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/4.899, allocations: 25.95 MB / 1.235 GB, free: 63.89 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02512/4.924, allocations: 1.054 MB / 1.236 GB, free: 63.89 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005027/4.929, allocations: 0.6191 MB / 1.237 GB, free: 63.89 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis6.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis5.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis4.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis3.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis2.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis1.gear.bearingFriction.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: 599 * 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.path.noWphase,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,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 (1660): * Single equations (assignments): 1636 * 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.009458/4.939, allocations: 0.6618 MB / 1.237 GB, free: 63.51 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1067/5.046, allocations: 26.84 MB / 1.264 GB, free: 62.97 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007169/5.053, allocations: 1.098 MB / 1.265 GB, free: 62.96 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.104/5.157, allocations: 29.06 MB / 1.293 GB, free: 62.17 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002093/5.157, allocations: 99.77 kB / 1.293 GB, free: 62.17 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/5.157, allocations: 8.719 kB / 1.293 GB, free: 62.17 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003037/5.158, allocations: 44.62 kB / 1.293 GB, free: 62.17 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1518/5.309, allocations: 54.9 MB / 1.347 GB, free: 21.22 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001377/5.31, allocations: 16 kB / 1.347 GB, free: 21.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01437/5.324, allocations: 1.539 MB / 1.348 GB, free: 19.91 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0682/5.392, allocations: 13.23 MB / 1.361 GB, free: 10.79 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00359/5.396, allocations: 74.36 kB / 1.361 GB, free: 10.73 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.463/5.859, allocations: 27.62 MB / 1.388 GB, free: 78.34 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.128e-05/5.859, allocations: 31.14 kB / 1.388 GB, free: 78.34 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1377/5.997, allocations: 44.64 MB / 1.432 GB, free: 72.32 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01372/6.011, allocations: 3.151 MB / 1.435 GB, free: 72.23 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006912/6.018, allocations: 90.41 kB / 1.435 GB, free: 72.23 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02/6.038, allocations: 0.9111 MB / 1.436 GB, free: 72.23 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005126/6.043, allocations: 0.8616 MB / 1.437 GB, free: 72.21 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0033/6.046, allocations: 287.6 kB / 1.437 GB, free: 72.21 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.01765/6.064, allocations: 5.727 MB / 1.443 GB, free: 71.93 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.273e-06/6.064, allocations: 0 / 1.443 GB, free: 71.93 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.02443/6.088, allocations: 3.205 MB / 1.446 GB, free: 71.93 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * 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: 34 (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,pathPlanning.path.noWphase) * Number of discrete states: 18 (axis3.gear.bearingFriction.mode,axis3.gear.bearingFriction.startForward,axis3.gear.bearingFriction.startBackward,axis2.gear.bearingFriction.mode,axis2.gear.bearingFriction.startForward,axis2.gear.bearingFriction.startBackward,axis1.gear.bearingFriction.mode,axis1.gear.bearingFriction.startForward,axis1.gear.bearingFriction.startBackward,axis5.gear.bearingFriction.mode,axis5.gear.bearingFriction.startForward,axis5.gear.bearingFriction.startBackward,axis4.gear.bearingFriction.mode,axis4.gear.bearingFriction.startForward,axis4.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 (765): * Single equations (assignments): 755 * 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 {8 190,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.1374/6.226, allocations: 47.07 MB / 1.492 GB, free: 51.45 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0512/6.277, allocations: 21.84 MB / 1.513 GB, free: 31.41 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 2.522e-05/6.277, allocations: 8.438 kB / 1.513 GB, free: 31.4 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.03254/6.31, allocations: 11.97 MB / 1.525 GB, free: 20.31 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01899/6.329, allocations: 1.627 MB / 1.526 GB, free: 19.06 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5928/6.922, allocations: 37.02 MB / 1.562 GB, free: 93.93 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02337/6.945, allocations: 9.009 MB / 1.571 GB, free: 92.92 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02335/6.968, allocations: 7.718 MB / 1.579 GB, free: 92.92 MB / 0.5108 GB Notification: Performance of SimCode: time 1.453e-06/6.968, allocations: 2 kB / 1.579 GB, free: 92.92 MB / 0.5108 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/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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:5933:28: error: no matching function for call to 'abs' tmp121 = 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:5953:28: error: no matching function for call to 'abs' tmp122 = 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/OMCompiler/build/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