Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 92.28 kB / 16.37 MB, free: 5.969 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.001509/0.001509, allocations: 180.9 kB / 17.27 MB, free: 5.824 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.621/1.621, allocations: 223.2 MB / 241.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.2801/0.2801, allocations: 12.04 MB / 304.4 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.000337, allocations: 8 kB / 368.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 53.35 MB / 421.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse): time 0.00301/0.1493, allocations: 1.897 MB / 423.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000259/0.1496, allocations: 127.7 kB / 423.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.481e-05/0.1497, allocations: 3.938 kB / 423.7 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1499, allocations: 19.94 kB / 423.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.15, allocations: 7.922 kB / 423.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.1502, allocations: 39.89 kB / 423.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1503, allocations: 51.84 kB / 423.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1504, allocations: 19.97 kB / 423.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.1505, allocations: 23.86 kB / 423.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.1505, allocations: 19.86 kB / 423.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1505, allocations: 4 kB / 423.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.1506, allocations: 19.98 kB / 423.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.1507, allocations: 31.91 kB / 423.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.1507, allocations: 45.64 kB / 423.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1509, allocations: 99.77 kB / 424 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1509, allocations: 0 / 424 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1509, allocations: 3.938 kB / 424 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1509, allocations: 0 / 424 MB, free: 1.613 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004876/0.1514, allocations: 458.6 kB / 424.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1515, allocations: 12.03 kB / 424.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1515, allocations: 15.77 kB / 424.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1518, allocations: 198.8 kB / 424.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1518, allocations: 8 kB / 424.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1518, allocations: 8 kB / 424.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.1524, allocations: 398.4 kB / 425.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1524, allocations: 0 / 425.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1524, allocations: 0 / 425.1 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1524, allocations: 7.953 kB / 425.1 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1525, allocations: 75.97 kB / 425.2 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2832/0.4358, allocations: 311.6 kB / 425.5 MB, free: 39.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.4362, allocations: 192.7 kB / 425.7 MB, free: 39.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.4364, allocations: 133.8 kB / 425.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.533e-05/0.4364, allocations: 2.922 kB / 425.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4365, allocations: 34.81 kB / 425.9 MB, free: 39.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/0.4365, allocations: 0.9688 kB / 425.9 MB, free: 39.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006046/0.4371, allocations: 379.1 kB / 426.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.4372, allocations: 145.7 kB / 426.4 MB, free: 39.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4373, allocations: 148.2 kB / 426.5 MB, free: 38.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.4373, allocations: 26.27 kB / 426.5 MB, free: 38.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.4373, allocations: 95.95 kB / 426.6 MB, free: 38.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.4374, allocations: 25.7 kB / 426.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.4374, allocations: 6.25 kB / 426.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.4375, allocations: 330.7 kB / 427 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.4375, allocations: 50.64 kB / 427 MB, free: 38.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.4377, allocations: 251 kB / 427.3 MB, free: 38.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.4378, allocations: 149.9 kB / 427.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4379, allocations: 7.094 kB / 427.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003843/0.4382, allocations: 352.8 kB / 427.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.4383, allocations: 61.81 kB / 427.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4383, allocations: 8.438 kB / 427.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4383, allocations: 14.03 kB / 427.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.4385, allocations: 61.12 kB / 427.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4385, allocations: 11.44 kB / 427.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.4386, allocations: 29.58 kB / 428 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.4387, allocations: 18.38 kB / 428 MB, free: 38.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],spaceMouseInput.buttons[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.4388, allocations: 223.9 kB / 428.2 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.439, allocations: 202.2 kB / 428.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.238e-05/0.4391, allocations: 20.17 kB / 428.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4391, allocations: 1.781 kB / 428.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4391, allocations: 2.344 kB / 428.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4391, allocations: 2.844 kB / 428.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.4393, allocations: 222.3 kB / 428.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4393, allocations: 0 / 428.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.4394, allocations: 11.91 kB / 428.7 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4394, allocations: 3.938 kB / 428.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.4394, allocations: 6.281 kB / 428.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4394, allocations: 0 / 428.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4394, allocations: 0.8438 kB / 428.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.4397, allocations: 412.9 kB / 429.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.4398, allocations: 97.3 kB / 429.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.4398, allocations: 5.703 kB / 429.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.094e-05/0.4399, allocations: 6.531 kB / 429.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.4399, allocations: 2.062 kB / 429.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.4399, allocations: 5.562 kB / 429.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.354e-05/0.44, allocations: 106.8 kB / 429.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.44, allocations: 0 / 429.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000329/0.4403, allocations: 29.25 kB / 429.3 MB, free: 37.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 (synchronizeRealtime.initialized,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16]) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005442/0.4409, allocations: 277.6 kB / 429.6 MB, free: 37.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.4412, allocations: 314.6 kB / 429.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4412, allocations: 2.078 kB / 429.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.4413, allocations: 124.4 kB / 430 MB, free: 36.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.4417, allocations: 189.6 kB / 430.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.4423, allocations: 432.8 kB / 430.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.4425, allocations: 0.751 MB / 431.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.4425, allocations: 19.66 kB / 431.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4425, allocations: 0 / 431.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of Templates: time 0.0038/0.4463, allocations: 2.133 MB / 433.5 MB, free: 35.57 MB / 350.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouse.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouseCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputSpaceMouseCalcHelperMain.o] Error 1