Notification: Performance of loadModel(Modelica): time 1.518/1.518, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.428e-06, allocations: 1.062 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06058/0.06067, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.2884, allocations: 75.05 MB / 366.8 MB, free: 6.992 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.2887, allocations: 74.45 kB / 366.8 MB, free: 6.988 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03582/0.3246, allocations: 8.022 MB / 374.9 MB, free: 5.465 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.478e-05/0.3248, allocations: 9.609 kB / 374.9 MB, free: 5.465 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002299/0.3272, allocations: 0.8588 MB / 375.7 MB, free: 4.844 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3273, allocations: 7.75 kB / 375.7 MB, free: 4.844 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.3276, allocations: 58.22 kB / 375.8 MB, free: 4.816 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.3283, allocations: 369 kB / 376.1 MB, free: 4.535 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.3284, allocations: 14.12 kB / 376.2 MB, free: 4.535 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.3285, allocations: 26.92 kB / 376.2 MB, free: 4.531 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009832/0.3296, allocations: 363.3 kB / 376.5 MB, free: 4.52 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000918/0.3305, allocations: 411.3 kB / 376.9 MB, free: 4.371 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3306, allocations: 5 kB / 376.9 MB, free: 4.371 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.3308, allocations: 3 kB / 377 MB, free: 4.371 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3308, allocations: 7.781 kB / 377 MB, free: 4.371 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/0.3357, allocations: 1.998 MB / 379 MB, free: 3.238 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.3364, allocations: 237.7 kB / 379.2 MB, free: 3.215 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.337, allocations: 244.4 kB / 379.4 MB, free: 3.199 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.3371, allocations: 3.875 kB / 379.4 MB, free: 3.199 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/0.3377, allocations: 279.2 kB / 379.7 MB, free: 3.09 MB / 296.6 MB Notification: Performance of pre-optimization done (n=39): time 6.076e-06/0.3378, allocations: 0 / 379.7 MB, free: 3.09 MB / 296.6 MB Notification: Performance of matching and sorting (n=39): time 0.001722/0.3396, allocations: 0.5151 MB / 380.2 MB, free: 2.973 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3397, allocations: 85.02 kB / 380.3 MB, free: 2.875 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.3402, allocations: 293.7 kB / 380.6 MB, free: 2.754 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-05/0.3404, allocations: 25.7 kB / 380.6 MB, free: 2.723 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3405, allocations: 177 kB / 380.8 MB, free: 2.578 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.3407, allocations: 121.8 kB / 380.9 MB, free: 2.488 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.3408, allocations: 3.938 kB / 380.9 MB, free: 2.488 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0003025/0.3412, allocations: 352.7 kB / 381.3 MB, free: 18.16 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.3417, allocations: 162.5 kB / 381.4 MB, free: 18.15 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.3422, allocations: 192.1 kB / 381.6 MB, free: 18.12 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.3426, allocations: 151.9 kB / 381.7 MB, free: 18.1 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3427, allocations: 0 / 381.7 MB, free: 18.1 MB / 312.6 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001571/0.3443, allocations: 0.5403 MB / 382.3 MB, free: 17.98 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.3444, allocations: 3.969 kB / 382.3 MB, free: 17.98 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3445, allocations: 3.984 kB / 382.3 MB, free: 17.98 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.3458, allocations: 333.2 kB / 382.6 MB, free: 17.9 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.3465, allocations: 105.2 kB / 382.7 MB, free: 17.87 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009294/0.3559, allocations: 2.832 MB / 385.6 MB, free: 16.33 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.357, allocations: 102.2 kB / 385.7 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/0.3572, allocations: 19.44 kB / 385.7 MB, free: 16.29 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.0001289/0.3574, allocations: 79.27 kB / 385.8 MB, free: 16.21 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3576, allocations: 39.12 kB / 385.8 MB, free: 16.19 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.3578, allocations: 54.02 kB / 385.8 MB, free: 16.17 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.102e-06/0.3579, allocations: 3.875 kB / 385.8 MB, free: 16.17 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-06/0.358, allocations: 0 / 385.8 MB, free: 16.17 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.613e-06/0.358, allocations: 4 kB / 385.9 MB, free: 16.16 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008101/0.3589, allocations: 0.5269 MB / 386.4 MB, free: 15.87 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.774e-06/0.359, allocations: 0 / 386.4 MB, free: 15.87 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.3597, allocations: 97.42 kB / 386.5 MB, free: 15.84 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.361, allocations: 335.8 kB / 386.8 MB, free: 15.76 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.303e-05/0.3612, allocations: 3.906 kB / 386.8 MB, free: 15.76 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009461/0.3707, allocations: 2.827 MB / 389.6 MB, free: 14.21 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.381e-06/0.3709, allocations: 3.984 kB / 389.6 MB, free: 14.21 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002261/0.3732, allocations: 0.7976 MB / 390.4 MB, free: 14.05 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.3736, allocations: 169.5 kB / 390.6 MB, free: 13.91 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.3738, allocations: 0 / 390.6 MB, free: 13.91 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/0.3748, allocations: 97.2 kB / 390.7 MB, free: 13.88 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.375, allocations: 40.25 kB / 390.7 MB, free: 13.86 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.3751, allocations: 18.48 kB / 390.8 MB, free: 13.85 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002982/0.3755, allocations: 225.9 kB / 391 MB, free: 13.76 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007518/0.3763, allocations: 147.9 kB / 391.1 MB, free: 13.74 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.3765, allocations: 82.81 kB / 391.2 MB, free: 13.68 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.3783, allocations: 0.5628 MB / 391.8 MB, free: 13.51 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.238e-06/0.3784, allocations: 1 kB / 391.8 MB, free: 13.51 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.3797, allocations: 374.8 kB / 392.1 MB, free: 13.37 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.3803, allocations: 52.16 kB / 392.2 MB, free: 13.36 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.3841, allocations: 0.7986 MB / 393 MB, free: 12.98 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/0.3847, allocations: 0.8613 MB / 393.8 MB, free: 12.21 MB / 312.6 MB Notification: Performance of SimCode: time 2.584e-06/0.3848, allocations: 0 / 393.8 MB, free: 12.21 MB / 312.6 MB Notification: Performance of Templates: time 0.0609/0.4457, allocations: 10.2 MB / 404 MB, free: 7.012 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.makefile clang -fPIC -O1 -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_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit -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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:145:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_68(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:145:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_68(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:146:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_69(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:146:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_69(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.c:147:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit_eqFunction_70(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_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit.o] Error 1