Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.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.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 94.92 kB / 16.37 MB, free: 6.426 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.001287/0.001287, allocations: 191.2 kB / 17.27 MB, free: 6.246 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.504/1.504, allocations: 223.3 MB / 241.3 MB, free: 14.57 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.05739/0.05739, allocations: 12.06 MB / 304.4 MB, free: 2.996 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 12 kB / 368.3 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 53.35 MB / 421.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick): time 0.002361/0.3008, allocations: 1.942 MB / 423.6 MB, free: 18.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.3011, allocations: 124.2 kB / 423.7 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.3011, allocations: 8.594 kB / 423.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3013, allocations: 23.91 kB / 423.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.3014, allocations: 10.97 kB / 423.7 MB, free: 18.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.3016, allocations: 47.83 kB / 423.8 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.899e-05/0.3017, allocations: 55.84 kB / 423.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3019, allocations: 24.19 kB / 423.9 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.3019, allocations: 23.86 kB / 423.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.302, allocations: 35.84 kB / 423.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.302, allocations: 4 kB / 423.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.3021, allocations: 32.53 kB / 424 MB, free: 18.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.3022, allocations: 37.92 kB / 424 MB, free: 18.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.3022, allocations: 49.62 kB / 424 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3024, allocations: 119.7 kB / 424.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3024, allocations: 0 / 424.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3024, allocations: 0 / 424.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3024, allocations: 3.938 kB / 424.2 MB, free: 17.91 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005054/0.3029, allocations: 0.489 MB / 424.7 MB, free: 17.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.303, allocations: 12.03 kB / 424.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.303, allocations: 19.72 kB / 424.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.3032, allocations: 210.8 kB / 424.9 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3032, allocations: 7.984 kB / 424.9 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3033, allocations: 8 kB / 424.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.3039, allocations: 0.5667 MB / 425.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3039, allocations: 0 / 425.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3039, allocations: 8 kB / 425.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3039, allocations: 0 / 425.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3041, allocations: 136.3 kB / 425.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.3044, allocations: 345.8 kB / 426 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.3047, allocations: 331 kB / 426.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.3049, allocations: 174.6 kB / 426.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.3049, allocations: 7.938 kB / 426.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.3049, allocations: 30.56 kB / 426.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 1.443e-06/0.3049, allocations: 0 / 426.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.0005969/0.3055, allocations: 0.5509 MB / 427 MB, free: 14.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3056, allocations: 137.5 kB / 427.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3057, allocations: 175.8 kB / 427.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3057, allocations: 25.7 kB / 427.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.3058, allocations: 105 kB / 427.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.3058, allocations: 31.88 kB / 427.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.3058, allocations: 8 kB / 427.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.3059, allocations: 342.8 kB / 427.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.306, allocations: 64.83 kB / 427.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.3062, allocations: 380 kB / 428.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3064, allocations: 195.2 kB / 428.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3064, allocations: 4 kB / 428.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004808/0.3069, allocations: 484.3 kB / 428.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.3069, allocations: 64.38 kB / 429 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3069, allocations: 12 kB / 429 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.3069, allocations: 20 kB / 429 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.3071, allocations: 87.78 kB / 429.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.3072, allocations: 23.92 kB / 429.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3073, allocations: 43.59 kB / 429.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.3074, allocations: 28 kB / 429.2 MB, free: 12.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (synchronizeRealtime.initialized,joystickInput.buttons[32],joystickInput.buttons[31],joystickInput.buttons[30],joystickInput.buttons[29],joystickInput.buttons[28],joystickInput.buttons[27],joystickInput.buttons[26],joystickInput.buttons[25],joystickInput.buttons[24],joystickInput.buttons[23],joystickInput.buttons[22],joystickInput.buttons[21],joystickInput.buttons[20],joystickInput.buttons[19],joystickInput.buttons[18],joystickInput.buttons[17],joystickInput.buttons[16],joystickInput.buttons[15],joystickInput.buttons[14],joystickInput.buttons[13],joystickInput.buttons[12],joystickInput.buttons[11],joystickInput.buttons[10],joystickInput.buttons[9],joystickInput.buttons[8],joystickInput.buttons[7],joystickInput.buttons[6],joystickInput.buttons[5],joystickInput.buttons[4],joystickInput.buttons[3],joystickInput.buttons[2],joystickInput.buttons[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * 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.0001842/0.3075, allocations: 265 kB / 429.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.3078, allocations: 307.2 kB / 429.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.3079, allocations: 18.62 kB / 429.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3079, allocations: 0 / 429.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3079, allocations: 0 / 429.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3079, allocations: 3.984 kB / 429.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.3081, allocations: 221.3 kB / 430 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3081, allocations: 0 / 430 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.3081, allocations: 19.98 kB / 430 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3082, allocations: 0 / 430 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3082, allocations: 8 kB / 430 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3082, allocations: 0 / 430 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3082, allocations: 0 / 430 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3086, allocations: 0.5098 MB / 430.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.3086, allocations: 104.7 kB / 430.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3086, allocations: 7.984 kB / 430.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.3087, allocations: 8 kB / 430.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.3087, allocations: 4 kB / 430.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.3088, allocations: 4 kB / 430.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.3088, allocations: 113.3 kB / 430.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3088, allocations: 0 / 430.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003696/0.3092, allocations: 40 kB / 430.8 MB, free: 10.65 MB / 302.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: 33 (synchronizeRealtime.initialized,joystickInput.buttons[1],joystickInput.buttons[2],joystickInput.buttons[3],joystickInput.buttons[4],joystickInput.buttons[5],joystickInput.buttons[6],joystickInput.buttons[7],joystickInput.buttons[8],joystickInput.buttons[9],joystickInput.buttons[10],joystickInput.buttons[11],joystickInput.buttons[12],joystickInput.buttons[13],joystickInput.buttons[14],joystickInput.buttons[15],joystickInput.buttons[16],joystickInput.buttons[17],joystickInput.buttons[18],joystickInput.buttons[19],joystickInput.buttons[20],joystickInput.buttons[21],joystickInput.buttons[22],joystickInput.buttons[23],joystickInput.buttons[24],joystickInput.buttons[25],joystickInput.buttons[26],joystickInput.buttons[27],joystickInput.buttons[28],joystickInput.buttons[29],joystickInput.buttons[30],joystickInput.buttons[31],joystickInput.buttons[32]) * 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.0005656/0.3098, allocations: 328.5 kB / 431.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.3102, allocations: 416.3 kB / 431.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3102, allocations: 4.062 kB / 431.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/0.3102, allocations: 118.8 kB / 431.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.3107, allocations: 294.3 kB / 432 MB, free: 9.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.3114, allocations: 0.5536 MB / 432.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.3116, allocations: 0.772 MB / 433.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.3116, allocations: 15.44 kB / 433.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3117, allocations: 0 / 433.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of Templates: time 0.004113/0.3158, allocations: 2.752 MB / 436.1 MB, free: 5.383 MB / 302.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystick.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.TestInputJoystickCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystickCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputJoystickCalcHelperMain.o] Error 1