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 1.945/1.945, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.528e-05, allocations: 3.984 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09528, allocations: 44.5 MB / 300 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.5379, allocations: 107.7 MB / 407.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.5383, allocations: 95.38 kB / 407.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.248/2.786, allocations: 359 MB / 0.7488 GB, free: 16.04 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.697e-06/2.787, allocations: 0 / 0.7488 GB, free: 16.04 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.002048/2.789, allocations: 366.2 kB / 0.7492 GB, free: 16.02 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.07188/2.86, allocations: 15.27 MB / 0.7641 GB, free: 10.73 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/2.861, allocations: 10.16 kB / 0.7641 GB, free: 10.73 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01191/2.873, allocations: 2.255 MB / 0.7663 GB, free: 10.58 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03136/2.904, allocations: 3.573 MB / 0.7698 GB, free: 9.543 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06315/2.967, allocations: 19.85 MB / 0.7892 GB, free: 7.684 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002227/2.969, allocations: 1.301 MB / 0.7904 GB, free: 7.555 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008867/2.978, allocations: 1.631 MB / 0.792 GB, free: 7.516 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1011/3.079, allocations: 26.42 MB / 0.8178 GB, free: 12.37 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00177/3.081, allocations: 142.4 kB / 0.818 GB, free: 12.28 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007901/3.089, allocations: 0.6699 MB / 0.8186 GB, free: 12.12 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005891/3.095, allocations: 1.945 MB / 0.8205 GB, free: 10.78 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4738/3.569, allocations: 23.55 MB / 0.8435 GB, free: 30.39 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2704/3.84, allocations: 110.5 MB / 0.9514 GB, free: 8.246 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05708/3.897, allocations: 14.51 MB / 0.9656 GB, free: 3.293 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02481/3.922, allocations: 10.1 MB / 0.9754 GB, free: 15.48 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.107/4.029, allocations: 36.94 MB / 1.012 GB, free: 6.844 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4602/4.489, allocations: 11.14 MB / 1.022 GB, free: 81.68 MB / 490.8 MB Notification: Performance of pre-optimization done (n=784): time 2.524e-05/4.489, allocations: 0 / 1.022 GB, free: 81.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=951): time 0.5941/5.083, allocations: 106.2 MB / 1.126 GB, free: 65.74 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000422/5.083, allocations: 1.523 MB / 1.128 GB, free: 63.89 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02602/5.109, allocations: 9.216 MB / 1.137 GB, free: 58.43 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003592/5.113, allocations: 229.5 kB / 1.137 GB, free: 58.34 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009203/5.122, allocations: 7.624 MB / 1.144 GB, free: 53.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006449/5.129, allocations: 3.285 MB / 1.147 GB, free: 51.43 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003996/5.133, allocations: 264.2 kB / 1.148 GB, free: 51.38 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001157/5.134, allocations: 0.8336 MB / 1.148 GB, free: 50.9 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02228/5.156, allocations: 8.616 MB / 1.157 GB, free: 43.53 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0265/5.183, allocations: 13.03 MB / 1.17 GB, free: 29.54 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02624/5.209, allocations: 10.36 MB / 1.18 GB, free: 20.65 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/5.209, allocations: 40 kB / 1.18 GB, free: 20.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=1675) (initialization): time 0.4744/5.684, allocations: 22.55 MB / 1.202 GB, free: 71.16 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/5.684, allocations: 67.44 kB / 1.202 GB, free: 71.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000317/5.684, allocations: 140.3 kB / 1.202 GB, free: 71.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003859/5.688, allocations: 1.178 MB / 1.203 GB, free: 71.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03248/5.721, allocations: 3.515 MB / 1.207 GB, free: 71.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02688/5.748, allocations: 26.84 MB / 1.233 GB, free: 48.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02614/5.774, allocations: 1.316 MB / 1.234 GB, free: 48.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005234/5.779, allocations: 0.6162 MB / 1.235 GB, free: 48.14 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 () * 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.009541/5.789, allocations: 1.053 MB / 1.236 GB, free: 48.01 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006579/5.795, allocations: 1.147 MB / 1.237 GB, free: 48.01 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1126/5.908, allocations: 30 MB / 1.266 GB, free: 47.34 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001149/5.908, allocations: 88.81 kB / 1.266 GB, free: 47.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.518e-05/5.908, allocations: 6.156 kB / 1.266 GB, free: 47.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002718/5.909, allocations: 47.34 kB / 1.266 GB, free: 47.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1877/6.096, allocations: 58.74 MB / 1.324 GB, free: 33.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001444/6.097, allocations: 12 kB / 1.324 GB, free: 33.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01421/6.111, allocations: 1.475 MB / 1.325 GB, free: 32.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06673/6.178, allocations: 13.34 MB / 1.338 GB, free: 23.03 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003448/6.181, allocations: 209.4 kB / 1.338 GB, free: 22.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4979/6.679, allocations: 27.56 MB / 1.365 GB, free: 68.11 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.58e-05/6.679, allocations: 17.44 kB / 1.365 GB, free: 68.11 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1363/6.815, allocations: 42.13 MB / 1.406 GB, free: 63.96 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01414/6.83, allocations: 3.182 MB / 1.409 GB, free: 63.87 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007242/6.837, allocations: 238 kB / 1.41 GB, free: 63.87 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0203/6.857, allocations: 1.056 MB / 1.411 GB, free: 63.87 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0052/6.862, allocations: 0.8072 MB / 1.412 GB, free: 63.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003478/6.866, allocations: 273.2 kB / 1.412 GB, free: 63.85 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.02065/6.887, allocations: 6.799 MB / 1.418 GB, free: 63.52 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.653e-06/6.887, allocations: 0 / 1.418 GB, free: 63.52 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.02506/6.912, allocations: 3.606 MB / 1.422 GB, free: 63.52 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) * 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.1355/7.047, allocations: 43.92 MB / 1.465 GB, free: 56.09 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.05396/7.101, allocations: 21.6 MB / 1.486 GB, free: 37.51 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.603e-05/7.102, allocations: 4.438 kB / 1.486 GB, free: 37.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.03144/7.133, allocations: 11.2 MB / 1.497 GB, free: 27.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02038/7.153, allocations: 1.976 MB / 1.499 GB, free: 25.63 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.137/7.291, allocations: 36.16 MB / 1.534 GB, free: 10.79 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.466/7.757, allocations: 9.534 MB / 1.543 GB, free: 75.03 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03089/7.788, allocations: 7.702 MB / 1.551 GB, free: 75.03 MB / 0.4949 GB Notification: Performance of SimCode: time 1.713e-06/7.788, allocations: 0 / 1.551 GB, free: 75.03 MB / 0.4949 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:5861: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:5926: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