Notification: Performance of loadModel(Modelica): time 1.535/1.535, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.25e-05, allocations: 1.125 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07045/0.07054, allocations: 44.36 MB / 291.7 MB, free: 9.309 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.2986, allocations: 73.98 MB / 365.7 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.299, allocations: 70.25 kB / 365.8 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0211/0.3202, allocations: 4.376 MB / 370.1 MB, free: 6.652 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3203, allocations: 3.75 kB / 370.1 MB, free: 6.652 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001431/0.3218, allocations: 0.6164 MB / 370.7 MB, free: 6.195 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3219, allocations: 11 kB / 370.8 MB, free: 6.195 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3221, allocations: 34.25 kB / 370.8 MB, free: 6.18 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.3225, allocations: 254.1 kB / 371 MB, free: 5.957 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.3226, allocations: 3.875 kB / 371 MB, free: 5.957 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.3227, allocations: 23.14 kB / 371.1 MB, free: 5.953 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004779/0.3233, allocations: 161.2 kB / 371.2 MB, free: 5.953 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.3238, allocations: 218.5 kB / 371.4 MB, free: 5.895 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3239, allocations: 0 / 371.4 MB, free: 5.895 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.324, allocations: 4.797 kB / 371.4 MB, free: 5.891 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3241, allocations: 3.906 kB / 371.4 MB, free: 5.891 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.3267, allocations: 0.991 MB / 372.4 MB, free: 5.441 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.3271, allocations: 114.7 kB / 372.6 MB, free: 5.426 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.3276, allocations: 144 kB / 372.7 MB, free: 5.414 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.3277, allocations: 3.906 kB / 372.7 MB, free: 5.414 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.3281, allocations: 169.1 kB / 372.9 MB, free: 5.328 MB / 296.6 MB Notification: Performance of pre-optimization done (n=21): time 3.562e-06/0.3281, allocations: 0 / 372.9 MB, free: 5.328 MB / 296.6 MB Notification: Performance of matching and sorting (n=21): time 0.0005829/0.3288, allocations: 191.8 kB / 373 MB, free: 5.285 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3289, allocations: 111.2 kB / 373.2 MB, free: 5.156 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3292, allocations: 194.7 kB / 373.3 MB, free: 5.059 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.3293, allocations: 29.73 kB / 373.4 MB, free: 5.023 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.3294, allocations: 139 kB / 373.5 MB, free: 4.914 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.3295, allocations: 70.47 kB / 373.6 MB, free: 4.871 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.3296, allocations: 0 / 373.6 MB, free: 4.871 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3298, allocations: 328.6 kB / 373.9 MB, free: 20.56 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.3301, allocations: 77.94 kB / 374 MB, free: 20.55 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3303, allocations: 103.6 kB / 374.1 MB, free: 20.52 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.3306, allocations: 75.48 kB / 374.2 MB, free: 20.51 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-06/0.3307, allocations: 0 / 374.2 MB, free: 20.51 MB / 312.6 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000596/0.3313, allocations: 239.1 kB / 374.4 MB, free: 20.46 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3314, allocations: 3.75 kB / 374.4 MB, free: 20.46 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.451e-06/0.3315, allocations: 0.6094 kB / 374.4 MB, free: 20.46 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3315, allocations: 3.844 kB / 374.4 MB, free: 20.46 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.3349, allocations: 370.3 kB / 374.8 MB, free: 20.42 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.3411, allocations: 3.009 MB / 377.8 MB, free: 17.68 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.3418, allocations: 66.73 kB / 377.8 MB, free: 17.65 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.3419, allocations: 14.92 kB / 377.8 MB, free: 17.65 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.3421, allocations: 79.19 kB / 377.9 MB, free: 17.57 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.3422, allocations: 23.16 kB / 377.9 MB, free: 17.56 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.3423, allocations: 24.62 kB / 378 MB, free: 17.55 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-06/0.3424, allocations: 7.922 kB / 378 MB, free: 17.55 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.146e-06/0.3424, allocations: 7.906 kB / 378 MB, free: 17.54 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.565e-06/0.3425, allocations: 0 / 378 MB, free: 17.54 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.344, allocations: 0.7379 MB / 378.7 MB, free: 17.07 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.866e-06/0.3441, allocations: 4.062 kB / 378.7 MB, free: 17.07 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/0.3474, allocations: 354.7 kB / 379.1 MB, free: 16.96 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.149e-06/0.3475, allocations: 4 kB / 379.1 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.3476, allocations: 7.875 kB / 379.1 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/0.3532, allocations: 3.015 MB / 382.1 MB, free: 14.17 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.425e-06/0.3533, allocations: 3.938 kB / 382.1 MB, free: 14.17 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007848/0.3542, allocations: 439 kB / 382.5 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.3543, allocations: 100.2 kB / 382.6 MB, free: 13.85 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.3544, allocations: 0 / 382.6 MB, free: 13.85 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.3551, allocations: 58.97 kB / 382.7 MB, free: 13.83 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.3553, allocations: 19.69 kB / 382.7 MB, free: 13.82 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.3553, allocations: 11.59 kB / 382.7 MB, free: 13.82 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001586/0.3556, allocations: 154.1 kB / 382.9 MB, free: 13.73 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006884/0.3563, allocations: 77.91 kB / 382.9 MB, free: 13.72 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.3565, allocations: 88.75 kB / 383 MB, free: 13.66 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.004507/0.3611, allocations: 0.5954 MB / 383.6 MB, free: 13.48 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 6.775e-06/0.3612, allocations: 0 / 383.6 MB, free: 13.48 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004151/0.3654, allocations: 493 kB / 384.1 MB, free: 13.36 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.366, allocations: 27.62 kB / 384.1 MB, free: 13.34 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3679, allocations: 427.7 kB / 384.6 MB, free: 13.1 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.3684, allocations: 0.7827 MB / 385.3 MB, free: 12.36 MB / 312.6 MB Notification: Performance of SimCode: time 2.305e-06/0.3685, allocations: 3.938 kB / 385.3 MB, free: 12.35 MB / 312.6 MB Notification: Performance of Templates: time 0.0397/0.4083, allocations: 3.312 MB / 388.6 MB, free: 10.65 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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_Electrical_Analog_Examples_ThyristorBehaviourTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_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.Electrical.Analog.Examples.ThyristorBehaviourTest.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:134:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_37(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:134:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_37(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:298:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_47(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:298:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_47(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.c:507:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest_eqFunction_34(DATA* data, threadData_t *threadData); ^ ; 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.Electrical.Analog.Examples.ThyristorBehaviourTest.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.o] Error 1