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: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_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.00147/0.001469, allocations: 106.5 kB / 16.45 MB, free: 6.496 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.00159/0.00159, allocations: 189.5 kB / 17.39 MB, free: 5.688 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.06135/0.06135, allocations: 12.04 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 419.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 52.32 MB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.005046/0.1186, allocations: 2.722 MB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006862/0.1194, allocations: 350.8 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1196, allocations: 7.938 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1199, allocations: 51.58 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1201, allocations: 19.8 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1204, allocations: 103.7 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.1208, allocations: 251.7 kB / 475.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.1211, allocations: 138.7 kB / 475.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.1213, allocations: 95.62 kB / 475.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1215, allocations: 111.4 kB / 475.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.1216, allocations: 20 kB / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1217, allocations: 43.97 kB / 475.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.1218, allocations: 87.75 kB / 475.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.122, allocations: 131.2 kB / 476 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.1225, allocations: 370.2 kB / 476.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1225, allocations: 4 kB / 476.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1225, allocations: 0 / 476.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1225, allocations: 0 / 476.4 MB, free: 8.848 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.001208/0.1238, allocations: 0.6469 MB / 477 MB, free: 8.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1238, allocations: 12.03 kB / 477 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.688e-05/0.1239, allocations: 58.67 kB / 477.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.124, allocations: 40.69 kB / 477.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.1245, allocations: 295 kB / 477.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1245, allocations: 12.38 kB / 477.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.1246, allocations: 24.33 kB / 477.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.1251, allocations: 315.6 kB / 477.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1252, allocations: 3.938 kB / 477.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.1252, allocations: 8 kB / 477.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1252, allocations: 11.94 kB / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.1256, allocations: 208.4 kB / 478 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1268, allocations: 0.7431 MB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.1284, allocations: 0.5483 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.1286, allocations: 166 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1287, allocations: 0 / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.129, allocations: 244.5 kB / 479.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.129, allocations: 3.938 kB / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008801/0.1299, allocations: 0.5774 MB / 480.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.13, allocations: 109 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1303, allocations: 244.9 kB / 480.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.1303, allocations: 49.69 kB / 480.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1305, allocations: 156.8 kB / 480.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1306, allocations: 135 kB / 480.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1308, allocations: 98.25 kB / 481 MB, free: 3.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.131, allocations: 346.8 kB / 481.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.1313, allocations: 209.1 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.1318, allocations: 391.3 kB / 482 MB, free: 2.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008107/0.1326, allocations: 0.6105 MB / 482.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1326, allocations: 4 kB / 482.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001026/0.1337, allocations: 0.6414 MB / 483.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.1337, allocations: 9.875 kB / 483.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.1337, allocations: 4 kB / 483.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/0.1338, allocations: 12 kB / 483.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.1341, allocations: 91.77 kB / 483.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.1342, allocations: 11.94 kB / 483.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.1344, allocations: 51.66 kB / 483.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.1345, allocations: 24.41 kB / 483.4 MB, free: 1.359 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.0002876/0.1347, allocations: 248.9 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.1348, allocations: 27.81 kB / 483.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.026e-05/0.1349, allocations: 39.39 kB / 483.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1349, allocations: 0 / 483.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1349, allocations: 3.938 kB / 483.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1349, allocations: 7.984 kB / 483.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.1354, allocations: 365.2 kB / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.1354, allocations: 0 / 484.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1357, allocations: 23.98 kB / 484.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.1357, allocations: 4 kB / 484.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.1357, allocations: 8 kB / 484.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1357, allocations: 3.984 kB / 484.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1357, allocations: 3.938 kB / 484.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.1367, allocations: 0.6735 MB / 484.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.1367, allocations: 100.9 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.1368, allocations: 8.062 kB / 484.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1369, allocations: 11.98 kB / 484.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.137, allocations: 15.92 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.137, allocations: 4 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1372, allocations: 180.5 kB / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1372, allocations: 3.938 kB / 485.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000472/0.1377, allocations: 83.83 kB / 485.2 MB, free: 15.46 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.001817/0.1395, allocations: 1.339 MB / 486.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.1403, allocations: 478 kB / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1403, allocations: 0 / 487 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.1405, allocations: 197.6 kB / 487.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.141, allocations: 55.33 kB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.1462, allocations: 3.869 MB / 491.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.1467, allocations: 0.819 MB / 491.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.1469, allocations: 78.91 kB / 492 MB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.1471, allocations: 95.41 kB / 492.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1471, allocations: 0 / 492.1 MB, free: 8.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.1846, allocations: 6.672 MB / 498.8 MB, free: 1.816 MB / 366.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_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.Blocks.Examples.TestInputSpaceMouse/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_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.Blocks.Examples.TestInputSpaceMouse/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.fmutmp/sources/build_cmake_dynamic [ 1%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/gc/memory_pool.c.o [ 2%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/gc/omc_gc.c.o [ 4%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/math-support/pivot.c.o [ 5%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/meta/meta_modelica_catch.c.o [ 7%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/jacobian_util.c.o [ 8%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/omc_simulation_util.c.o [ 10%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/options.c.o [ 11%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/simulation_info_json.c.o [ 13%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/simulation_omc_assert.c.o [ 14%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/solver/delay.c.o [ 16%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/solver/fmi_events.c.o [ 17%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/solver/initialization/initialization.c.o [ 19%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/solver/model_help.c.o [ 20%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/solver/omc_math.c.o [ 22%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/solver/spatialDistribution.c.o [ 23%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/solver/stateset.c.o [ 25%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/simulation/solver/synchronous.c.o [ 26%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/ModelicaUtilities.c.o [ 28%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/base_array.c.o [ 29%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/boolean_array.c.o [ 31%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/context.c.o [ 32%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/division.c.o [ 34%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/doubleEndedList.c.o [ 35%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/generic_array.c.o [ 37%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/index_spec.c.o [ 38%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/integer_array.c.o [ 40%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/list.c.o [ 41%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/modelica_string.c.o [ 43%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/modelica_string_lit.c.o [ 44%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/omc_error.c.o [ 46%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/omc_file.c.o [ 47%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/omc_init.c.o [ 49%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/omc_mmap.c.o [ 50%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/omc_msvc.c.o [ 52%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/omc_numbers.c.o [ 53%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/parallel_helper.c.o [ 55%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/rational.c.o [ 56%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/real_array.c.o [ 58%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/ringbuffer.c.o [ 59%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/simulation_options.c.o [ 61%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/string_array.c.o [ 62%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/utility.c.o [ 64%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/util/varinfo.c.o [ 65%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.c.o [ 67%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_01exo.c.o [ 68%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_02nls.c.o [ 70%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_03lsy.c.o [ 71%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_04set.c.o [ 73%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_05evt.c.o [ 74%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_06inz.c.o [ 76%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_07dly.c.o [ 77%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_08bnd.c.o [ 79%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_09alg.c.o [ 80%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_10asr.c.o [ 82%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_11mix.c.o [ 83%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_12jac.c.o [ 85%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_13opt.c.o [ 86%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_14lnz.c.o [ 88%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_15syn.c.o [ 89%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_16dae.c.o [ 91%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_17inl.c.o [ 92%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_18spd.c.o [ 94%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_FMU.c.o [ 95%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_functions.c.o [ 97%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_init_fmu.c.o [ 98%] Building C object CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse_records.c.o [100%] Linking C shared library Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_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_Blocks_Examples_TestInputSpaceMouse.dir/build.make:1141: Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.so] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2