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.07772/0.07772, allocations: 12.18 MB / 31.82 MB, free: 1.457 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.001408/0.001408, allocations: 119.9 kB / 38.03 MB, free: 2.891 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.001832/0.001832, allocations: 220.1 kB / 44.36 MB, free: 5.297 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.544/1.544, allocations: 230.6 MB / 281.1 MB, free: 8.691 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.0649/0.0649, allocations: 13.89 MB / 354.5 MB, free: 3.941 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.06798/0.06798, allocations: 20.58 MB / 0.499 GB, free: 15.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3872, allocations: 59.68 MB / 0.5573 GB, free: 284 kB / 366.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola): time 0.006789/0.394, allocations: 3.268 MB / 0.5605 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3956, allocations: 0.4905 MB / 0.5609 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.3959, allocations: 18.47 kB / 0.561 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.3964, allocations: 87.28 kB / 0.5611 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.3967, allocations: 51.47 kB / 0.5611 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.3973, allocations: 186.2 kB / 0.5613 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007115/0.398, allocations: 375.4 kB / 0.5616 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.3984, allocations: 129.5 kB / 0.5618 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.3986, allocations: 131.4 kB / 0.5619 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.3989, allocations: 159.2 kB / 0.562 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.399, allocations: 32 kB / 0.5621 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3991, allocations: 55.92 kB / 0.5621 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.3993, allocations: 182.1 kB / 0.5623 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.3995, allocations: 178.8 kB / 0.5625 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008741/0.4004, allocations: 0.6067 MB / 0.5631 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4004, allocations: 0 / 0.5631 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4004, allocations: 0 / 0.5631 GB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.4004, allocations: 0 / 0.5631 GB, free: 10.36 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.001408/0.4018, allocations: 0.8088 MB / 0.5638 GB, free: 9.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.4019, allocations: 11.61 kB / 0.5639 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.305e-05/0.4019, allocations: 13.19 kB / 0.5639 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.4021, allocations: 107.7 kB / 0.564 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.4023, allocations: 76.45 kB / 0.564 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007214/0.403, allocations: 340.7 kB / 0.5644 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.403, allocations: 37.36 kB / 0.5644 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.4031, allocations: 56.36 kB / 0.5645 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.4041, allocations: 0.618 MB / 0.5651 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.4041, allocations: 3.953 kB / 0.5651 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.4041, allocations: 26.64 kB / 0.5651 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.4042, allocations: 12 kB / 0.5651 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.4048, allocations: 394.8 kB / 0.5655 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.407, allocations: 1.531 MB / 0.567 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/0.4078, allocations: 0.5436 MB / 0.5675 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.4083, allocations: 292.1 kB / 0.5678 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.4083, allocations: 4.5 kB / 0.5678 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007235/0.409, allocations: 467.5 kB / 0.5682 GB, free: 4.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.785e-06/0.409, allocations: 2.656 kB / 0.5682 GB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=103): time 0.002542/0.4116, allocations: 1.79 MB / 0.57 GB, free: 3.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.4118, allocations: 169.9 kB / 0.5701 GB, free: 2.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.4122, allocations: 308.5 kB / 0.5704 GB, free: 2.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.4123, allocations: 85.67 kB / 0.5705 GB, free: 2.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.4125, allocations: 217.5 kB / 0.5707 GB, free: 2.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.4128, allocations: 309.7 kB / 0.571 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.4131, allocations: 229.5 kB / 0.5712 GB, free: 1.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4133, allocations: 326 kB / 0.5716 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.4138, allocations: 339.1 kB / 0.5719 GB, free: 1.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.4149, allocations: 0.8916 MB / 0.5728 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.4175, allocations: 1.779 MB / 0.5745 GB, free: 13.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/0.4175, allocations: 4 kB / 0.5745 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.002401/0.4199, allocations: 1.507 MB / 0.576 GB, free: 12.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4199, allocations: 12 kB / 0.576 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/0.42, allocations: 20 kB / 0.576 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-05/0.42, allocations: 28 kB / 0.576 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.4207, allocations: 219.5 kB / 0.5762 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.321e-05/0.4207, allocations: 43.8 kB / 0.5763 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/0.4212, allocations: 115.2 kB / 0.5764 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.4213, allocations: 70.66 kB / 0.5764 GB, free: 11.9 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.0007493/0.422, allocations: 494.8 kB / 0.5769 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.4221, allocations: 63.61 kB / 0.577 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.4222, allocations: 49.39 kB / 0.577 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4223, allocations: 4 kB / 0.577 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.4223, allocations: 10.59 kB / 0.577 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.4223, allocations: 3.984 kB / 0.577 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.4245, allocations: 1.765 MB / 0.5788 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4245, allocations: 4 kB / 0.5788 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.4247, allocations: 51.89 kB / 0.5788 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.4248, allocations: 7.938 kB / 0.5788 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.4248, allocations: 15.98 kB / 0.5788 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4248, allocations: 6.688 kB / 0.5789 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4248, allocations: 0 / 0.5789 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.4271, allocations: 1.865 MB / 0.5807 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.4272, allocations: 63.42 kB / 0.5807 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.4272, allocations: 19.98 kB / 0.5808 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4274, allocations: 11.98 kB / 0.5808 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.4274, allocations: 36.38 kB / 0.5808 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.4275, allocations: 26.64 kB / 0.5808 GB, free: 7.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.4277, allocations: 195.1 kB / 0.581 GB, free: 7.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4277, allocations: 4 kB / 0.581 GB, free: 7.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000821/0.4285, allocations: 187.8 kB / 0.5812 GB, free: 6.969 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.00327/0.4318, allocations: 2.626 MB / 0.5838 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.4334, allocations: 1.021 MB / 0.5848 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4334, allocations: 0 / 0.5848 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.434, allocations: 352.9 kB / 0.5851 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.4345, allocations: 81.77 kB / 0.5852 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009755/0.4442, allocations: 7.403 MB / 0.5924 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4446, allocations: 300.1 kB / 0.5927 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002742/0.4448, allocations: 106.6 kB / 0.5928 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.4451, allocations: 195.4 kB / 0.593 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4451, allocations: 0 / 0.593 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0589/0.504, allocations: 12.12 MB / 0.6048 GB, free: 14.78 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.561118935002014] Failed to read output from testmodel.py, exit status != 0: 0.9250034859869629 0.94051484 0.536865893 Calling exit ...