Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr StewartPlatform_StewartPlatform.Tests.Switch2_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 222.6 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.0334/0.0334, allocations: 6.575 MB / 319.8 MB, free: 12.45 MB / 254.1 MB " [Timeout remaining time 180] Using package StewartPlatform with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") [Timeout 660] "Notification: StewartPlatform requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.91 kB / 445.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1298, allocations: 54.87 MB / 499.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.005891/0.1357, allocations: 3.599 MB / 0.4917 GB, free: 9.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006731/0.1424, allocations: 3.859 MB / 0.4955 GB, free: 5.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.1428, allocations: 12 kB / 0.4955 GB, free: 5.949 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008965/0.1437, allocations: 286.2 kB / 0.4958 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.1472, allocations: 1.411 MB / 0.4972 GB, free: 4.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.1477, allocations: 227.5 kB / 0.4974 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00447/0.1522, allocations: 3.558 MB / 0.5008 GB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.1531, allocations: 0.5425 MB / 0.5014 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009546/0.154, allocations: 0.6735 MB / 0.502 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.1551, allocations: 0.8833 MB / 0.5029 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.1553, allocations: 116 kB / 0.503 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.1575, allocations: 0.9591 MB / 0.5039 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009486/0.1585, allocations: 0.9313 MB / 0.5049 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008234/0.1593, allocations: 0.7346 MB / 0.5056 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.163, allocations: 2.892 MB / 0.5084 GB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.163, allocations: 0 / 0.5084 GB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.163, allocations: 0 / 0.5084 GB, free: 8.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.919e-05/0.163, allocations: 0 / 0.5084 GB, free: 8.668 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004607/0.1676, allocations: 2.393 MB / 0.5107 GB, free: 6.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1677, allocations: 12.02 kB / 0.5107 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.1689, allocations: 319.4 kB / 0.511 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.1723, allocations: 1.875 MB / 0.5129 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007028/0.173, allocations: 0.7694 MB / 0.5136 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.1731, allocations: 68.38 kB / 0.5137 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/0.1766, allocations: 1.702 MB / 0.5154 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1766, allocations: 0 / 0.5154 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.1767, allocations: 32 kB / 0.5154 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.1768, allocations: 33.98 kB / 0.5154 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2766/0.4534, allocations: 1.855 MB / 0.5172 GB, free: 30.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005296/0.4587, allocations: 2.878 MB / 0.52 GB, free: 29.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.4606, allocations: 0.7028 MB / 0.5207 GB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.4625, allocations: 0.6229 MB / 0.5213 GB, free: 29.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.4626, allocations: 2.656 kB / 0.5213 GB, free: 29.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/0.4647, allocations: 0.7465 MB / 0.5221 GB, free: 29.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.575e-06/0.4647, allocations: 1.156 kB / 0.5221 GB, free: 29.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.005988/0.4707, allocations: 1.959 MB / 0.524 GB, free: 29.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.4707, allocations: 132.6 kB / 0.5241 GB, free: 29.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/0.4743, allocations: 2.147 MB / 0.5262 GB, free: 28.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.4744, allocations: 30.92 kB / 0.5262 GB, free: 28.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.4751, allocations: 0.7783 MB / 0.527 GB, free: 28.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4752, allocations: 86.47 kB / 0.5271 GB, free: 28.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/0.4756, allocations: 225.2 kB / 0.5273 GB, free: 28.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.4757, allocations: 337 kB / 0.5276 GB, free: 27.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.4779, allocations: 0.8644 MB / 0.5285 GB, free: 27.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.4802, allocations: 1.043 MB / 0.5295 GB, free: 27.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/0.4841, allocations: 1.381 MB / 0.5308 GB, free: 26.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4841, allocations: 0 / 0.5308 GB, free: 26.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005442/0.4896, allocations: 1.941 MB / 0.5327 GB, free: 26.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.4896, allocations: 6.094 kB / 0.5327 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4896, allocations: 3.812 kB / 0.5327 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.206e-05/0.4896, allocations: 3.5 kB / 0.5327 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.4907, allocations: 211.2 kB / 0.5329 GB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.4907, allocations: 2.219 kB / 0.5329 GB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.4927, allocations: 176 kB / 0.5331 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/0.4928, allocations: 19.23 kB / 0.5331 GB, free: 26.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (switch2.mux.sequenceIn[3],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[1],switch2.count,$PRE.switch2.count,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001507/0.4943, allocations: 0.6081 MB / 0.5337 GB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004246/0.4947, allocations: 151.8 kB / 0.5339 GB, free: 25.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.495, allocations: 152.2 kB / 0.534 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.4951, allocations: 2.781 kB / 0.534 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.4951, allocations: 1.312 kB / 0.534 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4951, allocations: 16.36 kB / 0.534 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.4971, allocations: 1.045 MB / 0.535 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4971, allocations: 0 / 0.535 GB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/0.498, allocations: 167.6 kB / 0.5352 GB, free: 24.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.498, allocations: 1.469 kB / 0.5352 GB, free: 24.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.498, allocations: 5.344 kB / 0.5352 GB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.498, allocations: 5.422 kB / 0.5352 GB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.498, allocations: 0 / 0.5352 GB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/0.5022, allocations: 1.374 MB / 0.5366 GB, free: 24.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.5028, allocations: 177.1 kB / 0.5367 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/0.503, allocations: 6.219 kB / 0.5367 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.5042, allocations: 161.6 kB / 0.5369 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.5045, allocations: 83.56 kB / 0.537 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.448e-05/0.5046, allocations: 8.312 kB / 0.537 GB, free: 23.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00287/0.5075, allocations: 1.537 MB / 0.5385 GB, free: 23.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5075, allocations: 4 kB / 0.5385 GB, free: 23.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001902/0.5094, allocations: 0.577 MB / 0.539 GB, free: 23.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,switch2.count,switch2.mux.sequenceIn[1],switch2.mux.sequenceIn[2],switch2.mux.sequenceIn[3]) * Number of discrete states: 1 (switch2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/0.5105, allocations: 0.5079 MB / 0.5395 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.5144, allocations: 1.55 MB / 0.5411 GB, free: 22.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5144, allocations: 0 / 0.5411 GB, free: 22.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.5161, allocations: 0.6541 MB / 0.5417 GB, free: 21.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.5187, allocations: 0.8392 MB / 0.5425 GB, free: 21.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.5234, allocations: 3.313 MB / 0.5457 GB, free: 18.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.5241, allocations: 0.8979 MB / 0.5466 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005137/0.5246, allocations: 86.03 kB / 0.5467 GB, free: 17.05 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.5246, allocations: 0 / 0.5467 GB, free: 17.05 MB / 382.1 MB Notification: Performance of Templates: time 0.04201/0.5667, allocations: 29.73 MB / 0.5757 GB, free: 3.48 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.makefile [Timeout 660] make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.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 OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.o OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:508:141: error: use of undeclared identifier 'switch2_P_poseInput_omcQ_24PRE_P_switch2_P_count__P_stopTime_' SystemDefaultImplementation::setBoolStartValue(__omcQ_24whenCondition1_, ((_discrete_events->pre(_switch2_P_count_) <= 1) && (_simTime >= switch2_P_poseInput_omcQ_24PRE_P_switch2_P_count__P_stopTime_)), false); ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1412:173: error: too many arguments to function call, expected 6, have 9 _functions->StewartPlatform_Types_DiscParameters(_gp_P_base_P_D_, _gp_P_base_P_De_, _gp_P_base_P_thickness_, _gp_P_base_P_mass_, _gp_P_base_P_alpha_, _gp_P_base_P_area_, _gp_P_base_P_volume_, _gp_P_base_P_density_,tmp170); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' #define _gp_P_base_P_volume_ _pointerToRealVars[49] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) ^ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1413:197: error: too many arguments to function call, expected 6, have 9 _functions->StewartPlatform_Types_DiscParameters(_gp_P_platform_P_D_, _gp_P_platform_P_De_, _gp_P_platform_P_thickness_, _gp_P_platform_P_mass_, _gp_P_platform_P_alpha_, _gp_P_platform_P_area_, _gp_P_platform_P_volume_, _gp_P_platform_P_density_,tmp171); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' #define _gp_P_platform_P_volume_ _pointerToRealVars[191] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) ^ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1592:173: error: too many arguments to function call, expected 6, have 9 _functions->StewartPlatform_Types_DiscParameters(_gp_P_base_P_D_, _gp_P_base_P_De_, _gp_P_base_P_thickness_, _gp_P_base_P_mass_, _gp_P_base_P_alpha_, _gp_P_base_P_area_, _gp_P_base_P_volume_, _gp_P_base_P_density_,tmp186); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' #define _gp_P_base_P_volume_ _pointerToRealVars[49] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) ^ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1593:197: error: too many arguments to function call, expected 6, have 9 _functions->StewartPlatform_Types_DiscParameters(_gp_P_platform_P_D_, _gp_P_platform_P_De_, _gp_P_platform_P_thickness_, _gp_P_platform_P_mass_, _gp_P_platform_P_alpha_, _gp_P_platform_P_area_, _gp_P_platform_P_volume_, _gp_P_platform_P_density_,tmp187); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' #define _gp_P_platform_P_volume_ _pointerToRealVars[191] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) ^ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1692:173: error: too many arguments to function call, expected 6, have 9 _functions->StewartPlatform_Types_DiscParameters(_gp_P_base_P_D_, _gp_P_base_P_De_, _gp_P_base_P_thickness_, _gp_P_base_P_mass_, _gp_P_base_P_alpha_, _gp_P_base_P_area_, _gp_P_base_P_volume_, _gp_P_base_P_density_,tmp189); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' #define _gp_P_base_P_volume_ _pointerToRealVars[49] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) ^ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:29: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testInitialize.cpp:1693:197: error: too many arguments to function call, expected 6, have 9 _functions->StewartPlatform_Types_DiscParameters(_gp_P_platform_P_D_, _gp_P_platform_P_De_, _gp_P_platform_P_thickness_, _gp_P_platform_P_mass_, _gp_P_platform_P_alpha_, _gp_P_platform_P_area_, _gp_P_platform_P_volume_, _gp_P_platform_P_density_,tmp190); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' #define _gp_P_platform_P_volume_ _pointerToRealVars[191] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) ^ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:33: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1399:173: error: too many arguments to function call, expected 6, have 9 _functions->StewartPlatform_Types_DiscParameters(_gp_P_base_P_D_, _gp_P_base_P_De_, _gp_P_base_P_thickness_, _gp_P_base_P_mass_, _gp_P_base_P_alpha_, _gp_P_base_P_area_, _gp_P_base_P_volume_, _gp_P_base_P_density_,tmp712); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:194:34: note: expanded from macro '_gp_P_base_P_volume_' #define _gp_P_base_P_volume_ _pointerToRealVars[49] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) ^ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:33: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1400:197: error: too many arguments to function call, expected 6, have 9 _functions->StewartPlatform_Types_DiscParameters(_gp_P_platform_P_D_, _gp_P_platform_P_De_, _gp_P_platform_P_thickness_, _gp_P_platform_P_mass_, _gp_P_platform_P_alpha_, _gp_P_platform_P_area_, _gp_P_platform_P_volume_, _gp_P_platform_P_density_,tmp713); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.h:302:38: note: expanded from macro '_gp_P_platform_P_volume_' #define _gp_P_platform_P_volume_ _pointerToRealVars[191] ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testFunctions.cpp:980:17: note: 'StewartPlatform_Types_DiscParameters' declared here void Functions::StewartPlatform_Types_DiscParameters(double D_, double De_, double thickness_, double mass_, double alpha_, StewartPlatform_Types_DiscParametersType& output) ^ In file included from OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.cpp:33: ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1595:15: error: use of undeclared identifier 'switch2_P_poseInput_P_stopTime_' f[6] = (switch2_P_poseInput_P_stopTime_ - _simTime - _zeroTol); ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1597:37: error: use of undeclared identifier 'switch2_P_poseInput_P_stopTime_' f[6] = (_simTime - _zeroTol - switch2_P_poseInput_P_stopTime_); ^ ./OMCppStewartPlatform_StewartPlatform.Tests.Switch2_test.cpp:1758:30: error: use of undeclared identifier 'switch2_P_poseInput_P_stopTime_' tmp722=(_simTime>=switch2_P_poseInput_P_stopTime_); ^ 12 errors generated. make: *** [: OMCppStewartPlatform_StewartPlatform.Tests.Switch2_testCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.8393759820610285] Failed to read output from testmodel.py, exit status != 0: 0.5755454646423459 0.5926860180000001 0.42642232300000005 Calling exit ...