Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001276/0.001276, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001405/0.001405, allocations: 217.3 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 230.5 MB / 258.1 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 64.12 kB / 379 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2338, allocations: 53.41 MB / 432.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01499/0.2488, allocations: 12.06 MB / 444.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009196/0.258, allocations: 4.25 MB / 448.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.2595, allocations: 83.56 kB / 448.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00594/0.2655, allocations: 2.799 MB / 451.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.271, allocations: 1.992 MB / 453.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.2729, allocations: 0.8073 MB / 454.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006708/0.2796, allocations: 4.683 MB / 459.1 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004233/0.2839, allocations: 2.946 MB / 462.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.2864, allocations: 1.705 MB / 463.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003393/0.2898, allocations: 2.527 MB / 466.3 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006606/0.2905, allocations: 352 kB / 466.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.2927, allocations: 1.295 MB / 467.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002102/0.2948, allocations: 2.142 MB / 470.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.2974, allocations: 2.412 MB / 472.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008226/0.3056, allocations: 7.497 MB / 480 MB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3056, allocations: 0 / 480 MB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3056, allocations: 0 / 480 MB, free: 7.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001216/0.3057, allocations: 0 / 480 MB, free: 7.016 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.00943/0.3152, allocations: 5.299 MB / 485.3 MB, free: 1.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3152, allocations: 12.03 kB / 485.3 MB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007934/0.3231, allocations: 2.193 MB / 487.5 MB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004882/0.328, allocations: 2.425 MB / 489.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002258/0.3282, allocations: 278.8 kB / 490.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008706/0.3291, allocations: 427.7 kB / 490.6 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02054/0.3497, allocations: 12.27 MB / 0.4911 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.3498, allocations: 47.58 kB / 0.4911 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004305/0.3502, allocations: 171.8 kB / 0.4913 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003266/0.3535, allocations: 2.166 MB / 0.4934 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/0.3744, allocations: 10.25 MB / 0.5034 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2929/0.6673, allocations: 44.04 MB / 0.5464 GB, free: 69.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01592/0.6832, allocations: 3.837 MB / 0.5502 GB, free: 69.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003631/0.6868, allocations: 1.634 MB / 0.5518 GB, free: 69.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/0.7002, allocations: 6.884 MB / 0.5585 GB, free: 67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.7002, allocations: 63.86 kB / 0.5586 GB, free: 66.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.589e-06/0.7002, allocations: 0 / 0.5586 GB, free: 66.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03549/0.7357, allocations: 16.01 MB / 0.5742 GB, free: 56.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001107/0.7368, allocations: 1.589 MB / 0.5757 GB, free: 54.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/0.7418, allocations: 4.195 MB / 0.5798 GB, free: 50.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004281/0.7422, allocations: 53.7 kB / 0.5799 GB, free: 50.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.7436, allocations: 3.55 MB / 0.5834 GB, free: 46.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006527/0.7443, allocations: 0.8328 MB / 0.5842 GB, free: 46.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.7456, allocations: 1.37 MB / 0.5855 GB, free: 44.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.7456, allocations: 301.1 kB / 0.5858 GB, free: 44.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/0.7483, allocations: 2.288 MB / 0.588 GB, free: 42.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004185/0.7525, allocations: 6.415 MB / 0.5943 GB, free: 33.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007655/0.7602, allocations: 9.347 MB / 0.6034 GB, free: 22.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.073e-05/0.7603, allocations: 47.94 kB / 0.6035 GB, free: 22.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01911/0.7794, allocations: 10.18 MB / 0.6134 GB, free: 12.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.44e-05/0.7794, allocations: 68 kB / 0.6135 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009701/0.7891, allocations: 3.89 MB / 0.6173 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009141/0.7983, allocations: 2.262 MB / 0.6195 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/0.8032, allocations: 1.594 MB / 0.621 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/0.8113, allocations: 6.424 MB / 0.6273 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/0.8168, allocations: 439.5 kB / 0.6277 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.8179, allocations: 412 kB / 0.6281 GB, free: 12.98 MB / 462.1 MB 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.004332/0.8222, allocations: 2.212 MB / 0.6303 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000914/0.8232, allocations: 401.3 kB / 0.6307 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007086/0.8302, allocations: 3.305 MB / 0.6339 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005698/0.8359, allocations: 2.769 MB / 0.6366 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.524e-05/0.836, allocations: 7.984 kB / 0.6366 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/0.836, allocations: 7.969 kB / 0.6366 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/0.8586, allocations: 10.18 MB / 0.6466 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/0.8587, allocations: 15.98 kB / 0.6466 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.8603, allocations: 380.1 kB / 0.6469 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/0.8633, allocations: 0.9791 MB / 0.6479 GB, free: 8.418 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002159/0.8635, allocations: 67.97 kB / 0.648 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005673/0.8691, allocations: 4.702 MB / 0.6526 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001266/0.8704, allocations: 1.466 MB / 0.654 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009887/0.8803, allocations: 5.98 MB / 0.6598 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.8816, allocations: 381.2 kB / 0.6602 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000412/0.882, allocations: 55.98 kB / 0.6602 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.8836, allocations: 151.8 kB / 0.6604 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/0.8839, allocations: 180.3 kB / 0.6606 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.8841, allocations: 71.98 kB / 0.6606 GB, free: 10.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004125/0.8882, allocations: 2.585 MB / 0.6631 GB, free: 8.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8882, allocations: 0 / 0.6631 GB, free: 8.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005202/0.8934, allocations: 1.152 MB / 0.6643 GB, free: 7.082 MB / 494.1 MB 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.000473/0.8939, allocations: 215 kB / 0.6645 GB, free: 6.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01054/0.9044, allocations: 5.669 MB / 0.67 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.9044, allocations: 0 / 0.67 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00403/0.9085, allocations: 1.984 MB / 0.672 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.9116, allocations: 0.4934 MB / 0.6724 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/0.9302, allocations: 11.35 MB / 0.6835 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004056/0.9343, allocations: 3.451 MB / 0.6869 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.9354, allocations: 319.4 kB / 0.6872 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 1.292e-06/0.9354, allocations: 0 / 0.6872 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.4007/1.336, allocations: 142.1 MB / 0.826 GB, free: 146.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_trunk_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/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.1623967150226235] 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.3458043930586427 1.356373122 1.04822688 Calling exit ...