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.001809/0.001809, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002082/0.002082, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.002033/0.002033, allocations: 63.91 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2718, allocations: 53.4 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01402/0.2858, allocations: 10.47 MB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008923/0.2947, allocations: 4.017 MB / 446.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.2969, allocations: 87.56 kB / 447 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005906/0.3028, allocations: 2.679 MB / 449.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005679/0.3085, allocations: 2.004 MB / 451.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.3104, allocations: 0.8073 MB / 452.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006659/0.317, allocations: 4.682 MB / 457.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003887/0.3209, allocations: 2.922 MB / 460.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.3236, allocations: 1.705 MB / 461.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003486/0.3271, allocations: 2.383 MB / 464.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007844/0.3278, allocations: 352 kB / 464.5 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3302, allocations: 1.159 MB / 465.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002304/0.3325, allocations: 2.146 MB / 467.8 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.3353, allocations: 1.802 MB / 469.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009747/0.3451, allocations: 7.527 MB / 477.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3451, allocations: 0 / 477.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3451, allocations: 4 kB / 477.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002337/0.3453, allocations: 3.938 kB / 477.1 MB, free: 9.582 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.01141/0.3567, allocations: 5.298 MB / 482.4 MB, free: 4.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3568, allocations: 15.92 kB / 482.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009205/0.366, allocations: 2.201 MB / 484.6 MB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006434/0.3724, allocations: 2.441 MB / 487.1 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.3727, allocations: 270.8 kB / 487.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.3748, allocations: 431.6 kB / 487.8 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.4006, allocations: 12.34 MB / 0.4884 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.4007, allocations: 47.58 kB / 0.4884 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005557/0.4013, allocations: 175.8 kB / 0.4886 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003515/0.4048, allocations: 2.162 MB / 0.4907 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02334/0.4281, allocations: 10.22 MB / 0.5007 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3118/0.7399, allocations: 41.42 MB / 0.5412 GB, free: 71.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.751, allocations: 3.822 MB / 0.5449 GB, free: 71.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002252/0.7533, allocations: 1.626 MB / 0.5465 GB, free: 71.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.7637, allocations: 6.49 MB / 0.5528 GB, free: 69.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.7637, allocations: 51.19 kB / 0.5529 GB, free: 69.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.128e-06/0.7637, allocations: 0 / 0.5529 GB, free: 69.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03837/0.8021, allocations: 16.01 MB / 0.5685 GB, free: 59.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001004/0.8031, allocations: 1.567 MB / 0.57 GB, free: 57.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.8078, allocations: 3.983 MB / 0.5739 GB, free: 53.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003741/0.8081, allocations: 53.7 kB / 0.574 GB, free: 53.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.8095, allocations: 3.58 MB / 0.5775 GB, free: 50.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007159/0.8102, allocations: 0.8354 MB / 0.5783 GB, free: 49.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.8116, allocations: 1.37 MB / 0.5796 GB, free: 48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.8116, allocations: 301.1 kB / 0.5799 GB, free: 47.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.8144, allocations: 2.289 MB / 0.5821 GB, free: 45.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004098/0.8185, allocations: 6.418 MB / 0.5884 GB, free: 37.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007978/0.8264, allocations: 9.34 MB / 0.5975 GB, free: 25.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.8266, allocations: 44 kB / 0.5976 GB, free: 25.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02098/0.8475, allocations: 10.15 MB / 0.6075 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-05/0.8476, allocations: 64 kB / 0.6075 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01024/0.8579, allocations: 3.889 MB / 0.6113 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009553/0.8674, allocations: 2.262 MB / 0.6135 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/0.872, allocations: 1.593 MB / 0.6151 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/0.8792, allocations: 6.309 MB / 0.6213 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005027/0.8843, allocations: 439.5 kB / 0.6217 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000877/0.8851, allocations: 415.6 kB / 0.6221 GB, free: 448 kB / 446.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.00409/0.8892, allocations: 2.221 MB / 0.6242 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008436/0.8901, allocations: 353.6 kB / 0.6246 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006973/0.897, allocations: 3.279 MB / 0.6278 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00569/0.9027, allocations: 2.773 MB / 0.6305 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.9027, allocations: 0 / 0.6305 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/0.9028, allocations: 11.97 kB / 0.6305 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/0.9236, allocations: 9.002 MB / 0.6393 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.9236, allocations: 12 kB / 0.6393 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.9253, allocations: 383.4 kB / 0.6397 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003211/0.9285, allocations: 0.9747 MB / 0.6406 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/0.9287, allocations: 67.97 kB / 0.6407 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005826/0.9345, allocations: 4.636 MB / 0.6452 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00126/0.9358, allocations: 1.447 MB / 0.6466 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.9464, allocations: 5.935 MB / 0.6524 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/0.9476, allocations: 337.5 kB / 0.6527 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004344/0.9481, allocations: 60.48 kB / 0.6528 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.9497, allocations: 155.7 kB / 0.653 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/0.9501, allocations: 177.1 kB / 0.6531 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.9503, allocations: 79.97 kB / 0.6532 GB, free: 15.76 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00413/0.9544, allocations: 2.266 MB / 0.6554 GB, free: 13.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9544, allocations: 0 / 0.6554 GB, free: 13.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005967/0.9604, allocations: 1.14 MB / 0.6565 GB, free: 12.37 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.0006658/0.9611, allocations: 211.1 kB / 0.6567 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01161/0.9727, allocations: 5.669 MB / 0.6623 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-05/0.9727, allocations: 4 kB / 0.6623 GB, free: 6.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004431/0.9771, allocations: 1.972 MB / 0.6642 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.9802, allocations: 446.2 kB / 0.6646 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/1.001, allocations: 11.33 MB / 0.6757 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004164/1.005, allocations: 2.919 MB / 0.6785 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.006, allocations: 307.4 kB / 0.6788 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/1.006, allocations: 4 kB / 0.6788 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.3671/1.373, allocations: 141.9 MB / 0.8174 GB, free: 152.9 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 -DOMC_BUILD -DUSE_THREAD -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_' tmp128 = 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_' tmp128 = 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_' tmp128 = 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_' tmp128 = 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_' tmp128 = 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_' tmp128 = 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_' tmp128 = 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_' tmp128 = 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_' tmp129 = 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_' tmp129 = 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_' tmp129 = 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_' tmp129 = 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_' tmp129 = 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_' tmp129 = 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_' tmp129 = 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_' tmp129 = 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_' tmp130 = 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_' tmp130 = 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_' tmp130 = 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.17607037210837] 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.3827061969786882 1.392300797 1.044736871 Calling exit ...