Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.09588/0.09588, allocations: 12.18 MB / 28.53 MB, free: 1.375 MB / 19.63 MB " [Timeout remaining time 180] 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.001415/0.001415, allocations: 107 kB / 34.41 MB, free: 2.301 MB / 26.18 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.002039/0.002039, allocations: 214.7 kB / 40.4 MB, free: 4.441 MB / 26.18 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.565/1.565, allocations: 230.5 MB / 276.8 MB, free: 15.84 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.0975/0.0975, allocations: 13.88 MB / 349.8 MB, free: 11.36 MB / 270.1 MB " [Timeout remaining time 180] Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/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) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_DeviceDrivers requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.03011/0.03011, allocations: 21.73 MB / 0.4939 GB, free: 17.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.161, allocations: 59.64 MB / 0.5521 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola): time 0.005896/0.1669, allocations: 3.369 MB / 0.5554 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1679, allocations: 0.5061 MB / 0.5559 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.1681, allocations: 15.81 kB / 0.5559 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1685, allocations: 91.28 kB / 0.556 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1687, allocations: 51.47 kB / 0.556 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1691, allocations: 187.5 kB / 0.5562 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.1695, allocations: 359.5 kB / 0.5566 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.1698, allocations: 141.1 kB / 0.5567 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.17, allocations: 135.4 kB / 0.5568 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1702, allocations: 155.2 kB / 0.557 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.1703, allocations: 32 kB / 0.557 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1704, allocations: 63.92 kB / 0.5571 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.1706, allocations: 179.4 kB / 0.5572 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.1709, allocations: 234.5 kB / 0.5575 GB, free: 176 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.1717, allocations: 0.6105 MB / 0.5581 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1717, allocations: 0 / 0.5581 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1717, allocations: 0 / 0.5581 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1717, allocations: 0 / 0.5581 GB, free: 15.55 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001488/0.1732, allocations: 0.8777 MB / 0.5589 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.1733, allocations: 8.031 kB / 0.5589 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.1735, allocations: 103.7 kB / 0.559 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1736, allocations: 72.47 kB / 0.5591 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.1743, allocations: 411.1 kB / 0.5595 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/0.1743, allocations: 37.36 kB / 0.5595 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/0.1744, allocations: 48.36 kB / 0.5596 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009697/0.1754, allocations: 0.6104 MB / 0.5602 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1754, allocations: 3.938 kB / 0.5602 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.1754, allocations: 19.98 kB / 0.5602 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.1754, allocations: 15.94 kB / 0.5602 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.1761, allocations: 382.9 kB / 0.5606 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.1782, allocations: 1.661 MB / 0.5622 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008594/0.1791, allocations: 0.5602 MB / 0.5627 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.1795, allocations: 288.1 kB / 0.563 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.1795, allocations: 8.562 kB / 0.563 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.1802, allocations: 457.4 kB / 0.5634 GB, free: 9.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.425e-06/0.1802, allocations: 4 kB / 0.5634 GB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002588/0.1828, allocations: 1.862 MB / 0.5653 GB, free: 7.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.1829, allocations: 162 kB / 0.5654 GB, free: 7.723 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.1833, allocations: 316.3 kB / 0.5657 GB, free: 7.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.1834, allocations: 85.67 kB / 0.5658 GB, free: 7.312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.1836, allocations: 213.9 kB / 0.566 GB, free: 7.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.1839, allocations: 297.8 kB / 0.5663 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.1842, allocations: 230.8 kB / 0.5665 GB, free: 6.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1844, allocations: 326 kB / 0.5668 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.1849, allocations: 339.1 kB / 0.5671 GB, free: 5.918 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.186, allocations: 0.8838 MB / 0.568 GB, free: 4.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.1888, allocations: 1.772 MB / 0.5697 GB, free: 2.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.1888, allocations: 4 kB / 0.5697 GB, free: 2.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002518/0.1913, allocations: 1.501 MB / 0.5712 GB, free: 1.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.1913, allocations: 12 kB / 0.5712 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/0.1914, allocations: 20 kB / 0.5712 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.424e-05/0.1914, allocations: 28 kB / 0.5713 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.1921, allocations: 219.5 kB / 0.5715 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-05/0.1921, allocations: 43.8 kB / 0.5715 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.1926, allocations: 111.2 kB / 0.5716 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.1927, allocations: 68 kB / 0.5717 GB, free: 0.7383 MB / 414.1 MB Warning: Assuming fixed start value for the following 36 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] JoyStick_X.firstOrder.y:VARIABLE(flow=false start = JoyStick_X.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real JoyStick_Y.firstOrder.y:VARIABLE(flow=false start = JoyStick_Y.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real JoyStick_Z.firstOrder.y:VARIABLE(flow=false start = JoyStick_Z.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 148 ($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],joystickInput.buttons[1],$PRE.joystickInput.buttons[1],joystickInput.buttons[2],$PRE.joystickInput.buttons[2],joystickInput.buttons[3],$PRE.joystickInput.buttons[3],joystickInput.buttons[4],$PRE.joystickInput.buttons[4],joystickInput.buttons[5],$PRE.joystickInput.buttons[5],joystickInput.buttons[6],$PRE.joystickInput.buttons[6],joystickInput.buttons[7],$PRE.joystickInput.buttons[7],joystickInput.buttons[8],$PRE.joystickInput.buttons[8],joystickInput.buttons[9],$PRE.joystickInput.buttons[9],joystickInput.buttons[10],$PRE.joystickInput.buttons[10],joystickInput.buttons[11],$PRE.joystickInput.buttons[11],joystickInput.buttons[12],$PRE.joystickInput.buttons[12],joystickInput.buttons[13],$PRE.joystickInput.buttons[13],joystickInput.buttons[14],$PRE.joystickInput.buttons[14],joystickInput.buttons[15],$PRE.joystickInput.buttons[15],joystickInput.buttons[16],$PRE.joystickInput.buttons[16],joystickInput.buttons[17],$PRE.joystickInput.buttons[17],joystickInput.buttons[18],$PRE.joystickInput.buttons[18],joystickInput.buttons[19],$PRE.joystickInput.buttons[19],joystickInput.buttons[20],$PRE.joystickInput.buttons[20],joystickInput.buttons[21],$PRE.joystickInput.buttons[21],joystickInput.buttons[22],$PRE.joystickInput.buttons[22],joystickInput.buttons[23],$PRE.joystickInput.buttons[23],joystickInput.buttons[24],$PRE.joystickInput.buttons[24],joystickInput.buttons[25],$PRE.joystickInput.buttons[25],joystickInput.buttons[26],$PRE.joystickInput.buttons[26],joystickInput.buttons[27],$PRE.joystickInput.buttons[27],joystickInput.buttons[28],$PRE.joystickInput.buttons[28],joystickInput.buttons[29],$PRE.joystickInput.buttons[29],joystickInput.buttons[30],$PRE.joystickInput.buttons[30],joystickInput.buttons[31],$PRE.joystickInput.buttons[31],joystickInput.buttons[32],$PRE.joystickInput.buttons[32],joystickInput.pOV,$PRE.joystickInput.pOV,$whenCondition1,joystickInput.AxesRaw[4],$PRE.joystickInput.AxesRaw[4],joystickInput.AxesRaw[5],$PRE.joystickInput.AxesRaw[5],joystickInput.AxesRaw[6],$PRE.joystickInput.AxesRaw[6],joystickInput.AxesRaw[1],$PRE.joystickInput.AxesRaw[1],joystickInput.AxesRaw[2],$PRE.joystickInput.AxesRaw[2],joystickInput.AxesRaw[3],$PRE.joystickInput.AxesRaw[3],JoyStick_Z.integrator.local_reset,JoyStick_Y.integrator.local_reset,JoyStick_X.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * 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.0007987/0.1935, allocations: 494.7 kB / 0.5722 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.1936, allocations: 55.66 kB / 0.5722 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1937, allocations: 41.41 kB / 0.5723 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.1937, allocations: 8 kB / 0.5723 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1937, allocations: 3.938 kB / 0.5723 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1937, allocations: 3.984 kB / 0.5723 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.1962, allocations: 1.967 MB / 0.5742 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.1962, allocations: 0 / 0.5742 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.1964, allocations: 43.92 kB / 0.5742 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1964, allocations: 4 kB / 0.5742 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.1965, allocations: 19.86 kB / 0.5743 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1965, allocations: 0 / 0.5743 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1965, allocations: 4 kB / 0.5743 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.199, allocations: 1.984 MB / 0.5762 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.1991, allocations: 132.6 kB / 0.5763 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.1992, allocations: 19.98 kB / 0.5763 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1993, allocations: 11.98 kB / 0.5764 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.1994, allocations: 40.44 kB / 0.5764 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.1995, allocations: 23.98 kB / 0.5764 GB, free: 11.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.1997, allocations: 195.1 kB / 0.5766 GB, free: 11.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1997, allocations: 0 / 0.5766 GB, free: 11.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009051/0.2006, allocations: 187.8 kB / 0.5768 GB, free: 11.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (JoyStick_X.integrator.y,JoyStick_X.firstOrder.y,JoyStick_Y.integrator.y,JoyStick_Y.firstOrder.y,JoyStick_Z.integrator.y,JoyStick_Z.firstOrder.y) * 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 (59): * Single equations (assignments): 24 * 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.003666/0.2043, allocations: 2.721 MB / 0.5794 GB, free: 8.703 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.2063, allocations: 1.008 MB / 0.5804 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.2063, allocations: 4 kB / 0.5804 GB, free: 7.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.2068, allocations: 349.2 kB / 0.5808 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.2074, allocations: 79.62 kB / 0.5808 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5257/0.7332, allocations: 7.419 MB / 0.5881 GB, free: 50.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.7337, allocations: 0.896 MB / 0.589 GB, free: 49.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004467/0.7341, allocations: 106.2 kB / 0.5891 GB, free: 49.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.7344, allocations: 198.1 kB / 0.5892 GB, free: 49.73 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7344, allocations: 0 / 0.5892 GB, free: 49.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05/0.7844, allocations: 11.43 MB / 0.6004 GB, free: 47.52 MB / 430.1 MB Error: Error building simulator. Build log: cmd: cd 'DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola.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/DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola/DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 \"DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola/DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.108018977101892] Failed to read output from testmodel.py, exit status != 0: 1.2016747621819377 1.223472988 1.047909264 Calling exit ...