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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") translateModel(StewartPlatform.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="StewartPlatform_StewartPlatform.Tests.Switch2_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 101.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/StewartPlatform 1.0.2/package.mo): time 0.02908/0.02908, allocations: 6.509 MB / 297.5 MB, free: 8.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 63.91 kB / 359.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1956, allocations: 50.85 MB / 410.3 MB, free: 28.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(StewartPlatform.Tests.Switch2_test): time 0.003595/0.1993, allocations: 3.859 MB / 414.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.2032, allocations: 4.186 MB / 418.3 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.2035, allocations: 12 kB / 418.3 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.2041, allocations: 306.3 kB / 418.6 MB, free: 20.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.2063, allocations: 1.383 MB / 420 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.2066, allocations: 231.5 kB / 420.2 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002275/0.2089, allocations: 3.304 MB / 423.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008257/0.2097, allocations: 1.19 MB / 424.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.2102, allocations: 0.6579 MB / 425.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005551/0.2108, allocations: 0.8406 MB / 426.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.2109, allocations: 116 kB / 426.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.2124, allocations: 1.08 MB / 427.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004981/0.2129, allocations: 0.9236 MB / 428.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.2135, allocations: 0.9132 MB / 429.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.2153, allocations: 2.867 MB / 432.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2153, allocations: 0 / 432.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2153, allocations: 0 / 432.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.2153, allocations: 0 / 432.1 MB, free: 6.648 MB / 302.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.002893/0.2182, allocations: 2.38 MB / 434.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2183, allocations: 12.03 kB / 434.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.2194, allocations: 310.2 kB / 434.8 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.2215, allocations: 1.91 MB / 436.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.2217, allocations: 259.5 kB / 437 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.2218, allocations: 72.38 kB / 437.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.2245, allocations: 1.615 MB / 438.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2246, allocations: 7.938 kB / 438.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/0.2247, allocations: 27.98 kB / 438.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.2247, allocations: 38 kB / 438.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004161/0.2289, allocations: 1.865 MB / 440.6 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.2333, allocations: 3.499 MB / 444.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.2353, allocations: 0.7283 MB / 444.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.237, allocations: 0.6329 MB / 445.5 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.736e-05/0.237, allocations: 4 kB / 445.5 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.2389, allocations: 0.7491 MB / 446.2 MB, free: 8.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 3.015e-06/0.2389, allocations: 0 / 446.2 MB, free: 8.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.005511/0.2444, allocations: 1.964 MB / 448.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.2445, allocations: 140.5 kB / 448.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/0.2476, allocations: 2.419 MB / 450.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.2477, allocations: 29.7 kB / 450.8 MB, free: 3.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/0.2483, allocations: 0.7786 MB / 451.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2484, allocations: 78.91 kB / 451.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.2487, allocations: 217.4 kB / 451.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2488, allocations: 334 kB / 452.2 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.2508, allocations: 0.8561 MB / 453 MB, free: 1.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.2528, allocations: 0.9649 MB / 454 MB, free: 428 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/0.2562, allocations: 1.373 MB / 455.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2562, allocations: 4 kB / 455.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004385/0.2606, allocations: 1.958 MB / 457.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.2606, allocations: 7.938 kB / 457.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2606, allocations: 3.984 kB / 457.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.2607, allocations: 4 kB / 457.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/0.2616, allocations: 203.7 kB / 457.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.2616, allocations: 0 / 457.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.2632, allocations: 203.2 kB / 457.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.2632, allocations: 16 kB / 457.7 MB, free: 12.63 MB / 334.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.0008112/0.2641, allocations: 0.6172 MB / 458.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.2643, allocations: 165.8 kB / 458.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.2645, allocations: 172.4 kB / 458.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2645, allocations: 4 kB / 458.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2645, allocations: 4 kB / 458.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2645, allocations: 0 / 458.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.2659, allocations: 1.408 MB / 460.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2659, allocations: 0 / 460.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.2667, allocations: 159.8 kB / 460.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.2667, allocations: 7.922 kB / 460.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.2668, allocations: 8 kB / 460.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2668, allocations: 7.875 kB / 460.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2668, allocations: 0 / 460.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.2704, allocations: 1.378 MB / 461.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.2707, allocations: 266.9 kB / 461.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.271, allocations: 15.94 kB / 461.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.272, allocations: 155.8 kB / 462.1 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.2722, allocations: 83.89 kB / 462.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/0.2723, allocations: 15.98 kB / 462.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002061/0.2744, allocations: 1.747 MB / 463.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2744, allocations: 3.938 kB / 463.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001172/0.2756, allocations: 0.5346 MB / 464.5 MB, free: 5.758 MB / 334.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.0008942/0.2765, allocations: 0.5012 MB / 465 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003926/0.2804, allocations: 1.635 MB / 466.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2804, allocations: 0 / 466.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.2822, allocations: 0.6633 MB / 467.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.2855, allocations: 0.9515 MB / 468.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.2906, allocations: 3.355 MB / 471.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009239/0.2916, allocations: 1.484 MB / 473.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005351/0.2921, allocations: 95.41 kB / 473.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2921, allocations: 0 / 473.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Templates: time 0.03796/0.3301, allocations: 30.27 MB / 0.4916 GB, free: 14.91 MB / 382.1 MB make -j1 -f StewartPlatform_StewartPlatform.Tests.Switch2_test.makefile 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 -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 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:886: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:886: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:886: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:886: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:886: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:886: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:886: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:886: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