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.07366/0.07366, allocations: 12.18 MB / 31.01 MB, free: 1.27 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.001218/0.001218, allocations: 108.2 kB / 37.23 MB, free: 3.039 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.001449/0.001449, allocations: 212.3 kB / 43.59 MB, free: 5.43 MB / 34.91 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.421/1.421, allocations: 230.6 MB / 280.4 MB, free: 7.945 MB / 206.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.06529/0.06529, allocations: 13.89 MB / 353.7 MB, free: 4.094 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="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: 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) 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.03189/0.03189, allocations: 20.75 MB / 0.4985 GB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2611, allocations: 59.68 MB / 0.5568 GB, free: 396 kB / 366.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis): time 0.005115/0.2662, allocations: 3.454 MB / 0.5601 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.2672, allocations: 0.5023 MB / 0.5606 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.2674, allocations: 19.81 kB / 0.5607 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.2677, allocations: 89.84 kB / 0.5607 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.2679, allocations: 55.47 kB / 0.5608 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.2683, allocations: 183.5 kB / 0.561 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.2688, allocations: 370 kB / 0.5613 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.269, allocations: 125.3 kB / 0.5614 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.2692, allocations: 131.4 kB / 0.5616 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2694, allocations: 163.2 kB / 0.5617 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.2694, allocations: 28 kB / 0.5618 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.2695, allocations: 51.98 kB / 0.5618 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.2697, allocations: 182.1 kB / 0.562 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.2699, allocations: 230.5 kB / 0.5622 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006851/0.2706, allocations: 0.5954 MB / 0.5628 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2706, allocations: 0 / 0.5628 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2706, allocations: 0 / 0.5628 GB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2706, allocations: 0 / 0.5628 GB, free: 10.24 MB / 382.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.00122/0.2719, allocations: 0.8011 MB / 0.5636 GB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.2719, allocations: 11.28 kB / 0.5636 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.2721, allocations: 107.6 kB / 0.5637 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.2722, allocations: 72.5 kB / 0.5637 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.2727, allocations: 331.6 kB / 0.5641 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.2728, allocations: 37.36 kB / 0.5641 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.2728, allocations: 48.36 kB / 0.5641 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008696/0.2737, allocations: 0.6092 MB / 0.5647 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.2737, allocations: 3.938 kB / 0.5647 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.2738, allocations: 19.98 kB / 0.5648 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2738, allocations: 12 kB / 0.5648 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.2744, allocations: 397.5 kB / 0.5651 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.2764, allocations: 1.608 MB / 0.5667 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.2772, allocations: 0.5548 MB / 0.5673 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.2776, allocations: 284.1 kB / 0.5675 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.2777, allocations: 8.5 kB / 0.5675 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006371/0.2783, allocations: 466.1 kB / 0.568 GB, free: 4.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 5.08e-06/0.2783, allocations: 3.984 kB / 0.568 GB, free: 4.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.002314/0.2806, allocations: 1.869 MB / 0.5698 GB, free: 2.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.2808, allocations: 158 kB / 0.57 GB, free: 2.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.2811, allocations: 307.1 kB / 0.5703 GB, free: 2.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.852e-05/0.2812, allocations: 85.66 kB / 0.5703 GB, free: 2.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2813, allocations: 209.9 kB / 0.5705 GB, free: 2.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.2816, allocations: 305.8 kB / 0.5708 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.2819, allocations: 218.9 kB / 0.571 GB, free: 1.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.282, allocations: 328.6 kB / 0.5714 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.2825, allocations: 331.1 kB / 0.5717 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009783/0.2835, allocations: 0.8916 MB / 0.5725 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.2861, allocations: 1.77 MB / 0.5743 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.2861, allocations: 8 kB / 0.5743 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.0023/0.2884, allocations: 1.495 MB / 0.5757 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2884, allocations: 12 kB / 0.5757 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.2885, allocations: 20 kB / 0.5758 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/0.2885, allocations: 28 kB / 0.5758 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.2891, allocations: 215.5 kB / 0.576 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.169e-05/0.2892, allocations: 43.8 kB / 0.576 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.2896, allocations: 119.1 kB / 0.5762 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.2897, allocations: 70.69 kB / 0.5762 GB, free: 11.78 MB / 398.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.0006218/0.2903, allocations: 0.4905 MB / 0.5767 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.2904, allocations: 55.62 kB / 0.5768 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.2904, allocations: 45.34 kB / 0.5768 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2905, allocations: 8 kB / 0.5768 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.2905, allocations: 6.594 kB / 0.5768 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.2905, allocations: 3.984 kB / 0.5768 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.2927, allocations: 1.935 MB / 0.5787 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2927, allocations: 0 / 0.5787 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.2929, allocations: 39.92 kB / 0.5787 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2929, allocations: 0 / 0.5787 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.293, allocations: 26.61 kB / 0.5788 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.293, allocations: 3.938 kB / 0.5788 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.293, allocations: 0 / 0.5788 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.2954, allocations: 1.972 MB / 0.5807 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.2955, allocations: 70.16 kB / 0.5808 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.2955, allocations: 15.92 kB / 0.5808 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2957, allocations: 15.98 kB / 0.5808 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.2957, allocations: 28.45 kB / 0.5808 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.2957, allocations: 19.98 kB / 0.5808 GB, free: 6.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.2959, allocations: 197.8 kB / 0.581 GB, free: 6.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2959, allocations: 0 / 0.581 GB, free: 6.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006854/0.2966, allocations: 187.8 kB / 0.5812 GB, free: 6.609 MB / 398.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.003254/0.2999, allocations: 2.73 MB / 0.5839 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.3013, allocations: 1.01 MB / 0.5849 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3013, allocations: 3.938 kB / 0.5849 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.3018, allocations: 336.9 kB / 0.5852 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.3022, allocations: 81.22 kB / 0.5853 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009317/0.3116, allocations: 7.364 MB / 0.5925 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.3121, allocations: 0.8932 MB / 0.5933 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.3123, allocations: 106.4 kB / 0.5934 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.3126, allocations: 191.4 kB / 0.5936 GB, free: 9.398 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3126, allocations: 0 / 0.5936 GB, free: 9.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04342/0.356, allocations: 12.09 MB / 0.6054 GB, free: 13.85 MB / 430.1 MB Error: Error building simulator. Build log: cmd: cd '830.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/OpenModelicaLibraryTesting/DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis/830.fmutmp/sources/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/830.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: Not linked -- 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 -- 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 \"830\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis/830.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.091157556977123] Failed to read output from testmodel.py, exit status != 0: 0.7156909371260554 0.730892133 0.45719502500000003 Calling exit ...