Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.fullRobot,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.218/2.218, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003443, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09491, allocations: 44.51 MB / 308.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5588, allocations: 107.8 MB / 416.4 MB, free: 9.816 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.5592, allocations: 95.73 kB / 416.5 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.26/2.82, allocations: 358.8 MB / 0.7571 GB, free: 17.13 MB / 426.8 MB Notification: Performance of FrontEnd: time 4.008e-06/2.82, allocations: 0 / 0.7571 GB, free: 17.13 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.002833/2.822, allocations: 373.2 kB / 0.7574 GB, free: 17.11 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: 4555 * Number of variables: 4555 Notification: Performance of Generate backend data structure: time 0.07813/2.901, allocations: 16.94 MB / 0.774 GB, free: 10.97 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/2.901, allocations: 12.91 kB / 0.774 GB, free: 10.97 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01118/2.912, allocations: 2.272 MB / 0.7762 GB, free: 10.82 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02878/2.941, allocations: 3.563 MB / 0.7797 GB, free: 9.781 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06129/3.002, allocations: 19.93 MB / 0.7992 GB, free: 7.914 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002124/3.004, allocations: 1.304 MB / 0.8004 GB, free: 7.785 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008978/3.013, allocations: 1.636 MB / 0.802 GB, free: 7.746 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1181/3.131, allocations: 27.27 MB / 0.8287 GB, free: 11.22 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00173/3.133, allocations: 142.2 kB / 0.8288 GB, free: 11.13 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007662/3.141, allocations: 0.6712 MB / 0.8295 GB, free: 10.69 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005889/3.147, allocations: 1.945 MB / 0.8314 GB, free: 9.07 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.491/3.638, allocations: 24.12 MB / 0.8549 GB, free: 32.53 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2564/3.894, allocations: 110.5 MB / 0.9628 GB, free: 9.289 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06076/3.955, allocations: 14.8 MB / 0.9772 GB, free: 4.309 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1599/4.115, allocations: 37.16 MB / 1.014 GB, free: 13.89 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06722/4.183, allocations: 11.09 MB / 1.024 GB, free: 5.32 MB / 490.8 MB Notification: Performance of pre-optimization done (n=784): time 2.227e-05/4.183, allocations: 0 / 1.024 GB, free: 5.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=951): time 1.301/5.484, allocations: 133.1 MB / 1.154 GB, free: 58.01 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005063/5.484, allocations: 1.528 MB / 1.156 GB, free: 56.15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02763/5.512, allocations: 9.341 MB / 1.165 GB, free: 51.03 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003753/5.516, allocations: 235.4 kB / 1.165 GB, free: 50.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009647/5.525, allocations: 7.622 MB / 1.173 GB, free: 45.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.007038/5.532, allocations: 3.278 MB / 1.176 GB, free: 42.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00408/5.537, allocations: 263.2 kB / 1.176 GB, free: 42.61 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001134/5.538, allocations: 0.827 MB / 1.177 GB, free: 41.92 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02601/5.564, allocations: 8.908 MB / 1.186 GB, free: 34.12 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02974/5.594, allocations: 13.41 MB / 1.199 GB, free: 20.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.511/6.105, allocations: 12.16 MB / 1.211 GB, free: 72.82 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000187/6.105, allocations: 37.25 kB / 1.211 GB, free: 72.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=1675) (initialization): time 0.08938/6.194, allocations: 23.24 MB / 1.233 GB, free: 72.38 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/6.194, allocations: 61 kB / 1.233 GB, free: 72.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003255/6.195, allocations: 137.3 kB / 1.234 GB, free: 72.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/6.199, allocations: 1.193 MB / 1.235 GB, free: 72.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03186/6.231, allocations: 3.519 MB / 1.238 GB, free: 72.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02737/6.258, allocations: 27.03 MB / 1.264 GB, free: 49.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02625/6.284, allocations: 1.313 MB / 1.266 GB, free: 49.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004932/6.289, allocations: 0.6106 MB / 1.266 GB, free: 49.02 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 157 (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.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 (1633): * Single equations (assignments): 1609 * 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.02197/6.311, allocations: 5.237 MB / 1.271 GB, free: 48.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006999/6.318, allocations: 1.152 MB / 1.273 GB, free: 48.66 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1212/6.44, allocations: 30.48 MB / 1.302 GB, free: 47.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001232/6.44, allocations: 88.44 kB / 1.302 GB, free: 47.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-05/6.44, allocations: 9.406 kB / 1.302 GB, free: 47.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003258/6.44, allocations: 44.34 kB / 1.303 GB, free: 47.86 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1932/6.633, allocations: 59.23 MB / 1.36 GB, free: 17.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001875/6.634, allocations: 10.88 kB / 1.36 GB, free: 17.44 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0138/6.647, allocations: 1.474 MB / 1.362 GB, free: 16.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06896/6.716, allocations: 13.39 MB / 1.375 GB, free: 7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003314/6.72, allocations: 219.5 kB / 1.375 GB, free: 6.809 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4779/7.198, allocations: 26.84 MB / 1.401 GB, free: 64.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/7.198, allocations: 18.92 kB / 1.401 GB, free: 64.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1376/7.335, allocations: 42.83 MB / 1.443 GB, free: 60.74 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01302/7.349, allocations: 3.182 MB / 1.446 GB, free: 60.64 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007644/7.356, allocations: 250.2 kB / 1.446 GB, free: 60.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01975/7.376, allocations: 1.05 MB / 1.448 GB, free: 60.64 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00519/7.381, allocations: 0.8142 MB / 1.448 GB, free: 60.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003278/7.385, allocations: 273.6 kB / 1.449 GB, free: 60.63 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.02097/7.406, allocations: 6.916 MB / 1.455 GB, free: 60.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.92e-07/7.406, allocations: 0 / 1.455 GB, free: 60.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02458/7.43, allocations: 3.609 MB / 1.459 GB, free: 60.34 MB / 490.8 MB 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,axis6.gear.bearingFriction.mode,axis6.gear.bearingFriction.startForward,axis6.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (730): * Single equations (assignments): 720 * 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.1401/7.57, allocations: 44.61 MB / 1.502 GB, free: 39.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.05855/7.629, allocations: 22.52 MB / 1.524 GB, free: 19.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-05/7.629, allocations: 4.438 kB / 1.524 GB, free: 19.51 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.03362/7.663, allocations: 11.53 MB / 1.536 GB, free: 9.188 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02054/7.683, allocations: 1.984 MB / 1.538 GB, free: 7.617 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.074/8.757, allocations: 248.7 MB / 1.78 GB, free: 12.68 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02418/8.781, allocations: 8.968 MB / 1.789 GB, free: 11.62 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0232/8.805, allocations: 7.704 MB / 1.797 GB, free: 11.62 MB / 0.5887 GB Notification: Performance of SimCode: time 1.312e-06/8.805, allocations: 0 / 1.797 GB, free: 11.62 MB / 0.5887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.o OMCppModelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotInitialize.cpp:5792:28: error: no matching function for call to 'abs' tmp111 = 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_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:31: ./OMCppModelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotInitialize.cpp:5857:28: error: no matching function for call to 'abs' tmp112 = 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_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotFMU.cpp:11: /var/lib/jenkins/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_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Systems_RobotR3_fullRobotCalcHelperMain.o] Error 1