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.001229/0.001229, allocations: 105.5 kB / 16.45 MB, free: 6.445 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.001191/0.001191, allocations: 186.4 kB / 17.38 MB, free: 5.668 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.05677/0.05677, allocations: 12.05 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 419.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08461, allocations: 52.32 MB / 471.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.003278/0.08792, allocations: 2.242 MB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.08821, allocations: 127.6 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.08828, allocations: 3.938 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.08844, allocations: 19.86 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/0.08852, allocations: 7.938 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.08872, allocations: 43.89 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.08885, allocations: 75.77 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.08895, allocations: 23.95 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.089, allocations: 31.86 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.08906, allocations: 19.86 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.08908, allocations: 8 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.08914, allocations: 27.97 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.08922, allocations: 31.92 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.08929, allocations: 55.61 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.08947, allocations: 143.4 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.08949, allocations: 4 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08949, allocations: 0 / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.0895, allocations: 0 / 474.7 MB, free: 10.49 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004713/0.08998, allocations: 478.1 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.09003, allocations: 11.97 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.09007, allocations: 54.67 kB / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.09012, allocations: 16.75 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.09039, allocations: 204.1 kB / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.09042, allocations: 12.38 kB / 475.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.09045, allocations: 8.375 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.09097, allocations: 395.6 kB / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.09099, allocations: 3.938 kB / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.09101, allocations: 0 / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.09102, allocations: 0 / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.09114, allocations: 79.97 kB / 476 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.09153, allocations: 321.5 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.09178, allocations: 185.5 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.09195, allocations: 133.8 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.09199, allocations: 4 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.09203, allocations: 38.56 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.09204, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005424/0.09259, allocations: 391.8 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.09268, allocations: 141.2 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.09282, allocations: 139.6 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.09284, allocations: 29.7 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.09291, allocations: 100.6 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.09295, allocations: 23.92 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.09304, allocations: 61.97 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.09317, allocations: 330.8 kB / 477.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.09326, allocations: 48.53 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.09348, allocations: 256.5 kB / 478.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.09387, allocations: 421.8 kB / 478.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.09388, allocations: 0 / 478.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004378/0.09433, allocations: 356.5 kB / 478.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.09438, allocations: 59.41 kB / 478.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.09439, allocations: 8 kB / 478.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.09441, allocations: 8 kB / 479 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.09457, allocations: 68.47 kB / 479 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.09459, allocations: 15.92 kB / 479 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.09471, allocations: 35.69 kB / 479.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.09475, allocations: 19.98 kB / 479.1 MB, free: 5.578 MB / 350.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.0001688/0.09492, allocations: 223.3 kB / 479.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.09514, allocations: 200.2 kB / 479.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.09522, allocations: 22.05 kB / 479.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.09523, allocations: 7.875 kB / 479.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.09524, allocations: 8 kB / 479.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.09525, allocations: 0 / 479.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.09544, allocations: 209.4 kB / 479.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.09545, allocations: 0 / 479.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.0955, allocations: 12 kB / 479.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.09551, allocations: 0 / 479.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.09552, allocations: 4 kB / 479.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.09553, allocations: 0 / 479.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.09554, allocations: 3.984 kB / 479.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.09594, allocations: 415.8 kB / 480.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.09601, allocations: 92.86 kB / 480.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.09603, allocations: 4 kB / 480.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.09609, allocations: 4 kB / 480.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.09613, allocations: 7.984 kB / 480.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.09615, allocations: 4 kB / 480.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.312e-05/0.09623, allocations: 100.7 kB / 480.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09623, allocations: 4 kB / 480.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.09658, allocations: 39.98 kB / 480.4 MB, free: 4.117 MB / 350.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.001123/0.09771, allocations: 1.115 MB / 481.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.09811, allocations: 324 kB / 481.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.09813, allocations: 0 / 481.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.09821, allocations: 115.2 kB / 482 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.09866, allocations: 197.7 kB / 482.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1009, allocations: 2.414 MB / 484.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1012, allocations: 0.7519 MB / 485.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.751e-05/0.1013, allocations: 21.42 kB / 485.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.1013, allocations: 43.42 kB / 485.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1014, allocations: 0 / 485.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.1201, allocations: 3.844 MB / 489.2 MB, free: 11.12 MB / 366.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 -- Installing dynamic dependencies from list: /usr/lib/x86_64-linux-gnu/librt.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libMDDSpaceMouse.a;/usr/lib/x86_64-linux-gnu/libX11.so -- 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