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.002118/0.002118, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.001689/0.001689, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.522/1.522, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.06639/0.06639, allocations: 12.22 MB / 322.5 MB, free: 13.27 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.0021/0.0021, allocations: 66.91 kB / 448.8 MB, free: 38.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1151, allocations: 56.37 MB / 0.4933 GB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick): time 0.004007/0.1191, allocations: 2.722 MB / 0.496 GB, free: 14.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005974/0.1197, allocations: 326.9 kB / 0.4963 GB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1198, allocations: 11.88 kB / 0.4963 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.12, allocations: 43.64 kB / 0.4964 GB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1202, allocations: 27.84 kB / 0.4964 GB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1205, allocations: 91.64 kB / 0.4965 GB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.1207, allocations: 164 kB / 0.4966 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1209, allocations: 57.81 kB / 0.4967 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.1209, allocations: 59.77 kB / 0.4967 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1211, allocations: 91.59 kB / 0.4968 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.1211, allocations: 12 kB / 0.4968 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.1212, allocations: 36 kB / 0.4969 GB, free: 14.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.1214, allocations: 143.6 kB / 0.497 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1215, allocations: 147 kB / 0.4971 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.122, allocations: 390.1 kB / 0.4975 GB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.122, allocations: 0 / 0.4975 GB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.122, allocations: 0 / 0.4975 GB, free: 13.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.122, allocations: 0 / 0.4975 GB, free: 13.35 MB / 366.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.001027/0.123, allocations: 0.6714 MB / 0.4982 GB, free: 12.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.123, allocations: 12.03 kB / 0.4982 GB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.577e-05/0.1231, allocations: 8.75 kB / 0.4982 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.591e-05/0.1232, allocations: 82.69 kB / 0.4983 GB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.178e-05/0.1232, allocations: 44.66 kB / 0.4983 GB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.1236, allocations: 291.6 kB / 0.4986 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1236, allocations: 16.94 kB / 0.4986 GB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.1237, allocations: 32.36 kB / 0.4986 GB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.1244, allocations: 454.4 kB / 0.4991 GB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1244, allocations: 4 kB / 0.4991 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.1244, allocations: 4 kB / 0.4991 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.1244, allocations: 8 kB / 0.4991 GB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.1249, allocations: 301.3 kB / 0.4994 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000931/0.1258, allocations: 0.6283 MB / 0.5 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.1265, allocations: 453.2 kB / 0.5004 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.1268, allocations: 242.8 kB / 0.5007 GB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.1269, allocations: 11.97 kB / 0.5007 GB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.1275, allocations: 399.8 kB / 0.501 GB, free: 9.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 1.753e-06/0.1275, allocations: 4 kB / 0.5011 GB, free: 9.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.002095/0.1296, allocations: 1.604 MB / 0.5026 GB, free: 7.926 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.1297, allocations: 161.7 kB / 0.5028 GB, free: 7.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1299, allocations: 182.3 kB / 0.5029 GB, free: 7.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-05/0.13, allocations: 85.66 kB / 0.503 GB, free: 7.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1302, allocations: 133.8 kB / 0.5032 GB, free: 7.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.1304, allocations: 242.3 kB / 0.5034 GB, free: 7.098 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.1307, allocations: 186.6 kB / 0.5036 GB, free: 6.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.1309, allocations: 374.7 kB / 0.5039 GB, free: 6.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.1314, allocations: 290.1 kB / 0.5042 GB, free: 6.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009916/0.1324, allocations: 0.7759 MB / 0.505 GB, free: 5.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.1346, allocations: 1.518 MB / 0.5064 GB, free: 3.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.1346, allocations: 8 kB / 0.5064 GB, free: 3.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002125/0.1367, allocations: 1.31 MB / 0.5077 GB, free: 2.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.1367, allocations: 12 kB / 0.5077 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.1368, allocations: 16 kB / 0.5078 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/0.1368, allocations: 28.03 kB / 0.5078 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.1374, allocations: 183.5 kB / 0.508 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.644e-05/0.1374, allocations: 35.86 kB / 0.508 GB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.1378, allocations: 95.3 kB / 0.5081 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.1378, allocations: 60 kB / 0.5081 GB, free: 1.738 MB / 366.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.0007353/0.1386, allocations: 455.6 kB / 0.5086 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.1386, allocations: 39.75 kB / 0.5086 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.757e-05/0.1387, allocations: 28.31 kB / 0.5086 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.1387, allocations: 8 kB / 0.5086 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1387, allocations: 3.938 kB / 0.5086 GB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1387, allocations: 3.984 kB / 0.5087 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.1392, allocations: 369.6 kB / 0.509 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1392, allocations: 0 / 0.509 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/0.1393, allocations: 15.94 kB / 0.509 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1393, allocations: 4 kB / 0.509 GB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.1394, allocations: 11.98 kB / 0.509 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.1394, allocations: 7.938 kB / 0.509 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1394, allocations: 4 kB / 0.509 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.1412, allocations: 1.38 MB / 0.5104 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.1413, allocations: 120.7 kB / 0.5105 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.1414, allocations: 11.98 kB / 0.5105 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.1415, allocations: 7.984 kB / 0.5105 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1415, allocations: 23.97 kB / 0.5106 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.1415, allocations: 19.98 kB / 0.5106 GB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1417, allocations: 129.1 kB / 0.5107 GB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1417, allocations: 0 / 0.5107 GB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006106/0.1423, allocations: 147.8 kB / 0.5108 GB, free: 14.86 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.002667/0.1449, allocations: 2.115 MB / 0.5129 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.1464, allocations: 0.892 MB / 0.5138 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1464, allocations: 0 / 0.5138 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/0.1468, allocations: 297.9 kB / 0.5141 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1471, allocations: 34.31 kB / 0.5141 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008537/0.1556, allocations: 6.012 MB / 0.52 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.1563, allocations: 0.8169 MB / 0.5208 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.1565, allocations: 92.38 kB / 0.5208 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.1567, allocations: 123.4 kB / 0.521 GB, free: 3.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1567, allocations: 0 / 0.521 GB, free: 3.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.1847, allocations: 8.34 MB / 0.5291 GB, free: 11.74 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputJoystick.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/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.TestInputJoystick/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputJoystick.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputJoystick\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputJoystick.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.299218871979974] Failed to read output from testmodel.py, exit status != 0: 0.5970651019597426 0.62520372 0.49811048599999996 Calling exit ...