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.001276/0.001276, allocations: 112 kB / 17.17 MB, free: 5.887 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.001325/0.001325, allocations: 208 kB / 20.14 MB, free: 2.934 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.06245/0.06245, allocations: 12.23 MB / 321.8 MB, free: 13.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputJoystick",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.16 kB / 448.1 MB, free: 38.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 56.36 MB / 0.4926 GB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick): time 0.004283/0.1138, allocations: 2.726 MB / 0.4953 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006608/0.1144, allocations: 330.9 kB / 0.4956 GB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1145, allocations: 7.938 kB / 0.4956 GB, free: 14.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1148, allocations: 47.64 kB / 0.4957 GB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.115, allocations: 31.78 kB / 0.4957 GB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.1152, allocations: 87.7 kB / 0.4958 GB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1155, allocations: 167.9 kB / 0.4959 GB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1156, allocations: 53.81 kB / 0.496 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.1157, allocations: 59.77 kB / 0.496 GB, free: 14.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1159, allocations: 91.66 kB / 0.4961 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.1159, allocations: 12 kB / 0.4961 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.116, allocations: 36 kB / 0.4962 GB, free: 14.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.1162, allocations: 139.6 kB / 0.4963 GB, free: 13.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1163, allocations: 155 kB / 0.4965 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.1168, allocations: 378.2 kB / 0.4968 GB, free: 13.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1168, allocations: 4 kB / 0.4968 GB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1168, allocations: 0 / 0.4968 GB, free: 13.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1168, allocations: 0 / 0.4968 GB, free: 13.39 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.001088/0.1179, allocations: 0.6714 MB / 0.4975 GB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.118, allocations: 8.031 kB / 0.4975 GB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.1181, allocations: 90.62 kB / 0.4976 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.1182, allocations: 40.66 kB / 0.4976 GB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1186, allocations: 287.7 kB / 0.4979 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.1186, allocations: 24.92 kB / 0.4979 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.1186, allocations: 32.36 kB / 0.4979 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.1194, allocations: 454.6 kB / 0.4984 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1194, allocations: 3.938 kB / 0.4984 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.1194, allocations: 11.98 kB / 0.4984 GB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1194, allocations: 4 kB / 0.4984 GB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.1199, allocations: 297.4 kB / 0.4987 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.1209, allocations: 0.6243 MB / 0.4993 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.1216, allocations: 453.1 kB / 0.4997 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1219, allocations: 242.9 kB / 0.5 GB, free: 10 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.1219, allocations: 4 kB / 0.5 GB, free: 10 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006704/0.1226, allocations: 403.8 kB / 0.5003 GB, free: 9.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 1.863e-06/0.1226, allocations: 0 / 0.5003 GB, free: 9.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.002121/0.1247, allocations: 1.616 MB / 0.5019 GB, free: 7.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.1249, allocations: 157.7 kB / 0.5021 GB, free: 7.801 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1251, allocations: 174.3 kB / 0.5022 GB, free: 7.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.824e-05/0.1252, allocations: 85.67 kB / 0.5023 GB, free: 7.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1253, allocations: 137.8 kB / 0.5024 GB, free: 7.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.1255, allocations: 242.3 kB / 0.5027 GB, free: 7.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.1258, allocations: 186.6 kB / 0.5029 GB, free: 6.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.126, allocations: 378.7 kB / 0.5032 GB, free: 6.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.1264, allocations: 294 kB / 0.5035 GB, free: 6.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008941/0.1273, allocations: 0.7682 MB / 0.5042 GB, free: 5.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.1294, allocations: 1.53 MB / 0.5057 GB, free: 3.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.1294, allocations: 4 kB / 0.5057 GB, free: 3.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002103/0.1315, allocations: 1.314 MB / 0.507 GB, free: 2.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.1315, allocations: 14.19 kB / 0.507 GB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/0.1315, allocations: 16 kB / 0.5071 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/0.1316, allocations: 24 kB / 0.5071 GB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.1321, allocations: 175.6 kB / 0.5072 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-05/0.1322, allocations: 35.86 kB / 0.5073 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.1326, allocations: 99.3 kB / 0.5074 GB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.1326, allocations: 60 kB / 0.5074 GB, free: 1.789 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.0006661/0.1333, allocations: 463.7 kB / 0.5079 GB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.1334, allocations: 39.75 kB / 0.5079 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.1335, allocations: 24.31 kB / 0.5079 GB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.1335, allocations: 11.94 kB / 0.5079 GB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1335, allocations: 0 / 0.5079 GB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1335, allocations: 3.984 kB / 0.508 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.1339, allocations: 369.6 kB / 0.5083 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/0.1339, allocations: 3.984 kB / 0.5083 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.134, allocations: 12 kB / 0.5083 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.134, allocations: 8 kB / 0.5083 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.134, allocations: 11.98 kB / 0.5083 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.134, allocations: 0 / 0.5083 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.134, allocations: 0 / 0.5083 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.1358, allocations: 1.387 MB / 0.5097 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.1358, allocations: 120.7 kB / 0.5098 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.1359, allocations: 11.98 kB / 0.5098 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.136, allocations: 15.98 kB / 0.5098 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.136, allocations: 19.97 kB / 0.5099 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.136, allocations: 15.98 kB / 0.5099 GB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1362, allocations: 125.1 kB / 0.51 GB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1362, allocations: 0 / 0.51 GB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000629/0.1368, allocations: 147.9 kB / 0.5101 GB, free: 14.91 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.002772/0.1396, allocations: 2.118 MB / 0.5122 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.141, allocations: 0.8927 MB / 0.5131 GB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.141, allocations: 0 / 0.5131 GB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.1414, allocations: 290 kB / 0.5133 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.1416, allocations: 32.41 kB / 0.5134 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007959/0.1496, allocations: 6.011 MB / 0.5192 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.1501, allocations: 0.8247 MB / 0.5201 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.1503, allocations: 84.38 kB / 0.5201 GB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.1505, allocations: 123.4 kB / 0.5203 GB, free: 3.965 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.1505, allocations: 0 / 0.5203 GB, free: 3.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.1858, allocations: 8.306 MB / 0.5284 GB, free: 11.81 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: Not linked -- 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 -- 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.134220051986631] Failed to read output from testmodel.py, exit status != 0: 0.6091869289957685 0.624470615 0.504751768 Calling exit ...