Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 109 kB / 20.53 MB, free: 1.422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 206.6 kB / 23.83 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 257.6 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06194/0.06194, allocations: 12.22 MB / 326.2 MB, free: 7.219 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputJoystick",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputJoystick",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.91 kB / 454.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1233, allocations: 56.41 MB / 0.4986 GB, free: 484 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick): time 0.004766/0.128, allocations: 2.826 MB / 0.5014 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006391/0.1287, allocations: 319 kB / 0.5017 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.1288, allocations: 11.88 kB / 0.5017 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.129, allocations: 55.62 kB / 0.5017 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1292, allocations: 35.78 kB / 0.5018 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1295, allocations: 91.64 kB / 0.5018 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1297, allocations: 160 kB / 0.502 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1299, allocations: 46 kB / 0.502 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.048e-05/0.1299, allocations: 63.72 kB / 0.5021 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1301, allocations: 83.66 kB / 0.5022 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.1302, allocations: 16 kB / 0.5022 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1303, allocations: 39.98 kB / 0.5022 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.1304, allocations: 143.6 kB / 0.5024 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1306, allocations: 151 kB / 0.5025 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.1311, allocations: 382.2 kB / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1311, allocations: 0 / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1311, allocations: 0 / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1311, allocations: 0 / 0.5029 GB, free: 12.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001012/0.1321, allocations: 0.6 MB / 0.5035 GB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1321, allocations: 8.031 kB / 0.5035 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.1322, allocations: 8.844 kB / 0.5035 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.1323, allocations: 78.7 kB / 0.5036 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.478e-05/0.1323, allocations: 48.64 kB / 0.5036 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.1327, allocations: 231.8 kB / 0.5038 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1327, allocations: 21.03 kB / 0.5038 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.245e-05/0.1328, allocations: 28.36 kB / 0.5039 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.1334, allocations: 458.9 kB / 0.5043 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1334, allocations: 0 / 0.5043 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.1335, allocations: 15.94 kB / 0.5043 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.1335, allocations: 11.98 kB / 0.5043 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.1339, allocations: 301.2 kB / 0.5046 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/0.1349, allocations: 0.5883 MB / 0.5052 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.1356, allocations: 449.2 kB / 0.5056 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.1359, allocations: 234.9 kB / 0.5059 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.136, allocations: 11.92 kB / 0.5059 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.1367, allocations: 403.8 kB / 0.5063 GB, free: 8.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 2.254e-06/0.1367, allocations: 0 / 0.5063 GB, free: 8.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.002115/0.1388, allocations: 1.612 MB / 0.5078 GB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.1389, allocations: 157.7 kB / 0.508 GB, free: 6.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1392, allocations: 182.2 kB / 0.5081 GB, free: 6.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.139e-05/0.1392, allocations: 81.67 kB / 0.5082 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1394, allocations: 137.8 kB / 0.5084 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.1396, allocations: 242.3 kB / 0.5086 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.1398, allocations: 190.6 kB / 0.5088 GB, free: 5.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.14, allocations: 370.7 kB / 0.5091 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.1404, allocations: 290.1 kB / 0.5094 GB, free: 5.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/0.1413, allocations: 0.772 MB / 0.5102 GB, free: 4.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.1433, allocations: 1.534 MB / 0.5117 GB, free: 2.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.1433, allocations: 4 kB / 0.5117 GB, free: 2.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002081/0.1454, allocations: 1.31 MB / 0.5129 GB, free: 1.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1454, allocations: 12.22 kB / 0.5129 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/0.1455, allocations: 20.25 kB / 0.513 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/0.1455, allocations: 24 kB / 0.513 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.146, allocations: 183.5 kB / 0.5132 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.615e-05/0.1461, allocations: 35.86 kB / 0.5132 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.1464, allocations: 95.36 kB / 0.5133 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.1465, allocations: 56 kB / 0.5133 GB, free: 0.6523 MB / 382.1 MB Warning: Assuming fixed start value for the following 33 variables: joystickInput.pOV_:DISCRETE(fixed = true protected = true ) type: Integer joystickInput.buttons_[32]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[31]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[30]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[29]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[28]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[27]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[26]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[25]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[24]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[23]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[22]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[21]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[20]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[19]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[18]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[17]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[16]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[15]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[14]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[13]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[12]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[11]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[10]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[9]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[8]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[7]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[6]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[5]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[4]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[3]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[2]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[1]:DISCRETE(fixed = true protected = true ) type: Integer [32] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 145 (joystickInput.pOV,$PRE.joystickInput.pOV,joystickInput.buttons[32],$PRE.joystickInput.buttons[32],joystickInput.buttons[31],$PRE.joystickInput.buttons[31],joystickInput.buttons[30],$PRE.joystickInput.buttons[30],joystickInput.buttons[29],$PRE.joystickInput.buttons[29],joystickInput.buttons[28],$PRE.joystickInput.buttons[28],joystickInput.buttons[27],$PRE.joystickInput.buttons[27],joystickInput.buttons[26],$PRE.joystickInput.buttons[26],joystickInput.buttons[25],$PRE.joystickInput.buttons[25],joystickInput.buttons[24],$PRE.joystickInput.buttons[24],joystickInput.buttons[23],$PRE.joystickInput.buttons[23],joystickInput.buttons[22],$PRE.joystickInput.buttons[22],joystickInput.buttons[21],$PRE.joystickInput.buttons[21],joystickInput.buttons[20],$PRE.joystickInput.buttons[20],joystickInput.buttons[19],$PRE.joystickInput.buttons[19],joystickInput.buttons[18],$PRE.joystickInput.buttons[18],joystickInput.buttons[17],$PRE.joystickInput.buttons[17],joystickInput.buttons[16],$PRE.joystickInput.buttons[16],joystickInput.buttons[15],$PRE.joystickInput.buttons[15],joystickInput.buttons[14],$PRE.joystickInput.buttons[14],joystickInput.buttons[13],$PRE.joystickInput.buttons[13],joystickInput.buttons[12],$PRE.joystickInput.buttons[12],joystickInput.buttons[11],$PRE.joystickInput.buttons[11],joystickInput.buttons[10],$PRE.joystickInput.buttons[10],joystickInput.buttons[9],$PRE.joystickInput.buttons[9],joystickInput.buttons[8],$PRE.joystickInput.buttons[8],joystickInput.buttons[7],$PRE.joystickInput.buttons[7],joystickInput.buttons[6],$PRE.joystickInput.buttons[6],joystickInput.buttons[5],$PRE.joystickInput.buttons[5],joystickInput.buttons[4],$PRE.joystickInput.buttons[4],joystickInput.buttons[3],$PRE.joystickInput.buttons[3],joystickInput.buttons[2],$PRE.joystickInput.buttons[2],joystickInput.buttons[1],$PRE.joystickInput.buttons[1],$PRE.joystickInput.pOV_,joystickInput.pOV_,$PRE.joystickInput.buttons_[32],joystickInput.buttons_[32],$PRE.joystickInput.buttons_[31],joystickInput.buttons_[31],$PRE.joystickInput.buttons_[30],joystickInput.buttons_[30],$PRE.joystickInput.buttons_[29],joystickInput.buttons_[29],$PRE.joystickInput.buttons_[28],joystickInput.buttons_[28],$PRE.joystickInput.buttons_[27],joystickInput.buttons_[27],$PRE.joystickInput.buttons_[26],joystickInput.buttons_[26],$PRE.joystickInput.buttons_[25],joystickInput.buttons_[25],$PRE.joystickInput.buttons_[24],joystickInput.buttons_[24],$PRE.joystickInput.buttons_[23],joystickInput.buttons_[23],$PRE.joystickInput.buttons_[22],joystickInput.buttons_[22],$PRE.joystickInput.buttons_[21],joystickInput.buttons_[21],$PRE.joystickInput.buttons_[20],joystickInput.buttons_[20],$PRE.joystickInput.buttons_[19],joystickInput.buttons_[19],$PRE.joystickInput.buttons_[18],joystickInput.buttons_[18],$PRE.joystickInput.buttons_[17],joystickInput.buttons_[17],$PRE.joystickInput.buttons_[16],joystickInput.buttons_[16],$PRE.joystickInput.buttons_[15],joystickInput.buttons_[15],$PRE.joystickInput.buttons_[14],joystickInput.buttons_[14],$PRE.joystickInput.buttons_[13],joystickInput.buttons_[13],$PRE.joystickInput.buttons_[12],joystickInput.buttons_[12],$PRE.joystickInput.buttons_[11],joystickInput.buttons_[11],$PRE.joystickInput.buttons_[10],joystickInput.buttons_[10],$PRE.joystickInput.buttons_[9],joystickInput.buttons_[9],$PRE.joystickInput.buttons_[8],joystickInput.buttons_[8],$PRE.joystickInput.buttons_[7],joystickInput.buttons_[7],$PRE.joystickInput.buttons_[6],joystickInput.buttons_[6],$PRE.joystickInput.buttons_[5],joystickInput.buttons_[5],$PRE.joystickInput.buttons_[4],joystickInput.buttons_[4],$PRE.joystickInput.buttons_[3],joystickInput.buttons_[3],$PRE.joystickInput.buttons_[2],joystickInput.buttons_[2],$PRE.joystickInput.buttons_[1],joystickInput.buttons_[1],$whenCondition1,joystickInput.AxesRaw[6],$PRE.joystickInput.AxesRaw[6],joystickInput.AxesRaw[5],$PRE.joystickInput.AxesRaw[5],joystickInput.AxesRaw[4],$PRE.joystickInput.AxesRaw[4],joystickInput.AxesRaw[3],$PRE.joystickInput.AxesRaw[3],joystickInput.AxesRaw[2],$PRE.joystickInput.AxesRaw[2],joystickInput.AxesRaw[1],$PRE.joystickInput.AxesRaw[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0006644/0.1472, allocations: 459.4 kB / 0.5138 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.1472, allocations: 39.75 kB / 0.5138 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.1473, allocations: 24.31 kB / 0.5138 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1473, allocations: 4 kB / 0.5138 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1473, allocations: 0 / 0.5138 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1473, allocations: 7.922 kB / 0.5139 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2281/0.3755, allocations: 333.6 kB / 0.5142 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.3755, allocations: 4.125 kB / 0.5142 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.3756, allocations: 14.8 kB / 0.5142 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3756, allocations: 3.031 kB / 0.5142 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.3756, allocations: 11.52 kB / 0.5142 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.3756, allocations: 3.031 kB / 0.5142 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3756, allocations: 3.75 kB / 0.5142 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.3771, allocations: 1.383 MB / 0.5156 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.3771, allocations: 44.31 kB / 0.5156 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.3772, allocations: 10.72 kB / 0.5156 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.3773, allocations: 10.45 kB / 0.5156 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.3773, allocations: 29.41 kB / 0.5157 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.3773, allocations: 20.44 kB / 0.5157 GB, free: 20.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.754e-05/0.3774, allocations: 124.4 kB / 0.5158 GB, free: 20.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3774, allocations: 0 / 0.5158 GB, free: 20.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007366/0.3782, allocations: 146 kB / 0.5159 GB, free: 20.77 MB / 382.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: 73 ($whenCondition1,joystickInput.pOV,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],joystickInput.AxesRaw[1],joystickInput.AxesRaw[2],joystickInput.AxesRaw[3],joystickInput.AxesRaw[4],joystickInput.AxesRaw[5],joystickInput.AxesRaw[6],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],joystickInput.pOV_) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 34 * 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.002099/0.3803, allocations: 2.102 MB / 0.518 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3816, allocations: 0.8931 MB / 0.5189 GB, free: 20.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3816, allocations: 0 / 0.5189 GB, free: 20.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.3819, allocations: 297.4 kB / 0.5191 GB, free: 20.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3822, allocations: 33.75 kB / 0.5192 GB, free: 20.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.3893, allocations: 6.016 MB / 0.525 GB, free: 17.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3896, allocations: 0.8289 MB / 0.5259 GB, free: 16.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.3898, allocations: 87.81 kB / 0.5259 GB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.39, allocations: 119.4 kB / 0.5261 GB, free: 16.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.39, allocations: 1.375 kB / 0.5261 GB, free: 16.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.4272, allocations: 8.958 MB / 0.5348 GB, free: 14.76 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '481.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- 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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick/481.fmutmp/sources/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.TestInputJoystick/481.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: rt linked by target \"481\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick/481.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3680210490128957] Failed to read output from testmodel.py, exit status != 0: 0.8640759509871714 0.885074157 0.750013012 Calling exit ...