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.08031/0.08031, allocations: 12.19 MB / 31.81 MB, free: 1.352 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.001409/0.001409, allocations: 112.1 kB / 38.02 MB, free: 3.008 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.002313/0.002313, 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.565/1.565, allocations: 230.6 MB / 281.1 MB, free: 7.969 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.06425/0.06425, allocations: 13.9 MB / 354.5 MB, free: 4.102 MB / 270.1 MB " [Timeout remaining time 180] Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6) 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.0335/0.0335, allocations: 20.59 MB / 0.4991 GB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3736, allocations: 59.67 MB / 0.5574 GB, free: 448 kB / 366.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis): time 0.005241/0.3789, allocations: 3.45 MB / 0.5607 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.3798, allocations: 0.5049 MB / 0.5612 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.3799, allocations: 15.81 kB / 0.5612 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.3802, allocations: 91.22 kB / 0.5613 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.3804, allocations: 54.19 kB / 0.5614 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.3808, allocations: 183.5 kB / 0.5616 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.3813, allocations: 367.4 kB / 0.5619 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.3815, allocations: 128.2 kB / 0.562 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3817, allocations: 135.4 kB / 0.5622 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.3819, allocations: 161.9 kB / 0.5623 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.382, allocations: 32 kB / 0.5623 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3821, allocations: 51.98 kB / 0.5624 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.3823, allocations: 179.4 kB / 0.5626 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.3826, allocations: 226.5 kB / 0.5628 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007052/0.3833, allocations: 0.596 MB / 0.5634 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3833, allocations: 3.938 kB / 0.5634 GB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3833, allocations: 2.656 kB / 0.5634 GB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3833, allocations: 0 / 0.5634 GB, free: 10.29 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.001278/0.3846, allocations: 0.8011 MB / 0.5642 GB, free: 9.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3846, allocations: 12.62 kB / 0.5642 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.96e-05/0.3847, allocations: 15.88 kB / 0.5642 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.3848, allocations: 111.6 kB / 0.5643 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.3849, allocations: 68.52 kB / 0.5644 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.3855, allocations: 335.6 kB / 0.5647 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.3856, allocations: 37.36 kB / 0.5647 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.3856, allocations: 48.36 kB / 0.5648 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009554/0.3866, allocations: 0.6206 MB / 0.5654 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3866, allocations: 11.88 kB / 0.5654 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.3867, allocations: 20 kB / 0.5654 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3867, allocations: 12 kB / 0.5654 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.3873, allocations: 394.4 kB / 0.5658 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.3893, allocations: 1.624 MB / 0.5674 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.3902, allocations: 0.544 MB / 0.5679 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.3906, allocations: 292.1 kB / 0.5682 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.3906, allocations: 19.06 kB / 0.5682 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006481/0.3913, allocations: 466.1 kB / 0.5686 GB, free: 4.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.114e-06/0.3913, allocations: 3.938 kB / 0.5686 GB, free: 4.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=103): time 0.002388/0.3937, allocations: 1.877 MB / 0.5705 GB, free: 2.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.3938, allocations: 162 kB / 0.5706 GB, free: 2.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.3941, allocations: 304.4 kB / 0.5709 GB, free: 2.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.3942, allocations: 89.66 kB / 0.571 GB, free: 2.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3944, allocations: 208.3 kB / 0.5712 GB, free: 2.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.3947, allocations: 313.7 kB / 0.5715 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.395, allocations: 222.9 kB / 0.5717 GB, free: 1.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3951, allocations: 326 kB / 0.572 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.3956, allocations: 335.1 kB / 0.5723 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009961/0.3966, allocations: 0.8916 MB / 0.5732 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.3992, allocations: 1.796 MB / 0.575 GB, free: 13.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.896e-05/0.3992, allocations: 4 kB / 0.575 GB, free: 13.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.002395/0.4016, allocations: 1.496 MB / 0.5764 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.4017, allocations: 15.98 kB / 0.5765 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.4017, allocations: 20 kB / 0.5765 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.921e-05/0.4017, allocations: 30.69 kB / 0.5765 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.4024, allocations: 223.5 kB / 0.5767 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.033e-05/0.4024, allocations: 43.8 kB / 0.5768 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.4029, allocations: 119.2 kB / 0.5769 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/0.403, allocations: 68 kB / 0.5769 GB, free: 11.71 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.000733/0.4037, allocations: 494.9 kB / 0.5774 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.4038, allocations: 55.66 kB / 0.5775 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.4039, allocations: 45.39 kB / 0.5775 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/0.4039, allocations: 8 kB / 0.5775 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4039, allocations: 3.938 kB / 0.5775 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4039, allocations: 3.938 kB / 0.5775 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.4061, allocations: 1.949 MB / 0.5794 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4061, allocations: 4 kB / 0.5794 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.4064, allocations: 51.91 kB / 0.5795 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.4064, allocations: 7.938 kB / 0.5795 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.4064, allocations: 11.98 kB / 0.5795 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.4064, allocations: 4 kB / 0.5795 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4064, allocations: 2.656 kB / 0.5795 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.4088, allocations: 1.987 MB / 0.5814 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.4088, allocations: 67.44 kB / 0.5815 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.4089, allocations: 19.98 kB / 0.5815 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.409, allocations: 18.55 kB / 0.5815 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.4091, allocations: 32.44 kB / 0.5816 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.4091, allocations: 19.98 kB / 0.5816 GB, free: 6.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.4093, allocations: 195.1 kB / 0.5818 GB, free: 6.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4093, allocations: 0 / 0.5818 GB, free: 6.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007909/0.4101, allocations: 183.8 kB / 0.582 GB, free: 6.508 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.003381/0.4135, allocations: 2.758 MB / 0.5846 GB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.4151, allocations: 1.018 MB / 0.5856 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4151, allocations: 0 / 0.5856 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.4156, allocations: 356.9 kB / 0.586 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.4161, allocations: 77.45 kB / 0.5861 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009644/0.4257, allocations: 7.354 MB / 0.5932 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.4263, allocations: 0.8971 MB / 0.5941 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.4266, allocations: 106.9 kB / 0.5942 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.4269, allocations: 195.4 kB / 0.5944 GB, free: 9.246 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4269, allocations: 4 kB / 0.5944 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.4625, allocations: 12.16 MB / 0.6063 GB, free: 13.64 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_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_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.540114826988429] Failed to read output from testmodel.py, exit status != 0: 0.8688692729920149 0.888635575 0.501823779 Calling exit ...