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.001455/0.001454, allocations: 101.9 kB / 16.31 MB, free: 5.879 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.001612/0.001612, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.17 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.05597/0.05597, allocations: 12.05 MB / 303.1 MB, free: 3.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 366.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2058, allocations: 52.33 MB / 418.9 MB, free: 21.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.003861/0.2098, allocations: 2.723 MB / 421.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000434/0.2102, allocations: 346.8 kB / 422 MB, free: 18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2103, allocations: 7.938 kB / 422 MB, free: 17.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.2106, allocations: 55.62 kB / 422 MB, free: 17.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.2107, allocations: 15.8 kB / 422 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2109, allocations: 99.7 kB / 422.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.2111, allocations: 255.7 kB / 422.4 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.2113, allocations: 134.5 kB / 422.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.2114, allocations: 91.62 kB / 422.6 MB, free: 17.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2115, allocations: 111.5 kB / 422.7 MB, free: 17.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.2115, allocations: 20 kB / 422.7 MB, free: 17.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.2116, allocations: 39.92 kB / 422.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.2117, allocations: 95.73 kB / 422.9 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.2118, allocations: 135.2 kB / 423 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.2121, allocations: 349 kB / 423.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2121, allocations: 0 / 423.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2121, allocations: 0 / 423.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.2121, allocations: 0 / 423.3 MB, free: 16.61 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007663/0.2129, allocations: 0.6395 MB / 424 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2129, allocations: 8.031 kB / 424 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.2129, allocations: 62.72 kB / 424.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.213, allocations: 36.47 kB / 424.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2133, allocations: 298.6 kB / 424.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2133, allocations: 16.36 kB / 424.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.2133, allocations: 24.38 kB / 424.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.2137, allocations: 307.7 kB / 424.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2137, allocations: 7.938 kB / 424.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.2137, allocations: 12 kB / 424.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2137, allocations: 4 kB / 424.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.214, allocations: 212.4 kB / 424.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.2147, allocations: 0.7352 MB / 425.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.216, allocations: 0.5445 MB / 426.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2161, allocations: 169.9 kB / 426.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.2162, allocations: 3.938 kB / 426.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.2164, allocations: 246.4 kB / 426.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 1.653e-06/0.2164, allocations: 0 / 426.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.0006419/0.2171, allocations: 0.581 MB / 427.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.2171, allocations: 109.1 kB / 427.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.2173, allocations: 244.9 kB / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.2173, allocations: 41.7 kB / 427.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.2174, allocations: 168.5 kB / 427.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.2175, allocations: 126.4 kB / 427.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.2176, allocations: 98.25 kB / 428 MB, free: 11.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.2177, allocations: 346.8 kB / 428.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.2179, allocations: 205.1 kB / 428.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.2182, allocations: 388.1 kB / 428.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.2188, allocations: 0.6066 MB / 429.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2188, allocations: 7.984 kB / 429.5 MB, free: 10 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006853/0.2195, allocations: 0.6454 MB / 430.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2195, allocations: 8 kB / 430.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.2195, allocations: 7.984 kB / 430.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.2196, allocations: 12 kB / 430.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.2198, allocations: 83.84 kB / 430.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.2198, allocations: 19.86 kB / 430.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.22, allocations: 47.53 kB / 430.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.2201, allocations: 24 kB / 430.4 MB, free: 9.148 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 45 (spaceMouseInput.buttons[16],$PRE.spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],$PRE.spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],$PRE.spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],$PRE.spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],$PRE.spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],$PRE.spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],$PRE.spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],$PRE.spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],$PRE.spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],$PRE.spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],$PRE.spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],$PRE.spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],$PRE.spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],$PRE.spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],$PRE.spaceMouseInput.buttons[2],spaceMouseInput.buttons[1],$PRE.spaceMouseInput.buttons[1],$whenCondition1,spaceMouseInput.AxesRaw[6],$PRE.spaceMouseInput.AxesRaw[6],spaceMouseInput.AxesRaw[5],$PRE.spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[4],$PRE.spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[3],$PRE.spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[2],$PRE.spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[1],$PRE.spaceMouseInput.AxesRaw[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.2202, allocations: 241.2 kB / 430.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.2203, allocations: 31.62 kB / 430.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.315e-05/0.2204, allocations: 30.95 kB / 430.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2204, allocations: 4 kB / 430.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.2204, allocations: 7.938 kB / 430.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2204, allocations: 0 / 430.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.2207, allocations: 353.2 kB / 431 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2207, allocations: 4 kB / 431 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.2209, allocations: 27.97 kB / 431.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2209, allocations: 3.938 kB / 431.1 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2209, allocations: 12 kB / 431.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2209, allocations: 0 / 431.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2209, allocations: 3.938 kB / 431.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.2215, allocations: 0.6656 MB / 431.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.2216, allocations: 108.7 kB / 431.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.2216, allocations: 8.438 kB / 431.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.2217, allocations: 11.98 kB / 431.9 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.2218, allocations: 15.92 kB / 431.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.2218, allocations: 4 kB / 431.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.2219, allocations: 184.4 kB / 432.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2219, allocations: 7.938 kB / 432.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.2223, allocations: 83.84 kB / 432.2 MB, free: 7.266 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (spaceMouseInput.firstOrder[1].y,spaceMouseInput.firstOrder[2].y,spaceMouseInput.firstOrder[3].y,spaceMouseInput.firstOrder[4].y,spaceMouseInput.firstOrder[5].y,spaceMouseInput.firstOrder[6].y) * Number of discrete variables: 23 ($whenCondition1,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16],spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.2234, allocations: 1.33 MB / 433.5 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005626/0.224, allocations: 0.5066 MB / 434 MB, free: 5.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.224, allocations: 4.062 kB / 434 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2242, allocations: 201.1 kB / 434.2 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2245, allocations: 60.05 kB / 434.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.2277, allocations: 3.85 MB / 438.1 MB, free: 1.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.2279, allocations: 0.8264 MB / 438.9 MB, free: 260 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.2281, allocations: 79.02 kB / 439 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2282, allocations: 103.4 kB / 439.1 MB, free: 72 kB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2282, allocations: 0 / 439.1 MB, free: 72 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.2541, allocations: 6.482 MB / 445.6 MB, free: 9.738 MB / 318.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 -- 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