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.001435/0.001435, allocations: 105.4 kB / 16.57 MB, free: 6.719 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.001797/0.001797, allocations: 191.7 kB / 17.49 MB, free: 6.004 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.331/1.331, allocations: 222.9 MB / 241.2 MB, free: 15.48 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.05587/0.05587, allocations: 12.02 MB / 303.3 MB, free: 3.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.89 kB / 366.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2287, allocations: 52.32 MB / 418.7 MB, free: 21.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.003645/0.2324, allocations: 2.76 MB / 421.5 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000456/0.2329, allocations: 334.9 kB / 421.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.233, allocations: 7.938 kB / 421.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.2333, allocations: 39.78 kB / 421.9 MB, free: 18.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.676e-05/0.2334, allocations: 19.84 kB / 421.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.2336, allocations: 87.78 kB / 422 MB, free: 18.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.2338, allocations: 243.6 kB / 422.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.234, allocations: 134.4 kB / 422.4 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.2341, allocations: 75.7 kB / 422.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.2343, allocations: 99.47 kB / 422.5 MB, free: 17.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.2343, allocations: 12 kB / 422.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.2344, allocations: 24 kB / 422.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.2345, allocations: 83.67 kB / 422.6 MB, free: 17.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.861e-05/0.2346, allocations: 127.1 kB / 422.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.2348, allocations: 273.4 kB / 423 MB, free: 17.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2348, allocations: 4 kB / 423 MB, free: 17.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2348, allocations: 3.938 kB / 423 MB, free: 17.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2349, allocations: 0 / 423 MB, free: 17.04 MB / 302.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.0009067/0.2358, allocations: 0.6124 MB / 423.7 MB, free: 16.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2358, allocations: 11.97 kB / 423.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.2359, allocations: 40.47 kB / 423.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2362, allocations: 302.6 kB / 424 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2362, allocations: 12.38 kB / 424 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.2363, allocations: 24.36 kB / 424 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.2366, allocations: 311.7 kB / 424.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2367, allocations: 4.172 kB / 424.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.2367, allocations: 11.94 kB / 424.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.2367, allocations: 4 kB / 424.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.237, allocations: 214.8 kB / 424.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.2377, allocations: 0.739 MB / 425.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.2391, allocations: 0.5444 MB / 425.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2393, allocations: 170 kB / 426 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.2393, allocations: 0 / 426 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.2396, allocations: 236.5 kB / 426.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.142e-06/0.2396, allocations: 0 / 426.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.0006651/0.2402, allocations: 0.585 MB / 426.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2403, allocations: 105.1 kB / 426.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.2405, allocations: 244.9 kB / 427.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2405, allocations: 45.69 kB / 427.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.2406, allocations: 172.5 kB / 427.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.2407, allocations: 126.4 kB / 427.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.2408, allocations: 98.25 kB / 427.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.2409, allocations: 346.8 kB / 428 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.2412, allocations: 205.1 kB / 428.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.2414, allocations: 380.2 kB / 428.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.242, allocations: 0.6143 MB / 429.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.242, allocations: 8 kB / 429.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007187/0.2427, allocations: 0.641 MB / 429.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2428, allocations: 8.562 kB / 429.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2428, allocations: 7.938 kB / 429.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.2428, allocations: 16 kB / 429.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.2431, allocations: 87.83 kB / 429.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2431, allocations: 11.94 kB / 429.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.2433, allocations: 51.45 kB / 430 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.2433, allocations: 24 kB / 430 MB, free: 9.668 MB / 302.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.0002101/0.2435, allocations: 241 kB / 430.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.2436, allocations: 32.06 kB / 430.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.691e-05/0.2437, allocations: 30.95 kB / 430.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2437, allocations: 4 kB / 430.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2437, allocations: 0 / 430.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2437, allocations: 3.938 kB / 430.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.244, allocations: 357.3 kB / 430.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2441, allocations: 0 / 430.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.2442, allocations: 31.92 kB / 430.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2442, allocations: 7.984 kB / 430.7 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2443, allocations: 8 kB / 430.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2443, allocations: 0 / 430.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2443, allocations: 0 / 430.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.245, allocations: 0.6771 MB / 431.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.245, allocations: 104.8 kB / 431.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2451, allocations: 11.98 kB / 431.5 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.2452, allocations: 8 kB / 431.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.2452, allocations: 11.92 kB / 431.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2452, allocations: 11.98 kB / 431.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.2453, allocations: 172.5 kB / 431.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2454, allocations: 0 / 431.7 MB, free: 7.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.2457, allocations: 83.83 kB / 431.8 MB, free: 7.801 MB / 302.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.0005259/0.2462, allocations: 242.4 kB / 432 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005279/0.2468, allocations: 477.5 kB / 432.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2468, allocations: 4 kB / 432.5 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.247, allocations: 201.5 kB / 432.7 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2473, allocations: 40.41 kB / 432.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2483, allocations: 0.8733 MB / 433.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.2485, allocations: 0.8115 MB / 434.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.2486, allocations: 27.42 kB / 434.4 MB, free: 5.117 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2486, allocations: 4 kB / 434.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of Templates: time 0.005173/0.2538, allocations: 4.548 MB / 439 MB, free: 0.5742 MB / 302.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++14 -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++14 -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/usr/lib/x86_64-linux-gnu -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