Notification: Performance of loadModel(Modelica): time 1.539/1.539, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.219e-06, allocations: 1 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06195/0.06204, allocations: 44.37 MB / 291.7 MB, free: 9.309 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.2875, allocations: 76.87 MB / 368.6 MB, free: 6.98 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.2879, allocations: 70.44 kB / 368.6 MB, free: 6.977 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.047/0.3349, allocations: 11.21 MB / 379.8 MB, free: 3.891 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.479e-05/0.3351, allocations: 15.88 kB / 379.9 MB, free: 3.883 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001473/0.3366, allocations: 0.7124 MB / 380.6 MB, free: 3.344 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3367, allocations: 11.56 kB / 380.6 MB, free: 3.34 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.3373, allocations: 62.58 kB / 380.6 MB, free: 3.312 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.3379, allocations: 331.1 kB / 381 MB, free: 3.039 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.3381, allocations: 86.02 kB / 381.1 MB, free: 2.969 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3383, allocations: 23.09 kB / 381.1 MB, free: 2.969 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/0.3395, allocations: 0.5245 MB / 381.6 MB, free: 2.898 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.3405, allocations: 459.2 kB / 382.1 MB, free: 2.75 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.3406, allocations: 7.781 kB / 382.1 MB, free: 2.746 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.18e-05/0.3408, allocations: 4 kB / 382.1 MB, free: 2.742 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.3408, allocations: 7.75 kB / 382.1 MB, free: 2.742 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.3436, allocations: 1.093 MB / 383.2 MB, free: 2.18 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.3445, allocations: 367.3 kB / 383.5 MB, free: 2.137 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.3451, allocations: 268.2 kB / 383.8 MB, free: 2.121 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.985e-05/0.3452, allocations: 8.562 kB / 383.8 MB, free: 2.117 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3453, allocations: 38.44 kB / 383.8 MB, free: 2.078 MB / 296.6 MB Notification: Performance of pre-optimization done (n=63): time 6.565e-06/0.3454, allocations: 0 / 383.8 MB, free: 2.078 MB / 296.6 MB Notification: Performance of matching and sorting (n=71): time 0.00561/0.351, allocations: 1.862 MB / 385.7 MB, free: 1.293 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3512, allocations: 88.77 kB / 385.8 MB, free: 1.199 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.3515, allocations: 215.7 kB / 386 MB, free: 1.082 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.3517, allocations: 37.56 kB / 386 MB, free: 1.043 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3519, allocations: 134.8 kB / 386.2 MB, free: 16.92 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.3521, allocations: 231.6 kB / 386.4 MB, free: 16.75 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.3522, allocations: 0 / 386.4 MB, free: 16.75 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3524, allocations: 350.8 kB / 386.7 MB, free: 16.43 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.353, allocations: 226.9 kB / 386.9 MB, free: 16.41 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.3537, allocations: 287.6 kB / 387.2 MB, free: 16.36 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.3546, allocations: 214.6 kB / 387.4 MB, free: 16.32 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-06/0.3547, allocations: 3.875 kB / 387.4 MB, free: 16.32 MB / 312.6 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00217/0.3569, allocations: 0.75 MB / 388.2 MB, free: 16.18 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.357, allocations: 3.875 kB / 388.2 MB, free: 16.18 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.3571, allocations: 7.938 kB / 388.2 MB, free: 16.18 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.3586, allocations: 412.4 kB / 388.6 MB, free: 16.08 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.3592, allocations: 87.56 kB / 388.7 MB, free: 16.06 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.3613, allocations: 1.079 MB / 389.8 MB, free: 15.48 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/0.3622, allocations: 81.27 kB / 389.8 MB, free: 15.45 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.3624, allocations: 32.55 kB / 389.9 MB, free: 15.44 MB / 312.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.3626, allocations: 84.31 kB / 390 MB, free: 15.36 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.3628, allocations: 39 kB / 390 MB, free: 15.34 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.3652, allocations: 0.7675 MB / 390.8 MB, free: 15.15 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.3653, allocations: 7.281 kB / 390.8 MB, free: 15.15 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3653, allocations: 0 / 390.8 MB, free: 15.15 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3654, allocations: 9.234 kB / 390.8 MB, free: 15.14 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004117/0.3696, allocations: 1.549 MB / 392.3 MB, free: 14.52 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-06/0.3697, allocations: 3.938 kB / 392.3 MB, free: 14.51 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.3703, allocations: 91.75 kB / 392.4 MB, free: 14.49 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.3717, allocations: 393.5 kB / 392.8 MB, free: 14.39 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/0.3719, allocations: 16.34 kB / 392.8 MB, free: 14.38 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.3737, allocations: 1.025 MB / 393.9 MB, free: 13.8 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.588e-06/0.3737, allocations: 1.375 kB / 393.9 MB, free: 13.8 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003154/0.3769, allocations: 1.16 MB / 395 MB, free: 13.47 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.3774, allocations: 180.4 kB / 395.2 MB, free: 13.33 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.3776, allocations: 8.25 kB / 395.2 MB, free: 13.33 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/0.3784, allocations: 64.25 kB / 395.3 MB, free: 13.31 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.3787, allocations: 106.6 kB / 395.4 MB, free: 13.25 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/0.3789, allocations: 28.61 kB / 395.4 MB, free: 13.25 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002182/0.3791, allocations: 175.6 kB / 395.6 MB, free: 13.16 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007348/0.3799, allocations: 130.3 kB / 395.7 MB, free: 13.15 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.3802, allocations: 108.7 kB / 395.8 MB, free: 13.08 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3818, allocations: 0.6087 MB / 396.4 MB, free: 12.99 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.261e-06/0.3819, allocations: 1.344 kB / 396.4 MB, free: 12.99 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009491/0.3829, allocations: 329.8 kB / 396.7 MB, free: 12.96 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.3835, allocations: 25.08 kB / 396.8 MB, free: 12.95 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.3859, allocations: 0.7325 MB / 397.5 MB, free: 12.6 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.3866, allocations: 0.8795 MB / 398.4 MB, free: 11.82 MB / 312.6 MB Notification: Performance of SimCode: time 2.234e-06/0.3867, allocations: 0.9688 kB / 398.4 MB, free: 11.82 MB / 312.6 MB Notification: Performance of Templates: time 0.05419/0.4409, allocations: 8.843 MB / 407.2 MB, free: 5.441 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.makefile clang -fPIC -O2 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:317:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:317:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:318:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_99(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:318:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_99(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.c:319:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_eqFunction_100(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o] Error 1