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.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.07132/0.07132, allocations: 12.19 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.001284/0.001284, allocations: 107.5 kB / 34.41 MB, free: 2.297 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.00149/0.00149, allocations: 210.4 kB / 40.4 MB, free: 4.438 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.546/1.546, allocations: 230.6 MB / 276.8 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.06584/0.06584, allocations: 13.89 MB / 349.8 MB, free: 11.34 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_SimVis,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis",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.02881/0.02881, allocations: 21.73 MB / 0.4939 GB, free: 17.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1622, allocations: 59.64 MB / 0.5521 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis): time 0.00595/0.1682, allocations: 3.35 MB / 0.5554 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1692, allocations: 0.5061 MB / 0.5559 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.1694, allocations: 15.81 kB / 0.5559 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.1697, allocations: 95.22 kB / 0.556 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1699, allocations: 47.53 kB / 0.556 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.1703, allocations: 183.6 kB / 0.5562 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.1708, allocations: 363.4 kB / 0.5565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.1711, allocations: 128.8 kB / 0.5567 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1712, allocations: 131.4 kB / 0.5568 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1714, allocations: 163.2 kB / 0.5569 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.1715, allocations: 36 kB / 0.557 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1716, allocations: 51.98 kB / 0.557 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.1718, allocations: 183.4 kB / 0.5572 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.172, allocations: 234.5 kB / 0.5574 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.1728, allocations: 0.5987 MB / 0.558 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1728, allocations: 4 kB / 0.558 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1728, allocations: 0 / 0.558 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1728, allocations: 0 / 0.558 GB, free: 15.66 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.001361/0.1741, allocations: 0.8699 MB / 0.5589 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1742, allocations: 12.03 kB / 0.5589 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.1743, allocations: 107.6 kB / 0.559 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1745, allocations: 68.52 kB / 0.559 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.1751, allocations: 403.2 kB / 0.5594 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.1751, allocations: 37.36 kB / 0.5595 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.1752, allocations: 48.36 kB / 0.5595 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.1762, allocations: 0.6104 MB / 0.5601 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1762, allocations: 3.938 kB / 0.5601 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.1762, allocations: 19.98 kB / 0.5601 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1762, allocations: 12 kB / 0.5601 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.1769, allocations: 390.9 kB / 0.5605 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.1791, allocations: 1.649 MB / 0.5621 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008754/0.1799, allocations: 0.564 MB / 0.5627 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.1804, allocations: 292.1 kB / 0.563 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.1804, allocations: 4.562 kB / 0.563 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006763/0.1811, allocations: 461.4 kB / 0.5634 GB, free: 9.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.645e-06/0.1811, allocations: 0 / 0.5634 GB, free: 9.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002411/0.1835, allocations: 1.866 MB / 0.5652 GB, free: 8.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.1836, allocations: 162 kB / 0.5654 GB, free: 7.836 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.184, allocations: 300.4 kB / 0.5657 GB, free: 7.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.1841, allocations: 85.66 kB / 0.5657 GB, free: 7.445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1843, allocations: 213.9 kB / 0.5659 GB, free: 7.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.1846, allocations: 301.8 kB / 0.5662 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.1849, allocations: 226.9 kB / 0.5665 GB, free: 6.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.185, allocations: 329.9 kB / 0.5668 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.1855, allocations: 339.1 kB / 0.5671 GB, free: 6.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.1866, allocations: 0.8876 MB / 0.568 GB, free: 4.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/0.1893, allocations: 1.772 MB / 0.5697 GB, free: 2.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/0.1893, allocations: 4 kB / 0.5697 GB, free: 2.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00247/0.1918, allocations: 1.486 MB / 0.5711 GB, free: 1.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.1918, allocations: 12 kB / 0.5712 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/0.1918, allocations: 20 kB / 0.5712 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.885e-05/0.1919, allocations: 28.19 kB / 0.5712 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.1925, allocations: 215.5 kB / 0.5714 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.154e-05/0.1926, allocations: 47.8 kB / 0.5714 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.1931, allocations: 127.1 kB / 0.5716 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.902e-05/0.1932, allocations: 72.36 kB / 0.5716 GB, free: 0.8555 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.0007646/0.194, allocations: 486.1 kB / 0.5721 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.1941, allocations: 55.62 kB / 0.5722 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1942, allocations: 45.34 kB / 0.5722 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.1942, allocations: 11.98 kB / 0.5722 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.1942, allocations: 3.938 kB / 0.5722 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1942, allocations: 4 kB / 0.5722 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.1966, allocations: 1.963 MB / 0.5741 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.1966, allocations: 0 / 0.5741 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.1969, allocations: 39.92 kB / 0.5742 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1969, allocations: 4 kB / 0.5742 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.1969, allocations: 19.92 kB / 0.5742 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1969, allocations: 0 / 0.5742 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.1969, allocations: 7.984 kB / 0.5742 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.1994, allocations: 1.968 MB / 0.5761 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1996, allocations: 140.6 kB / 0.5763 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/0.1996, allocations: 15.92 kB / 0.5763 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1998, allocations: 12.11 kB / 0.5763 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.1999, allocations: 40.39 kB / 0.5763 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.1999, allocations: 23.98 kB / 0.5763 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.2001, allocations: 194 kB / 0.5765 GB, free: 11.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2001, allocations: 4 kB / 0.5765 GB, free: 11.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009774/0.2011, allocations: 191.7 kB / 0.5767 GB, free: 11.54 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.003778/0.2049, allocations: 2.718 MB / 0.5794 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.2071, allocations: 1.011 MB / 0.5804 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2071, allocations: 0 / 0.5804 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005002/0.2076, allocations: 349.2 kB / 0.5807 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.2082, allocations: 75.62 kB / 0.5808 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2966/0.5048, allocations: 7.37 MB / 0.588 GB, free: 50.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.5053, allocations: 0.8941 MB / 0.5888 GB, free: 50.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004315/0.5058, allocations: 102.1 kB / 0.5889 GB, free: 50.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.506, allocations: 196.9 kB / 0.5891 GB, free: 50.01 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.506, allocations: 0 / 0.5891 GB, free: 50.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.5519, allocations: 11.33 MB / 0.6002 GB, free: 47.86 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.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_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.9329800978302956] Failed to read output from testmodel.py, exit status != 0: 1.0091076116077602 1.020340154 0.845372837 Calling exit ...