Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06746/0.06746, allocations: 12.18 MB / 29.24 MB, free: 1.023 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.001243/0.001243, allocations: 111 kB / 35.11 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.001482/0.001482, allocations: 205.8 kB / 41.11 MB, free: 4.418 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.52/1.52, allocations: 230.5 MB / 277.5 MB, free: 15.83 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.06451/0.06451, allocations: 13.89 MB / 350.5 MB, free: 11.33 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.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "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: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.02882/0.02882, allocations: 20.57 MB / 0.4934 GB, free: 18.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1546, allocations: 59.65 MB / 0.5517 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis): time 0.005445/0.16, allocations: 3.354 MB / 0.555 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.1609, allocations: 0.5139 MB / 0.5555 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1611, allocations: 15.81 kB / 0.5555 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.1614, allocations: 83.3 kB / 0.5556 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1616, allocations: 51.52 kB / 0.5556 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.162, allocations: 183.5 kB / 0.5558 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.1624, allocations: 359.4 kB / 0.5561 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.1627, allocations: 140.8 kB / 0.5563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1629, allocations: 131.4 kB / 0.5564 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1631, allocations: 155.2 kB / 0.5565 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.1631, allocations: 32 kB / 0.5566 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1633, allocations: 59.92 kB / 0.5566 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.1635, allocations: 175.5 kB / 0.5568 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.1637, allocations: 238.5 kB / 0.557 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.1644, allocations: 0.6026 MB / 0.5576 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1644, allocations: 0 / 0.5576 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1644, allocations: 0 / 0.5576 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.1644, allocations: 0 / 0.5576 GB, free: 0.7344 MB / 398.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.001324/0.1657, allocations: 0.8738 MB / 0.5585 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1657, allocations: 12.03 kB / 0.5585 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.647e-05/0.1658, allocations: 21.12 kB / 0.5585 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.1659, allocations: 107.6 kB / 0.5586 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.1661, allocations: 68.52 kB / 0.5587 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.1666, allocations: 403.2 kB / 0.559 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.1667, allocations: 33.36 kB / 0.5591 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.1668, allocations: 60.31 kB / 0.5591 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009012/0.1677, allocations: 0.618 MB / 0.5597 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1677, allocations: 3.984 kB / 0.5597 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.1677, allocations: 16 kB / 0.5598 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.1678, allocations: 12 kB / 0.5598 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.1684, allocations: 398.8 kB / 0.5601 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.1704, allocations: 1.694 MB / 0.5618 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008683/0.1713, allocations: 0.552 MB / 0.5623 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004064/0.1717, allocations: 288.1 kB / 0.5626 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.1717, allocations: 4.562 kB / 0.5626 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006316/0.1723, allocations: 465.4 kB / 0.5631 GB, free: 10.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=103): time 1.884e-06/0.1723, allocations: 4 kB / 0.5631 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=103): time 0.00231/0.1747, allocations: 1.885 MB / 0.5649 GB, free: 8.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.1748, allocations: 166 kB / 0.5651 GB, free: 8.809 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.1751, allocations: 296.5 kB / 0.5653 GB, free: 8.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.1752, allocations: 89.66 kB / 0.5654 GB, free: 8.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1754, allocations: 213.5 kB / 0.5656 GB, free: 8.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.1756, allocations: 317.6 kB / 0.5659 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.1759, allocations: 219 kB / 0.5661 GB, free: 7.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1761, allocations: 330 kB / 0.5665 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.1766, allocations: 339.1 kB / 0.5668 GB, free: 7.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009931/0.1776, allocations: 0.8877 MB / 0.5677 GB, free: 5.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.1802, allocations: 1.78 MB / 0.5694 GB, free: 3.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.1802, allocations: 4 kB / 0.5694 GB, free: 3.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.00221/0.1824, allocations: 1.513 MB / 0.5709 GB, free: 2.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.1824, allocations: 12 kB / 0.5709 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-05/0.1825, allocations: 20 kB / 0.5709 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-05/0.1825, allocations: 28 kB / 0.5709 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.1832, allocations: 223.5 kB / 0.5711 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.277e-05/0.1833, allocations: 43.8 kB / 0.5712 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.1837, allocations: 111.2 kB / 0.5713 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.1838, allocations: 64 kB / 0.5713 GB, free: 1.805 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] $outputAlias_X:VARIABLE(flow=false start = JoyStick_X.firstOrder.y_start fixed = true ) type: Real $outputAlias_Y:VARIABLE(flow=false start = JoyStick_Y.firstOrder.y_start fixed = true ) type: Real $outputAlias_Z:VARIABLE(flow=false start = JoyStick_Z.firstOrder.y_start fixed = true ) 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 (187): * Single equations (assignments): 186 * 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.0007304/0.1845, allocations: 0.489 MB / 0.5718 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.1846, allocations: 55.62 kB / 0.5719 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1847, allocations: 45.39 kB / 0.5719 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.1847, allocations: 8 kB / 0.5719 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.1847, allocations: 3.938 kB / 0.5719 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.1847, allocations: 3.984 kB / 0.5719 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.187, allocations: 1.975 MB / 0.5739 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.187, allocations: 4 kB / 0.5739 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.1873, allocations: 47.92 kB / 0.5739 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.1873, allocations: 7.938 kB / 0.5739 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.1873, allocations: 15.98 kB / 0.5739 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1873, allocations: 4 kB / 0.5739 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1873, allocations: 3.984 kB / 0.5739 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.1897, allocations: 1.996 MB / 0.5759 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.1898, allocations: 144.5 kB / 0.576 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.1899, allocations: 15.92 kB / 0.576 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.19, allocations: 11.98 kB / 0.5761 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.1901, allocations: 28.53 kB / 0.5761 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.1901, allocations: 23.98 kB / 0.5761 GB, free: 12.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.1904, allocations: 193.9 kB / 0.5763 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1904, allocations: 3.938 kB / 0.5763 GB, free: 12.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007327/0.1911, allocations: 187.8 kB / 0.5765 GB, free: 12.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 ($outputAlias_Y,$outputAlias_Z,$outputAlias_X,JoyStick_X.integrator.y,JoyStick_Y.integrator.y,JoyStick_Z.integrator.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 (62): * Single equations (assignments): 27 * 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.003469/0.1946, allocations: 2.747 MB / 0.5792 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.1961, allocations: 1.02 MB / 0.5802 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1961, allocations: 0 / 0.5802 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.1966, allocations: 353.2 kB / 0.5805 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.1971, allocations: 75.28 kB / 0.5806 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009424/0.2065, allocations: 7.362 MB / 0.5878 GB, free: 280 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2997/0.5062, allocations: 0.8902 MB / 0.5886 GB, free: 51.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.5067, allocations: 106.4 kB / 0.5887 GB, free: 51.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.507, allocations: 195.4 kB / 0.5889 GB, free: 51.21 MB / 430.1 MB Notification: Performance of SimCode: time 1.784e-06/0.507, allocations: 0 / 0.5889 GB, free: 51.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.5473, allocations: 11.41 MB / 0.6001 GB, free: 49.02 MB / 430.1 MB Error: Error building simulator. Build log: cmd: cd 'DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis.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_SimVis/DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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 2.2.0/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 \"DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis/DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis.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.6963375309715047] Failed to read output from testmodel.py, exit status != 0: 0.9694907799712382 0.988267017 0.8207586729999999 Calling exit ...