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.001053/0.001053, allocations: 108.3 kB / 16.45 MB, free: 6.434 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.001058/0.001058, allocations: 192.2 kB / 17.38 MB, free: 5.66 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.05918/0.05918, allocations: 12.04 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 72.11 kB / 419.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.08549, allocations: 52.32 MB / 471.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.004453/0.08998, allocations: 2.722 MB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.09073, allocations: 354.8 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.0909, allocations: 7.938 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.0912, allocations: 43.66 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.09135, allocations: 27.78 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.09167, allocations: 87.72 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.09202, allocations: 259.6 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.09228, allocations: 126.5 kB / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.09242, allocations: 99.61 kB / 475.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.09261, allocations: 119.4 kB / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.173e-05/0.09267, allocations: 20 kB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.09278, allocations: 40 kB / 475.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.09291, allocations: 91.72 kB / 475.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.09306, allocations: 131.2 kB / 476 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.09348, allocations: 370.2 kB / 476.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.0935, allocations: 0 / 476.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09351, allocations: 0 / 476.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.09352, allocations: 0 / 476.4 MB, free: 8.836 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.001149/0.09468, allocations: 0.6317 MB / 477 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.09474, allocations: 12.02 kB / 477 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.015e-05/0.09482, allocations: 58.73 kB / 477.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.09492, allocations: 36.47 kB / 477.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.09534, allocations: 302.6 kB / 477.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.09537, allocations: 16.38 kB / 477.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.09543, allocations: 24.28 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.09588, allocations: 319.6 kB / 477.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.0959, allocations: 7.875 kB / 477.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.09592, allocations: 8 kB / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.09594, allocations: 4 kB / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.09624, allocations: 212.4 kB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.09716, allocations: 0.7313 MB / 478.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.09868, allocations: 0.5445 MB / 479.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.09889, allocations: 166 kB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.09894, allocations: 4 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.09924, allocations: 240.5 kB / 479.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.814e-06/0.09926, allocations: 4 kB / 479.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.0007915/0.1001, allocations: 0.5886 MB / 480.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1001, allocations: 105 kB / 480.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1004, allocations: 244.9 kB / 480.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.1004, allocations: 41.7 kB / 480.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1005, allocations: 164.6 kB / 480.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.1006, allocations: 130.4 kB / 480.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1008, allocations: 98.25 kB / 481 MB, free: 3.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1009, allocations: 346.8 kB / 481.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.1012, allocations: 205.1 kB / 481.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.1016, allocations: 387.6 kB / 481.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.1023, allocations: 0.618 MB / 482.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1023, allocations: 4 kB / 482.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009002/0.1032, allocations: 0.6415 MB / 483.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1033, allocations: 13.86 kB / 483.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.1033, allocations: 8 kB / 483.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.1033, allocations: 11.94 kB / 483.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1036, allocations: 91.78 kB / 483.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.1037, allocations: 15.92 kB / 483.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.1038, allocations: 39.59 kB / 483.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.1039, allocations: 24 kB / 483.4 MB, free: 1.367 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.0002503/0.1041, allocations: 241 kB / 483.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.1042, allocations: 31.62 kB / 483.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.1043, allocations: 30.95 kB / 483.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1043, allocations: 11.97 kB / 483.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1043, allocations: 3.938 kB / 483.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1043, allocations: 4 kB / 483.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.1047, allocations: 353.7 kB / 484 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.1047, allocations: 4 kB / 484 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.1049, allocations: 31.97 kB / 484.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1049, allocations: 0 / 484.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.1049, allocations: 8 kB / 484.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1049, allocations: 4 kB / 484.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.105, allocations: 3.938 kB / 484.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/0.1058, allocations: 0.6694 MB / 484.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.1058, allocations: 104.8 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.1059, allocations: 8.062 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.106, allocations: 11.98 kB / 484.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.106, allocations: 11.92 kB / 484.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1061, allocations: 7.938 kB / 484.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1062, allocations: 180.5 kB / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1062, allocations: 0 / 485.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1066, allocations: 87.75 kB / 485.2 MB, free: 15.48 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.001391/0.108, allocations: 1.332 MB / 486.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.1087, allocations: 485.9 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1087, allocations: 256 / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.1089, allocations: 197.6 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1093, allocations: 53.48 kB / 487.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.1138, allocations: 3.857 MB / 491.1 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1142, allocations: 0.8229 MB / 491.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.1144, allocations: 74.91 kB / 492 MB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.1145, allocations: 99.41 kB / 492.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1146, allocations: 0 / 492.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.1434, allocations: 6.664 MB / 498.7 MB, free: 1.852 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