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.FreeBody.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.0102/0.0102, allocations: 106.7 kB / 21.98 MB, free: 5.223 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.002514/0.002514, allocations: 212.4 kB / 25.29 MB, free: 3.203 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.461/1.461, allocations: 230.5 MB / 259 MB, free: 8.277 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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [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.001967/0.001967, allocations: 64.78 kB / 379.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2354, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01273/0.2481, allocations: 10.51 MB / 443.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008323/0.2564, allocations: 3.886 MB / 447.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.258, allocations: 71.62 kB / 447.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004644/0.2626, allocations: 2.344 MB / 450 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.2669, allocations: 1.704 MB / 451.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.2683, allocations: 0.6122 MB / 452.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005003/0.2733, allocations: 3.489 MB / 455.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/0.2765, allocations: 2.438 MB / 458.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.2789, allocations: 1.382 MB / 459.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.2818, allocations: 1.947 MB / 461.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006304/0.2825, allocations: 292 kB / 461.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.2846, allocations: 1.162 MB / 463 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.2865, allocations: 1.722 MB / 464.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0023/0.2888, allocations: 1.938 MB / 466.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00771/0.2965, allocations: 6.223 MB / 472.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2965, allocations: 0 / 472.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2965, allocations: 4 kB / 472.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000157/0.2966, allocations: 0 / 472.9 MB, free: 15.08 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.008026/0.3047, allocations: 4.234 MB / 477.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3047, allocations: 8.031 kB / 477.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/0.3112, allocations: 1.917 MB / 479 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004654/0.3158, allocations: 1.977 MB / 481 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.316, allocations: 221.4 kB / 481.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009978/0.317, allocations: 367.7 kB / 481.6 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.3336, allocations: 8.897 MB / 490.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.3337, allocations: 39.64 kB / 490.5 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003942/0.3341, allocations: 139.9 kB / 490.7 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002607/0.3367, allocations: 1.641 MB / 492.3 MB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.3525, allocations: 7.517 MB / 499.8 MB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0454/0.3979, allocations: 34.94 MB / 0.5222 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008331/0.4062, allocations: 2.922 MB / 0.5251 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.4082, allocations: 1.388 MB / 0.5264 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009395/0.4176, allocations: 5.698 MB / 0.532 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.4177, allocations: 43.22 kB / 0.532 GB, free: 5.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.587e-06/0.4177, allocations: 0 / 0.532 GB, free: 5.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2349/0.6526, allocations: 11.05 MB / 0.5428 GB, free: 99.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001084/0.6536, allocations: 1.598 MB / 0.5444 GB, free: 97.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/0.6588, allocations: 3.537 MB / 0.5479 GB, free: 96.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000329/0.6592, allocations: 47.83 kB / 0.5479 GB, free: 96.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001511/0.6607, allocations: 2.901 MB / 0.5507 GB, free: 94.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006731/0.6614, allocations: 0.5944 MB / 0.5513 GB, free: 94.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.6626, allocations: 1.111 MB / 0.5524 GB, free: 93.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.6626, allocations: 306.3 kB / 0.5527 GB, free: 93.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.6649, allocations: 1.932 MB / 0.5546 GB, free: 92.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00324/0.6681, allocations: 5.374 MB / 0.5598 GB, free: 87.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006404/0.6745, allocations: 7.845 MB / 0.5675 GB, free: 79.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.398e-05/0.6746, allocations: 36 kB / 0.5675 GB, free: 79.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01726/0.6918, allocations: 8.86 MB / 0.5762 GB, free: 71.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.6919, allocations: 56 kB / 0.5762 GB, free: 71.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009383/0.7013, allocations: 3.514 MB / 0.5797 GB, free: 67.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009425/0.7107, allocations: 2.324 MB / 0.5819 GB, free: 65.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/0.7145, allocations: 1.263 MB / 0.5832 GB, free: 63.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008166/0.7227, allocations: 7.231 MB / 0.5902 GB, free: 56.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004619/0.7273, allocations: 391.4 kB / 0.5906 GB, free: 56.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00084/0.7281, allocations: 339.8 kB / 0.5909 GB, free: 55.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002733/0.7309, allocations: 1.858 MB / 0.5927 GB, free: 53.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006038/0.7315, allocations: 313.9 kB / 0.593 GB, free: 53.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.7321, allocations: 410.1 kB / 0.5934 GB, free: 53.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003919/0.736, allocations: 2.367 MB / 0.5957 GB, free: 50.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.7361, allocations: 4 kB / 0.5957 GB, free: 50.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.7361, allocations: 7.969 kB / 0.5958 GB, free: 50.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.7476, allocations: 7.727 MB / 0.6033 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.7476, allocations: 8.156 kB / 0.6033 GB, free: 43.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.7486, allocations: 227.8 kB / 0.6035 GB, free: 42.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.7512, allocations: 1.06 MB / 0.6046 GB, free: 41.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.7513, allocations: 35.97 kB / 0.6046 GB, free: 41.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004323/0.7556, allocations: 5.077 MB / 0.6096 GB, free: 36.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007049/0.7563, allocations: 1.458 MB / 0.611 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006577/0.7629, allocations: 5.007 MB / 0.6159 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.7639, allocations: 297.7 kB / 0.6161 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.7643, allocations: 31.92 kB / 0.6162 GB, free: 29.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.7655, allocations: 127.8 kB / 0.6163 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.7657, allocations: 88.47 kB / 0.6164 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.7658, allocations: 43.42 kB / 0.6164 GB, free: 29.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002544/0.7684, allocations: 2.179 MB / 0.6186 GB, free: 27.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7684, allocations: 7.938 kB / 0.6186 GB, free: 27.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004233/0.7726, allocations: 0.9569 MB / 0.6195 GB, free: 26.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0003664/0.773, allocations: 155.4 kB / 0.6196 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007376/0.7804, allocations: 4.905 MB / 0.6244 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.7804, allocations: 0 / 0.6244 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/0.7834, allocations: 1.8 MB / 0.6262 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.7857, allocations: 402.9 kB / 0.6266 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.7978, allocations: 9.022 MB / 0.6354 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.8001, allocations: 2.901 MB / 0.6382 GB, free: 6.758 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008627/0.801, allocations: 251.4 kB / 0.6385 GB, free: 6.512 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/0.801, allocations: 0 / 0.6385 GB, free: 6.512 MB / 446.1 MB Notification: Performance of Templates: time 0.3592/1.16, allocations: 118.4 MB / 0.7541 GB, free: 175.5 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgLoopMain.cpp:24: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:183: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:246: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:310: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:373: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:436: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:498: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:183: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:246: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:310: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:373: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:436: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:498: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2)) + (((-_system->_body_P_body_P_Q_(2)) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:120: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2)) + (((-_system->_body_P_body_P_Q_(2)) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:186: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2)) + (((-_system->_body_P_body_P_Q_(2)) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_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.FreeBodyCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.057174053043127] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.body.frame_a.r_0[1]', 'body.body.frame_a.r_0[2]', 'body.body.frame_a.r_0[3]', 'body.body.w_a[1]', 'body.body.w_a[2]', 'body.body.w_a[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]'] 1.1695619812235236 1.178261292 0.879388413 Calling exit ...