Notification: Performance of loadModel(Modelica): time 1.54/1.54, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.348e-05/1.362e-05, allocations: 2.75 kB / 247.3 MB, free: 4.73 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08329/0.0834, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/0.3119, allocations: 75.06 MB / 366.8 MB, free: 6.973 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.3122, allocations: 70.72 kB / 366.8 MB, free: 6.969 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03464/0.3469, allocations: 8.031 MB / 374.9 MB, free: 5.461 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.171e-05/0.3471, allocations: 7.688 kB / 374.9 MB, free: 5.461 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002195/0.3493, allocations: 0.8554 MB / 375.7 MB, free: 4.844 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3494, allocations: 13.62 kB / 375.7 MB, free: 4.844 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.3496, allocations: 54.78 kB / 375.8 MB, free: 4.816 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.3503, allocations: 376.9 kB / 376.2 MB, free: 4.531 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.3504, allocations: 11.81 kB / 376.2 MB, free: 4.531 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.331e-05/0.3505, allocations: 23.5 kB / 376.2 MB, free: 4.531 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009121/0.3515, allocations: 361.9 kB / 376.5 MB, free: 4.52 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008952/0.3525, allocations: 408.3 kB / 376.9 MB, free: 4.375 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3525, allocations: 0 / 376.9 MB, free: 4.375 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.3527, allocations: 11.95 kB / 377 MB, free: 4.367 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3527, allocations: 7.875 kB / 377 MB, free: 4.367 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004224/0.357, allocations: 1.992 MB / 379 MB, free: 3.238 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.3576, allocations: 238.3 kB / 379.2 MB, free: 3.211 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.3582, allocations: 251.1 kB / 379.4 MB, free: 3.195 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.3583, allocations: 7 kB / 379.4 MB, free: 3.195 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/0.3588, allocations: 271.7 kB / 379.7 MB, free: 3.09 MB / 296.6 MB Notification: Performance of pre-optimization done (n=39): time 4.051e-06/0.3589, allocations: 0 / 379.7 MB, free: 3.09 MB / 296.6 MB Notification: Performance of matching and sorting (n=39): time 0.0018/0.3608, allocations: 0.5111 MB / 380.2 MB, free: 2.977 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3609, allocations: 87.83 kB / 380.3 MB, free: 2.879 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.3613, allocations: 290.5 kB / 380.6 MB, free: 2.758 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.3614, allocations: 29.08 kB / 380.6 MB, free: 2.727 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3616, allocations: 183.5 kB / 380.8 MB, free: 18.57 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3618, allocations: 124.2 kB / 380.9 MB, free: 18.48 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.3619, allocations: 3.938 kB / 380.9 MB, free: 18.48 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0003146/0.3622, allocations: 346.7 kB / 381.3 MB, free: 18.15 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.3627, allocations: 157.8 kB / 381.4 MB, free: 18.15 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.3632, allocations: 193.6 kB / 381.6 MB, free: 18.11 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3636, allocations: 157.8 kB / 381.8 MB, free: 18.09 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-06/0.3637, allocations: 0 / 381.8 MB, free: 18.09 MB / 312.6 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001486/0.3652, allocations: 0.5322 MB / 382.3 MB, free: 17.98 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3653, allocations: 7.75 kB / 382.3 MB, free: 17.98 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.311e-06/0.3654, allocations: 0 / 382.3 MB, free: 17.98 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3666, allocations: 335.1 kB / 382.6 MB, free: 17.9 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.3673, allocations: 101.5 kB / 382.7 MB, free: 17.87 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008737/0.3761, allocations: 2.94 MB / 385.7 MB, free: 16.25 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/0.3771, allocations: 106 kB / 385.8 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.3772, allocations: 11.06 kB / 385.8 MB, free: 16.2 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.0001249/0.3774, allocations: 83.12 kB / 385.9 MB, free: 16.12 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-05/0.3776, allocations: 39.06 kB / 385.9 MB, free: 16.11 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.3778, allocations: 55 kB / 385.9 MB, free: 16.08 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.3779, allocations: 7.766 kB / 386 MB, free: 16.08 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.657e-06/0.3779, allocations: 0 / 386 MB, free: 16.08 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-06/0.378, allocations: 7.844 kB / 386 MB, free: 16.07 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.3787, allocations: 0.5115 MB / 386.5 MB, free: 15.79 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.47e-06/0.3788, allocations: 0 / 386.5 MB, free: 15.79 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/0.3794, allocations: 97.28 kB / 386.6 MB, free: 15.76 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.3806, allocations: 336.5 kB / 386.9 MB, free: 15.68 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.3808, allocations: 7.734 kB / 386.9 MB, free: 15.68 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009155/0.39, allocations: 2.934 MB / 389.8 MB, free: 14.03 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.797e-06/0.3901, allocations: 0 / 389.8 MB, free: 14.03 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002094/0.3922, allocations: 0.8004 MB / 390.6 MB, free: 13.87 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.3926, allocations: 170.5 kB / 390.8 MB, free: 13.73 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.3928, allocations: 7.984 kB / 390.8 MB, free: 13.73 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008527/0.3937, allocations: 89.64 kB / 390.9 MB, free: 13.7 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3939, allocations: 42.38 kB / 390.9 MB, free: 13.68 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.394, allocations: 15 kB / 391 MB, free: 13.67 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002745/0.3943, allocations: 227.1 kB / 391.2 MB, free: 13.57 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007896/0.3952, allocations: 146.2 kB / 391.3 MB, free: 13.56 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.862e-05/0.3953, allocations: 80.14 kB / 391.4 MB, free: 13.5 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.3972, allocations: 0.571 MB / 392 MB, free: 13.32 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.051e-06/0.3972, allocations: 0 / 392 MB, free: 13.32 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.3984, allocations: 375.4 kB / 392.3 MB, free: 13.19 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.399, allocations: 52.66 kB / 392.4 MB, free: 13.17 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.4025, allocations: 0.7994 MB / 393.2 MB, free: 12.8 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.403, allocations: 0.8575 MB / 394 MB, free: 12.03 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4031, allocations: 0 / 394 MB, free: 12.03 MB / 312.6 MB Notification: Performance of Templates: time 0.06706/0.4702, allocations: 10.22 MB / 404.3 MB, free: 6.824 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