Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 121.8 kB / 17.13 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 194.9 kB / 18.06 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 241.8 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06017/0.06017, allocations: 12.04 MB / 304 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.89 kB / 420.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.0914, allocations: 52.31 MB / 473.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.004349/0.09578, allocations: 2.722 MB / 475.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000685/0.0965, allocations: 346.8 kB / 476.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.09668, allocations: 7.938 kB / 476.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.09697, allocations: 51.64 kB / 476.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.09711, allocations: 23.8 kB / 476.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.09739, allocations: 95.69 kB / 476.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.09773, allocations: 255.6 kB / 476.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.09798, allocations: 138.5 kB / 476.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.09811, allocations: 91.62 kB / 476.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.09829, allocations: 111.5 kB / 476.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.09835, allocations: 20 kB / 476.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.09846, allocations: 32 kB / 476.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.09859, allocations: 91.73 kB / 477 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.09875, allocations: 143.1 kB / 477.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.09919, allocations: 374.5 kB / 477.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.0992, allocations: 0 / 477.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09921, allocations: 0 / 477.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.09923, allocations: 0 / 477.5 MB, free: 8.34 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001158/0.1004, allocations: 0.6277 MB / 478.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1004, allocations: 8.031 kB / 478.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.922e-05/0.1005, allocations: 44.47 kB / 478.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.101, allocations: 298.7 kB / 478.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.101, allocations: 12.38 kB / 478.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.1011, allocations: 20.38 kB / 478.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.1015, allocations: 315.7 kB / 478.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1016, allocations: 192 / 478.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.1016, allocations: 11.94 kB / 478.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1016, allocations: 12 kB / 478.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.1019, allocations: 212.4 kB / 479.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.103, allocations: 0.7351 MB / 479.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.1045, allocations: 0.5502 MB / 480.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1048, allocations: 166 kB / 480.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.1048, allocations: 4 kB / 480.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.1051, allocations: 244.5 kB / 480.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.893e-06/0.1052, allocations: 0 / 480.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008496/0.106, allocations: 0.5772 MB / 481.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.1061, allocations: 105.1 kB / 481.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1064, allocations: 244.9 kB / 481.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.1064, allocations: 53.69 kB / 481.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1065, allocations: 160.5 kB / 481.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1066, allocations: 126.4 kB / 482 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.1068, allocations: 98.25 kB / 482.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1069, allocations: 346.8 kB / 482.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.1072, allocations: 209 kB / 482.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.1077, allocations: 387.4 kB / 483 MB, free: 2.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.1084, allocations: 0.6143 MB / 483.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.1084, allocations: 4 kB / 483.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009511/0.1094, allocations: 0.6489 MB / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1094, allocations: 8 kB / 484.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.1094, allocations: 8 kB / 484.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.1095, allocations: 8 kB / 484.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.1098, allocations: 88.39 kB / 484.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.1098, allocations: 8 kB / 484.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.11, allocations: 55.52 kB / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.11, allocations: 24 kB / 484.5 MB, free: 0.9414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 45 (spaceMouseInput.buttons[16],$PRE.spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],$PRE.spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],$PRE.spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],$PRE.spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],$PRE.spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],$PRE.spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],$PRE.spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],$PRE.spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],$PRE.spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],$PRE.spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],$PRE.spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],$PRE.spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],$PRE.spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],$PRE.spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],$PRE.spaceMouseInput.buttons[2],spaceMouseInput.buttons[1],$PRE.spaceMouseInput.buttons[1],$whenCondition1,spaceMouseInput.AxesRaw[6],$PRE.spaceMouseInput.AxesRaw[6],spaceMouseInput.AxesRaw[5],$PRE.spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[4],$PRE.spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[3],$PRE.spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[2],$PRE.spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[1],$PRE.spaceMouseInput.AxesRaw[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.1103, allocations: 252.9 kB / 484.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.1103, allocations: 31.56 kB / 484.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/0.1104, allocations: 30.97 kB / 484.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1104, allocations: 0 / 484.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1105, allocations: 3.984 kB / 484.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1105, allocations: 7.938 kB / 484.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.1108, allocations: 349.3 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1109, allocations: 3.938 kB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.111, allocations: 23.98 kB / 485.2 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.111, allocations: 4 kB / 485.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.1111, allocations: 11.98 kB / 485.2 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1111, allocations: 4 kB / 485.2 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1111, allocations: 3.938 kB / 485.2 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009303/0.112, allocations: 0.6658 MB / 485.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1121, allocations: 100.8 kB / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.1122, allocations: 8.188 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.1123, allocations: 15.98 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.1124, allocations: 19.92 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1124, allocations: 4 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1126, allocations: 176.5 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1126, allocations: 0 / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.113, allocations: 79.84 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (spaceMouseInput.firstOrder[1].y,spaceMouseInput.firstOrder[2].y,spaceMouseInput.firstOrder[3].y,spaceMouseInput.firstOrder[4].y,spaceMouseInput.firstOrder[5].y,spaceMouseInput.firstOrder[6].y) * Number of discrete variables: 23 ($whenCondition1,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16],spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006825/0.1137, allocations: 242.7 kB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007581/0.1145, allocations: 486.2 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1145, allocations: 256 / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.1147, allocations: 201.6 kB / 487.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1151, allocations: 51.02 kB / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1164, allocations: 0.7454 MB / 488 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.1169, allocations: 0.8268 MB / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.117, allocations: 23.44 kB / 488.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.117, allocations: 0 / 488.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.007862/0.1248, allocations: 4.593 MB / 493.4 MB, free: 7.902 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouseCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouseCalcHelperMain.cpp clang++ -std=c++17 -fopenmp=libomp -shared -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.so OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouseCalcHelperMain.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Examples" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library" -lrt -lWinmm -lMDDSpaceMouse -lX11 -lOMCppSystem -lOMCppModelicaUtilities -lOMCppDataExchange -lOMCppMath -lOMCppExtensionUtilities -lOMCppOMCFactory -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,-rpath,"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -L"/usr/lib/x86_64-linux-gnu" -lboost_filesystem -lboost_system -lboost_serialization -lboost_program_options -ldl -L. -llapack -lblas /usr/bin/ld: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libMDDSpaceMouse.a(MDDSpaceMouse.c.o): relocation R_X86_64_32 against symbol `MDD_spaceMouseXEventsProcessing' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: failed to set dynamic section sizes: bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.makefile:83: Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse] Error 1