Notification: Performance of loadModel(Modelica): time 1.522/1.522, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.521e-06/8.87e-06, allocations: 0.7812 kB / 247.3 MB, free: 4.688 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06296/0.06304, allocations: 44.37 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.2961, allocations: 75.49 MB / 367.2 MB, free: 6.961 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.2964, allocations: 71.83 kB / 367.3 MB, free: 6.957 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04369/0.3402, allocations: 9.544 MB / 376.8 MB, free: 4.852 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.3403, allocations: 7.812 kB / 376.8 MB, free: 4.848 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001107/0.3415, allocations: 0.603 MB / 377.4 MB, free: 4.355 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3416, allocations: 11.47 kB / 377.4 MB, free: 4.355 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.3421, allocations: 61.97 kB / 377.5 MB, free: 4.324 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.3426, allocations: 286.4 kB / 377.8 MB, free: 4.074 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.3428, allocations: 79.42 kB / 377.8 MB, free: 4.008 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.343, allocations: 19.06 kB / 377.9 MB, free: 4.008 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000812/0.3438, allocations: 401.6 kB / 378.3 MB, free: 3.945 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.3446, allocations: 341.2 kB / 378.6 MB, free: 3.824 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3447, allocations: 7.25 kB / 378.6 MB, free: 3.824 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.3448, allocations: 4 kB / 378.6 MB, free: 3.82 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3448, allocations: 7.781 kB / 378.6 MB, free: 3.82 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.3465, allocations: 0.8349 MB / 379.4 MB, free: 3.336 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.3471, allocations: 290.3 kB / 379.7 MB, free: 3.301 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.3476, allocations: 180.2 kB / 379.9 MB, free: 3.289 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.3477, allocations: 7.828 kB / 379.9 MB, free: 3.289 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3477, allocations: 49.45 kB / 380 MB, free: 3.238 MB / 296.6 MB Notification: Performance of pre-optimization done (n=49): time 5.448e-06/0.3478, allocations: 0 / 380 MB, free: 3.238 MB / 296.6 MB Notification: Performance of matching and sorting (n=55): time 0.003594/0.3514, allocations: 1.412 MB / 381.4 MB, free: 2.578 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.3516, allocations: 88.48 kB / 381.5 MB, free: 2.48 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.3519, allocations: 190.8 kB / 381.6 MB, free: 2.367 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.352, allocations: 29.69 kB / 381.7 MB, free: 2.332 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.3521, allocations: 115.7 kB / 381.8 MB, free: 2.23 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.3523, allocations: 179.6 kB / 382 MB, free: 2.098 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3524, allocations: 0 / 382 MB, free: 2.098 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3526, allocations: 342.9 kB / 382.3 MB, free: 17.77 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.353, allocations: 152.5 kB / 382.4 MB, free: 17.77 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.3534, allocations: 205.3 kB / 382.6 MB, free: 17.72 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.354, allocations: 151.4 kB / 382.8 MB, free: 17.7 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-06/0.354, allocations: 3.781 kB / 382.8 MB, free: 17.7 MB / 312.6 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001279/0.3554, allocations: 0.512 MB / 383.3 MB, free: 17.6 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3555, allocations: 7.781 kB / 383.3 MB, free: 17.6 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.381e-06/0.3555, allocations: 0 / 383.3 MB, free: 17.6 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008938/0.3565, allocations: 247.7 kB / 383.6 MB, free: 17.54 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.357, allocations: 69.52 kB / 383.6 MB, free: 17.52 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0045/0.3616, allocations: 2.502 MB / 386.1 MB, free: 16.01 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.3623, allocations: 35.44 kB / 386.2 MB, free: 16 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/0.3624, allocations: 35.3 kB / 386.2 MB, free: 15.98 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.0001243/0.3626, allocations: 75.28 kB / 386.3 MB, free: 15.91 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3628, allocations: 31.06 kB / 386.3 MB, free: 15.89 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.363, allocations: 40.67 kB / 386.3 MB, free: 15.88 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.521e-06/0.363, allocations: 11.72 kB / 386.4 MB, free: 15.88 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3631, allocations: 0 / 386.4 MB, free: 15.88 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-06/0.3632, allocations: 3.984 kB / 386.4 MB, free: 15.87 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.3657, allocations: 1.091 MB / 387.4 MB, free: 15.4 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.587e-06/0.3658, allocations: 3.875 kB / 387.5 MB, free: 15.4 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.3664, allocations: 73.83 kB / 387.5 MB, free: 15.38 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009249/0.3674, allocations: 224.9 kB / 387.7 MB, free: 15.33 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.3676, allocations: 11.36 kB / 387.8 MB, free: 15.33 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/0.3718, allocations: 2.415 MB / 390.2 MB, free: 13.81 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-06/0.3719, allocations: 0 / 390.2 MB, free: 13.81 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001672/0.3737, allocations: 0.8302 MB / 391 MB, free: 13.57 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.374, allocations: 148.3 kB / 391.1 MB, free: 13.45 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-05/0.3742, allocations: 6.25 kB / 391.1 MB, free: 13.45 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.3747, allocations: 36.53 kB / 391.2 MB, free: 13.43 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.3749, allocations: 52.88 kB / 391.2 MB, free: 13.4 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.3751, allocations: 22.98 kB / 391.3 MB, free: 13.39 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000166/0.3753, allocations: 144.6 kB / 391.4 MB, free: 13.31 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008943/0.3762, allocations: 134.1 kB / 391.5 MB, free: 13.3 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.3765, allocations: 101.3 kB / 391.6 MB, free: 13.23 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.3778, allocations: 0.5446 MB / 392.2 MB, free: 13.09 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3779, allocations: 0 / 392.2 MB, free: 13.09 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.3788, allocations: 370 kB / 392.5 MB, free: 12.95 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.3793, allocations: 24.75 kB / 392.6 MB, free: 12.93 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.3811, allocations: 0.6087 MB / 393.2 MB, free: 12.63 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/0.3817, allocations: 0.8344 MB / 394 MB, free: 11.87 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.3817, allocations: 0 / 394 MB, free: 11.87 MB / 312.6 MB Notification: Performance of Templates: time 0.06402/0.4458, allocations: 7.457 MB / 401.5 MB, free: 8.113 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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_LossyGearDemo1 -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.LossyGearDemo1.o Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:2: ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.LossyGearDemo1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.LossyGearDemo1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_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.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.LossyGearDemo1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.LossyGearDemo1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_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.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.LossyGearDemo1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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_LossyGearDemo1_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.LossyGearDemo1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_97(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_97(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:306:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.c:307:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Mechanics_Rotational_Examples_LossyGearDemo1_eqFunction_99(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.LossyGearDemo1.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o] Error 1