Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.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.06988/0.06988, allocations: 12.18 MB / 31.8 MB, free: 1.359 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.001357/0.001357, allocations: 117.4 kB / 38.03 MB, free: 3.004 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.00147/0.00147, allocations: 208.3 kB / 44.38 MB, free: 5.398 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.509/1.509, allocations: 230.6 MB / 281.1 MB, free: 7.934 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.06379/0.06379, allocations: 13.89 MB / 354.5 MB, free: 4.121 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_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola",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) 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.03599/0.03599, allocations: 20.57 MB / 0.4991 GB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3681, allocations: 59.68 MB / 0.5574 GB, free: 480 kB / 366.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola): time 0.005642/0.3737, allocations: 3.463 MB / 0.5608 GB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.3747, allocations: 0.5087 MB / 0.5613 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.3749, allocations: 19.81 kB / 0.5613 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.3752, allocations: 79.3 kB / 0.5613 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.3754, allocations: 66.06 kB / 0.5614 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.3758, allocations: 183.5 kB / 0.5616 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.3763, allocations: 367.5 kB / 0.5619 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.3766, allocations: 133.5 kB / 0.5621 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3767, allocations: 135.4 kB / 0.5622 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.377, allocations: 161.9 kB / 0.5623 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.377, allocations: 31.94 kB / 0.5624 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3771, allocations: 56 kB / 0.5624 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.3773, allocations: 175.4 kB / 0.5626 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.3775, allocations: 234.5 kB / 0.5628 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.3783, allocations: 0.6027 MB / 0.5634 GB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3783, allocations: 0 / 0.5634 GB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3783, allocations: 2.656 kB / 0.5634 GB, free: 10.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3783, allocations: 0 / 0.5634 GB, free: 10.28 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.00128/0.3796, allocations: 0.8011 MB / 0.5642 GB, free: 9.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3797, allocations: 12.56 kB / 0.5642 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.442e-05/0.3797, allocations: 17.17 kB / 0.5642 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.3799, allocations: 110.3 kB / 0.5643 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.38, allocations: 76.45 kB / 0.5644 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.3806, allocations: 349.9 kB / 0.5647 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.3806, allocations: 39.98 kB / 0.5648 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.3807, allocations: 48.36 kB / 0.5648 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009157/0.3816, allocations: 0.6167 MB / 0.5654 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3816, allocations: 3.953 kB / 0.5654 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.3817, allocations: 23.98 kB / 0.5654 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.3817, allocations: 8 kB / 0.5655 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.3823, allocations: 402.8 kB / 0.5658 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.3844, allocations: 1.615 MB / 0.5674 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.3852, allocations: 0.5557 MB / 0.568 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.3856, allocations: 288.1 kB / 0.5682 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.3857, allocations: 11.19 kB / 0.5682 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00065/0.3863, allocations: 463.5 kB / 0.5687 GB, free: 4.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.524e-06/0.3863, allocations: 2.656 kB / 0.5687 GB, free: 4.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=103): time 0.002395/0.3887, allocations: 1.881 MB / 0.5705 GB, free: 2.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.3889, allocations: 165.9 kB / 0.5707 GB, free: 2.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.3892, allocations: 308.4 kB / 0.571 GB, free: 2.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.3893, allocations: 85.67 kB / 0.5711 GB, free: 2.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3895, allocations: 220.2 kB / 0.5713 GB, free: 1.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.3898, allocations: 309.7 kB / 0.5716 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.3901, allocations: 226.9 kB / 0.5718 GB, free: 1.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3902, allocations: 326 kB / 0.5721 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.3908, allocations: 339.1 kB / 0.5724 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3918, allocations: 0.8915 MB / 0.5733 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/0.3944, allocations: 1.777 MB / 0.575 GB, free: 13.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/0.3944, allocations: 12 kB / 0.575 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.002389/0.3968, allocations: 1.5 MB / 0.5765 GB, free: 12.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.3969, allocations: 14.34 kB / 0.5765 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/0.3969, allocations: 20 kB / 0.5765 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/0.3969, allocations: 26.69 kB / 0.5766 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.3976, allocations: 227.5 kB / 0.5768 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.138e-05/0.3976, allocations: 47.78 kB / 0.5768 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000434/0.3981, allocations: 111.2 kB / 0.5769 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.3982, allocations: 64 kB / 0.577 GB, free: 11.68 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] $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.0007132/0.3989, allocations: 0.4948 MB / 0.5775 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.399, allocations: 55.62 kB / 0.5775 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3991, allocations: 45.45 kB / 0.5776 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3991, allocations: 8 kB / 0.5776 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.3991, allocations: 7.875 kB / 0.5776 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.3991, allocations: 7.984 kB / 0.5776 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.4016, allocations: 1.941 MB / 0.5795 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.4016, allocations: 4 kB / 0.5795 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.4018, allocations: 47.91 kB / 0.5795 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4019, allocations: 15.81 kB / 0.5795 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.4019, allocations: 15.98 kB / 0.5796 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4019, allocations: 4 kB / 0.5796 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4019, allocations: 0 / 0.5796 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.4044, allocations: 1.998 MB / 0.5815 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-05/0.4045, allocations: 67.42 kB / 0.5816 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.4045, allocations: 15.98 kB / 0.5816 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.4047, allocations: 18.64 kB / 0.5816 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.4047, allocations: 32.44 kB / 0.5816 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.4048, allocations: 23.98 kB / 0.5817 GB, free: 6.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.405, allocations: 195.1 kB / 0.5819 GB, free: 6.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.405, allocations: 0 / 0.5819 GB, free: 6.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008927/0.4059, allocations: 187.8 kB / 0.582 GB, free: 6.441 MB / 398.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.003378/0.4093, allocations: 2.748 MB / 0.5847 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.4109, allocations: 1.021 MB / 0.5857 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4109, allocations: 0 / 0.5857 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.4114, allocations: 352.9 kB / 0.5861 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.4119, allocations: 71.42 kB / 0.5861 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009467/0.4214, allocations: 7.417 MB / 0.5934 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/0.4219, allocations: 0.8972 MB / 0.5942 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002711/0.4222, allocations: 106.6 kB / 0.5943 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.4225, allocations: 198.1 kB / 0.5945 GB, free: 9.145 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4225, allocations: 0 / 0.5945 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.4693, allocations: 12.28 MB / 0.6065 GB, free: 13.43 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_Dymola/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_Dymola/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_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 \"830\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola/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.4232853300636634] Failed to read output from testmodel.py, exit status != 0: 0.8731046511093155 0.8881731780000001 0.506798897 Calling exit ...