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.09567/0.09567, allocations: 12.18 MB / 31.02 MB, free: 1.652 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.001248/0.001248, allocations: 111.4 kB / 37.24 MB, free: 2.832 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.001767/0.001767, allocations: 208.3 kB / 43.58 MB, free: 5.23 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.577/1.577, allocations: 230.6 MB / 280.3 MB, free: 8.641 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.06632/0.06632, allocations: 13.89 MB / 353.7 MB, free: 3.945 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.07732/0.07732, allocations: 20.97 MB / 0.4986 GB, free: 15.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3787, allocations: 59.67 MB / 0.5569 GB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis): time 0.005298/0.384, allocations: 3.264 MB / 0.5601 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000856/0.3849, allocations: 498.4 kB / 0.5605 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.385, allocations: 22.47 kB / 0.5606 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.3853, allocations: 83.3 kB / 0.5606 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.3855, allocations: 55.45 kB / 0.5607 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.3859, allocations: 182.3 kB / 0.5609 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.3863, allocations: 363.5 kB / 0.5612 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.3865, allocations: 117.4 kB / 0.5613 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3867, allocations: 131.4 kB / 0.5615 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.3869, allocations: 147.2 kB / 0.5616 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.3869, allocations: 32 kB / 0.5616 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.387, allocations: 52 kB / 0.5617 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.3872, allocations: 174.1 kB / 0.5618 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.3874, allocations: 190.7 kB / 0.562 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.388, allocations: 0.6059 MB / 0.5626 GB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3881, allocations: 0 / 0.5626 GB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3881, allocations: 0 / 0.5626 GB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.3881, allocations: 3.938 kB / 0.5626 GB, free: 10.26 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.001194/0.3893, allocations: 0.7932 MB / 0.5634 GB, free: 9.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3893, allocations: 15.61 kB / 0.5634 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.3894, allocations: 111.6 kB / 0.5635 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.3896, allocations: 68.52 kB / 0.5636 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.3902, allocations: 335.6 kB / 0.5639 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.3902, allocations: 33.36 kB / 0.5639 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.3903, allocations: 48.36 kB / 0.564 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00088/0.3912, allocations: 0.6144 MB / 0.5646 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3912, allocations: 3.938 kB / 0.5646 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.3912, allocations: 19.98 kB / 0.5646 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.3912, allocations: 12 kB / 0.5646 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.3919, allocations: 393.5 kB / 0.565 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.3942, allocations: 1.517 MB / 0.5665 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.395, allocations: 0.5555 MB / 0.567 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.3954, allocations: 284.1 kB / 0.5673 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.3955, allocations: 8.5 kB / 0.5673 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000646/0.3961, allocations: 459.4 kB / 0.5677 GB, free: 4.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.324e-06/0.3961, allocations: 0 / 0.5677 GB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.002302/0.3984, allocations: 1.77 MB / 0.5695 GB, free: 3.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.3986, allocations: 160.7 kB / 0.5696 GB, free: 2.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.3989, allocations: 308.8 kB / 0.5699 GB, free: 2.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.399, allocations: 89.67 kB / 0.57 GB, free: 2.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.3992, allocations: 205.5 kB / 0.5702 GB, free: 2.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.3995, allocations: 297.8 kB / 0.5705 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.3998, allocations: 226.9 kB / 0.5707 GB, free: 1.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3999, allocations: 326 kB / 0.571 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.4005, allocations: 337.8 kB / 0.5713 GB, free: 1.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.4015, allocations: 0.8877 MB / 0.5722 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.4041, allocations: 1.772 MB / 0.5739 GB, free: 13.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.4041, allocations: 4 kB / 0.5739 GB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002335/0.4065, allocations: 1.5 MB / 0.5754 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.4065, allocations: 16 kB / 0.5754 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/0.4065, allocations: 26.62 kB / 0.5754 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-05/0.4066, allocations: 24 kB / 0.5755 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.4072, allocations: 219.5 kB / 0.5757 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.702e-05/0.4072, allocations: 39.8 kB / 0.5757 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.4077, allocations: 107.3 kB / 0.5758 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.634e-05/0.4078, allocations: 68 kB / 0.5759 GB, free: 11.96 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.0007923/0.4086, allocations: 0.4977 MB / 0.5764 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.4086, allocations: 55.66 kB / 0.5764 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.4087, allocations: 49.27 kB / 0.5765 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4088, allocations: 4 kB / 0.5765 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4088, allocations: 3.938 kB / 0.5765 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.4088, allocations: 7.984 kB / 0.5765 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.411, allocations: 1.753 MB / 0.5782 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.411, allocations: 2.688 kB / 0.5782 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.4112, allocations: 43.98 kB / 0.5782 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.4112, allocations: 0 / 0.5782 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.4113, allocations: 19.92 kB / 0.5782 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4113, allocations: 0 / 0.5782 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4113, allocations: 0 / 0.5782 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.4136, allocations: 1.845 MB / 0.58 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.4136, allocations: 74.14 kB / 0.5801 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.4137, allocations: 15.92 kB / 0.5801 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4138, allocations: 11.98 kB / 0.5801 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.4139, allocations: 28.45 kB / 0.5802 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.4139, allocations: 19.98 kB / 0.5802 GB, free: 7.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.4142, allocations: 199.1 kB / 0.5804 GB, free: 7.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4142, allocations: 0 / 0.5804 GB, free: 7.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008814/0.415, allocations: 190.4 kB / 0.5806 GB, free: 7.094 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.003572/0.4186, allocations: 2.599 MB / 0.5831 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.4204, allocations: 1.011 MB / 0.5841 GB, free: 3.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4204, allocations: 4 kB / 0.5841 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.4209, allocations: 347.6 kB / 0.5844 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.4214, allocations: 74.78 kB / 0.5845 GB, free: 3.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.4321, allocations: 7.378 MB / 0.5917 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4324, allocations: 297.2 kB / 0.592 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.4327, allocations: 105.1 kB / 0.5921 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.433, allocations: 187.4 kB / 0.5923 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 1.724e-06/0.433, allocations: 4 kB / 0.5923 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.047/0.48, allocations: 12.16 MB / 0.6041 GB, free: 14.9 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.62676899228245] Failed to read output from testmodel.py, exit status != 0: 0.9101461688987911 0.935522408 0.542799089 Calling exit ...