Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 374.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 53.3 MB / 428.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.2069/0.3097, allocations: 6.988 MB / 435 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.3143, allocations: 3.129 MB / 438.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006446/0.3149, allocations: 35.59 kB / 438.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.3163, allocations: 0.68 MB / 438.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.3192, allocations: 1.387 MB / 440.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.3202, allocations: 0.4972 MB / 440.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004242/0.3244, allocations: 3.2 MB / 444 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006675/0.3251, allocations: 375.3 kB / 444.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.3263, allocations: 0.7942 MB / 445.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.3279, allocations: 1.335 MB / 446.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003531/0.3283, allocations: 129.9 kB / 446.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.3303, allocations: 0.9739 MB / 447.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.3314, allocations: 1.093 MB / 448.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009813/0.3324, allocations: 1.212 MB / 449.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.3365, allocations: 4.006 MB / 453.9 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3365, allocations: 1.344 kB / 453.9 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3365, allocations: 0 / 453.9 MB, free: 396 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.465e-05/0.3365, allocations: 0 / 453.9 MB, free: 396 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.007303/0.3438, allocations: 3.254 MB / 457.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3439, allocations: 14.31 kB / 457.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008586/0.3525, allocations: 2.013 MB / 459.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.3558, allocations: 1.61 MB / 460.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.3559, allocations: 119.7 kB / 460.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000949/0.3568, allocations: 297.1 kB / 461.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.3722, allocations: 8.22 MB / 469.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.493e-05/0.3723, allocations: 44.94 kB / 469.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.3726, allocations: 75.89 kB / 469.5 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002404/0.375, allocations: 1.401 MB / 470.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01882/0.3938, allocations: 9.543 MB / 480.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03824/0.4321, allocations: 30.56 MB / 0.499 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/0.4445, allocations: 4.332 MB / 0.5033 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003118/0.4476, allocations: 2.079 MB / 0.5053 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-05/0.4477, allocations: 19.98 kB / 0.5053 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.4477, allocations: 47.19 kB / 0.5054 GB, free: 5.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 2.715e-06/0.4477, allocations: 0 / 0.5054 GB, free: 5.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.04793/0.4957, allocations: 18.43 MB / 0.5234 GB, free: 2.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002863/0.4985, allocations: 3.241 MB / 0.5265 GB, free: 15.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004563/0.5031, allocations: 2.983 MB / 0.5294 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005101/0.5036, allocations: 49.7 kB / 0.5295 GB, free: 12.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001783/0.5054, allocations: 2.159 MB / 0.5316 GB, free: 10 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.5064, allocations: 0.5971 MB / 0.5322 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/0.5081, allocations: 1.02 MB / 0.5332 GB, free: 8.367 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5083, allocations: 301.1 kB / 0.5335 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004423/0.5127, allocations: 2.629 MB / 0.536 GB, free: 5.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007533/0.5202, allocations: 5.592 MB / 0.5415 GB, free: 14.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/0.5326, allocations: 8.622 MB / 0.5499 GB, free: 4.285 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-05/0.5326, allocations: 32 kB / 0.5499 GB, free: 4.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03577/0.5684, allocations: 11.92 MB / 0.5616 GB, free: 8.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.5685, allocations: 56.19 kB / 0.5616 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02496/0.5934, allocations: 7.142 MB / 0.5686 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02417/0.6176, allocations: 4.722 MB / 0.5732 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004525/0.6221, allocations: 1.244 MB / 0.5744 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.6412, allocations: 12.61 MB / 0.5868 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/0.6464, allocations: 0.5772 MB / 0.5873 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008765/0.6473, allocations: 315.9 kB / 0.5876 GB, free: 13.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002556/0.6498, allocations: 1.414 MB / 0.589 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006305/0.6505, allocations: 266.2 kB / 0.5893 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.6515, allocations: 414.9 kB / 0.5896 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01252/0.664, allocations: 4.998 MB / 0.5945 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/0.6641, allocations: 4 kB / 0.5945 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.6641, allocations: 11.92 kB / 0.5945 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009598/0.6737, allocations: 5.357 MB / 0.5998 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.6737, allocations: 7.938 kB / 0.5998 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.6755, allocations: 363.4 kB / 0.6001 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009214/0.6847, allocations: 2.392 MB / 0.6025 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004724/0.6852, allocations: 43.95 kB / 0.6025 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.6964, allocations: 9.443 MB / 0.6117 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002561/0.6989, allocations: 3.065 MB / 0.6147 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2007/0.8996, allocations: 8.758 MB / 0.6233 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006816/0.9003, allocations: 338.2 kB / 0.6236 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.9007, allocations: 32.77 kB / 0.6236 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.9028, allocations: 320.7 kB / 0.6239 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/0.9033, allocations: 98.91 kB / 0.624 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/0.9034, allocations: 55.81 kB / 0.6241 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002919/0.9064, allocations: 1.865 MB / 0.6259 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9064, allocations: 0 / 0.6259 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004327/0.9107, allocations: 0.9939 MB / 0.6269 GB, free: 162.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004707/0.9112, allocations: 174.5 kB / 0.627 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.9232, allocations: 7.191 MB / 0.6341 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9232, allocations: 0 / 0.6341 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005741/0.9289, allocations: 3.58 MB / 0.6376 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.9311, allocations: 300.6 kB / 0.6378 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.9411, allocations: 8.487 MB / 0.6461 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.9427, allocations: 2.294 MB / 0.6484 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.9438, allocations: 236.3 kB / 0.6486 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.9438, allocations: 0 / 0.6486 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.1041/1.048, allocations: 145.9 MB / 0.7911 GB, free: 11.56 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:153: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:204: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:256: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:307: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:358: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:408: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:153: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:204: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:256: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:307: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:358: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:408: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:102: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:156: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.759769103024155] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]', 'body2.frame_a.r_0[1]', 'body2.frame_a.r_0[2]', 'body2.frame_a.r_0[3]', 'body2.v_0[1]', 'body2.v_0[2]', 'body2.v_0[3]', 'body2.w_a[1]', 'body2.w_a[2]', 'body2.w_a[3]'] 1.0560521490406245 1.06414407 0.725210707 Calling exit ...