Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 102.5 kB / 16.31 MB, free: 6.391 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.001212/0.001212, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.05927/0.05927, allocations: 12.04 MB / 303.1 MB, free: 3.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 60.27 kB / 366.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2273, allocations: 52.32 MB / 418.9 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.003238/0.2306, allocations: 2.24 MB / 421.1 MB, free: 18.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000257/0.2309, allocations: 127.5 kB / 421.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.231, allocations: 4 kB / 421.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.2311, allocations: 19.86 kB / 421.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.2312, allocations: 19.86 kB / 421.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.2314, allocations: 39.45 kB / 421.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2316, allocations: 71.77 kB / 421.4 MB, free: 18.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2317, allocations: 27.98 kB / 421.4 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.2317, allocations: 23.86 kB / 421.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.2318, allocations: 27.86 kB / 421.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.2318, allocations: 4 kB / 421.5 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.2319, allocations: 35.91 kB / 421.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.336e-05/0.232, allocations: 27.92 kB / 421.6 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.232, allocations: 55.61 kB / 421.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.2322, allocations: 131.5 kB / 421.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2322, allocations: 0 / 421.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.2322, allocations: 0 / 421.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2322, allocations: 0 / 421.7 MB, free: 18.14 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004015/0.2327, allocations: 476.7 kB / 422.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2327, allocations: 8.031 kB / 422.2 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.2327, allocations: 50.73 kB / 422.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.2328, allocations: 16.75 kB / 422.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.233, allocations: 204.1 kB / 422.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.233, allocations: 8.375 kB / 422.5 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.233, allocations: 8.312 kB / 422.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.2334, allocations: 403.8 kB / 422.9 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2334, allocations: 11.88 kB / 422.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2334, allocations: 0 / 422.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2335, allocations: 0 / 422.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.963e-05/0.2336, allocations: 83.91 kB / 423 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.2338, allocations: 317.6 kB / 423.3 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.234, allocations: 181.4 kB / 423.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2341, allocations: 141.8 kB / 423.6 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.2342, allocations: 8 kB / 423.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2342, allocations: 30.56 kB / 423.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.272e-06/0.2342, allocations: 0 / 423.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0004416/0.2347, allocations: 383.1 kB / 424 MB, free: 15.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.2347, allocations: 141 kB / 424.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.2348, allocations: 144.1 kB / 424.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.2348, allocations: 25.7 kB / 424.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.2349, allocations: 104.6 kB / 424.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2349, allocations: 23.83 kB / 424.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.2349, allocations: 57.98 kB / 424.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.235, allocations: 334.8 kB / 424.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.2351, allocations: 48.53 kB / 424.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2352, allocations: 248.5 kB / 425.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.2354, allocations: 429.8 kB / 425.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2354, allocations: 0 / 425.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003468/0.2358, allocations: 360.3 kB / 425.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.2358, allocations: 59.41 kB / 425.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2358, allocations: 8 kB / 426 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2358, allocations: 8.812 kB / 426 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.236, allocations: 63.91 kB / 426 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.236, allocations: 15.94 kB / 426 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.2361, allocations: 27.75 kB / 426.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.2361, allocations: 16 kB / 426.1 MB, free: 13.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],spaceMouseInput.buttons[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.000135/0.2363, allocations: 227.2 kB / 426.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.2365, allocations: 209 kB / 426.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.2365, allocations: 21.89 kB / 426.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2365, allocations: 4.141 kB / 426.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.2366, allocations: 11.98 kB / 426.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2366, allocations: 0 / 426.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.2367, allocations: 213.3 kB / 426.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2367, allocations: 0 / 426.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.2368, allocations: 12.19 kB / 426.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2368, allocations: 0 / 426.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2368, allocations: 7.938 kB / 426.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2368, allocations: 0 / 426.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2368, allocations: 0 / 426.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.2371, allocations: 419.8 kB / 427.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.2371, allocations: 96.8 kB / 427.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.2372, allocations: 4 kB / 427.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.2372, allocations: 4 kB / 427.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.2372, allocations: 7.984 kB / 427.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.2373, allocations: 8 kB / 427.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.2373, allocations: 97.61 kB / 427.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2373, allocations: 4 kB / 427.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.2376, allocations: 32 kB / 427.4 MB, free: 11.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,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]) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0007759/0.2384, allocations: 1.109 MB / 428.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000299/0.2387, allocations: 332.3 kB / 428.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2387, allocations: 0 / 428.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/0.2388, allocations: 122.9 kB / 429 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.2392, allocations: 185.6 kB / 429.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.2408, allocations: 2.395 MB / 431.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.2409, allocations: 0.7442 MB / 432.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.241, allocations: 25.36 kB / 432.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.241, allocations: 43.42 kB / 432.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.241, allocations: 0 / 432.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.2589, allocations: 3.765 MB / 436.1 MB, free: 2.859 MB / 302.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && "cmake" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && "cmake" --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.fmutmp/sources/../binaries/linux64 -- Linking /usr/lib/x86_64-linux-gnu/librt.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libMDDSpaceMouse.a -- Linking /usr/lib/x86_64-linux-gnu/libX11.so -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.fmutmp/sources/build_cmake_dynamic [ 1%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/gc/memory_pool.c.o [ 2%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/gc/omc_gc.c.o [ 4%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/math-support/pivot.c.o [ 5%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/meta/meta_modelica_catch.c.o [ 7%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/jacobian_util.c.o [ 8%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/omc_simulation_util.c.o [ 10%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/options.c.o [ 11%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/simulation_info_json.c.o [ 13%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/simulation_omc_assert.c.o [ 14%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/solver/delay.c.o [ 16%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/solver/fmi_events.c.o [ 17%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/solver/initialization/initialization.c.o [ 19%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/solver/model_help.c.o [ 20%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/solver/omc_math.c.o [ 22%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/solver/spatialDistribution.c.o [ 23%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/solver/stateset.c.o [ 25%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/simulation/solver/synchronous.c.o [ 26%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/ModelicaUtilities.c.o [ 28%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/base_array.c.o [ 29%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/boolean_array.c.o [ 31%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/context.c.o [ 32%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/division.c.o [ 34%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/doubleEndedList.c.o [ 35%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/generic_array.c.o [ 37%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/index_spec.c.o [ 38%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/integer_array.c.o [ 40%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/list.c.o [ 41%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/modelica_string.c.o [ 43%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/modelica_string_lit.c.o [ 44%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/omc_error.c.o [ 46%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/omc_file.c.o [ 47%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/omc_init.c.o [ 49%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/omc_mmap.c.o [ 50%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/omc_msvc.c.o [ 52%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/omc_numbers.c.o [ 53%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/parallel_helper.c.o [ 55%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/rational.c.o [ 56%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/real_array.c.o [ 58%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/ringbuffer.c.o [ 59%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/simulation_options.c.o [ 61%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/string_array.c.o [ 62%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/utility.c.o [ 64%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/util/varinfo.c.o [ 65%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.c.o [ 67%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_01exo.c.o [ 68%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_02nls.c.o [ 70%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_03lsy.c.o [ 71%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_04set.c.o [ 73%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_05evt.c.o [ 74%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_06inz.c.o [ 76%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_07dly.c.o [ 77%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_08bnd.c.o [ 79%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_09alg.c.o [ 80%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_10asr.c.o [ 82%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_11mix.c.o [ 83%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_12jac.c.o [ 85%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_13opt.c.o [ 86%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_14lnz.c.o [ 88%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_15syn.c.o [ 89%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_16dae.c.o [ 91%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_17inl.c.o [ 92%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_18spd.c.o [ 94%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_FMU.c.o [ 95%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_functions.c.o [ 97%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_init_fmu.c.o [ 98%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse_records.c.o [100%] Linking C shared library Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.so /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) gmake[2]: *** [CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/build.make:1141: Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.so] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputSpaceMouse.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2