Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 114.7 kB / 18.46 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 196.2 kB / 21.4 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 51.92 kB / 366.8 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 52.13 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01527/0.1289, allocations: 12.07 MB / 431 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009711/0.1386, allocations: 4.207 MB / 435.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.1404, allocations: 67.81 kB / 435.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005537/0.146, allocations: 2.799 MB / 438.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006255/0.1522, allocations: 2.018 MB / 440.1 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.1545, allocations: 0.8111 MB / 440.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008418/0.1629, allocations: 4.603 MB / 445.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2882/0.4511, allocations: 3.041 MB / 448.6 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004656/0.4557, allocations: 1.692 MB / 450.3 MB, free: 8.938 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006491/0.4622, allocations: 2.532 MB / 452.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002037/0.4642, allocations: 350.3 kB / 453.1 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/0.4696, allocations: 1.326 MB / 454.5 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005018/0.4747, allocations: 2.159 MB / 456.6 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006757/0.4814, allocations: 2.424 MB / 459.1 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01701/0.4984, allocations: 7.564 MB / 466.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4984, allocations: 0 / 466.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4984, allocations: 1.281 kB / 466.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003328/0.4988, allocations: 1.828 kB / 466.6 MB, free: 6.324 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.02273/0.5215, allocations: 5.413 MB / 472 MB, free: 3.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.5216, allocations: 10.34 kB / 472 MB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/0.538, allocations: 2.141 MB / 474.2 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.5487, allocations: 2.547 MB / 476.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000425/0.5491, allocations: 275.3 kB / 477 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003203/0.5523, allocations: 430.1 kB / 477.4 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04426/0.5966, allocations: 12.22 MB / 489.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/0.5968, allocations: 46.09 kB / 489.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001414/0.5982, allocations: 175.1 kB / 489.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006395/0.6046, allocations: 2.165 MB / 492 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04251/0.6471, allocations: 10.2 MB / 0.4905 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07418/0.7213, allocations: 44.21 MB / 0.5336 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.7332, allocations: 4.464 MB / 0.538 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/0.7359, allocations: 1.626 MB / 0.5396 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01558/0.7515, allocations: 8.25 MB / 0.5476 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/0.7516, allocations: 47.88 kB / 0.5477 GB, free: 2.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 6.642e-06/0.7516, allocations: 0 / 0.5477 GB, free: 2.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.0414/0.793, allocations: 16.16 MB / 0.5635 GB, free: 2.035 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001552/0.7945, allocations: 1.698 MB / 0.5651 GB, free: 176 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006497/0.801, allocations: 4.211 MB / 0.5692 GB, free: 11.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005088/0.8016, allocations: 53.7 kB / 0.5693 GB, free: 11.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003036/0.8046, allocations: 3.546 MB / 0.5727 GB, free: 8.359 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001337/0.8059, allocations: 0.8369 MB / 0.5736 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002221/0.8082, allocations: 1.368 MB / 0.5749 GB, free: 6.156 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8083, allocations: 301.1 kB / 0.5752 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003892/0.8122, allocations: 2.27 MB / 0.5774 GB, free: 3.586 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007653/0.8198, allocations: 6.391 MB / 0.5836 GB, free: 11.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/0.8326, allocations: 9.323 MB / 0.5928 GB, free: 232 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/0.8328, allocations: 40 kB / 0.5928 GB, free: 192 kB / 494.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02511/0.8579, allocations: 10.08 MB / 0.6026 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.858, allocations: 68 kB / 0.6027 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01156/0.8696, allocations: 3.778 MB / 0.6064 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.8797, allocations: 2.168 MB / 0.6085 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005669/0.8854, allocations: 1.583 MB / 0.6101 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009935/0.8953, allocations: 6.604 MB / 0.6165 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/0.9012, allocations: 435.4 kB / 0.6169 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/0.9026, allocations: 412 kB / 0.6173 GB, free: 6.754 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (856): * Single equations (assignments): 847 * 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.005511/0.9081, allocations: 2.219 MB / 0.6195 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.9091, allocations: 393.3 kB / 0.6199 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007684/0.9168, allocations: 3.288 MB / 0.6231 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005552/0.9224, allocations: 2.73 MB / 0.6257 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.9224, allocations: 8 kB / 0.6257 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.9224, allocations: 7.969 kB / 0.6257 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/0.9483, allocations: 10.33 MB / 0.6358 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.512e-05/0.9483, allocations: 16.94 kB / 0.6358 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.95, allocations: 363.5 kB / 0.6362 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003054/0.953, allocations: 0.9869 MB / 0.6372 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003152/0.9533, allocations: 66.73 kB / 0.6372 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2388/1.192, allocations: 4.897 MB / 0.642 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007408/1.193, allocations: 1.559 MB / 0.6435 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008961/1.202, allocations: 5.92 MB / 0.6493 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.203, allocations: 457.5 kB / 0.6497 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/1.204, allocations: 63.27 kB / 0.6498 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.205, allocations: 142.8 kB / 0.6499 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/1.206, allocations: 173.5 kB / 0.6501 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.206, allocations: 79.75 kB / 0.6502 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004986/1.211, allocations: 2.59 MB / 0.6527 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/1.211, allocations: 0 / 0.6527 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007119/1.218, allocations: 1.162 MB / 0.6538 GB, free: 175.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * 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.000669/1.218, allocations: 225.4 kB / 0.6541 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.229, allocations: 5.789 MB / 0.6597 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/1.229, allocations: 2.281 kB / 0.6597 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003958/1.233, allocations: 2.113 MB / 0.6618 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/1.237, allocations: 0.4907 MB / 0.6623 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/1.256, allocations: 11.24 MB / 0.6732 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004058/1.26, allocations: 3.454 MB / 0.6766 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.261, allocations: 324.7 kB / 0.6769 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.863e-06/1.261, allocations: 0 / 0.6769 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1234/1.384, allocations: 142.5 MB / 0.8161 GB, free: 27.48 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp158 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp159 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp159 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp159 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.36690842002281] 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]', 'p2.s', 'p2.v'] 1.3936203840130474 1.401230873 0.900213916 Calling exit ...