Notification: Performance of loadModel(Modelica): time 1.766/1.766, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.048e-05, allocations: 1.156 kB / 254.3 MB, free: 13.73 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06369/0.06379, allocations: 44.36 MB / 298.7 MB, free: 2.32 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2988/0.3627, allocations: 116.4 MB / 415 MB, free: 9.172 MB / 328.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.363, allocations: 78.39 kB / 415.1 MB, free: 9.129 MB / 328.6 MB Notification: Performance of FrontEnd: time 15.52/15.88, allocations: 3.386 GB / 3.792 GB, free: 6.484 MB / 0.946 GB Notification: Performance of Transformations before backend: time 0.03651/15.92, allocations: 2.22 MB / 3.794 GB, free: 6.465 MB / 0.946 GB Notification: Performance of Generate backend data structure: time 0.437/16.36, allocations: 111.2 MB / 3.902 GB, free: 1.461 MB / 0.9929 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/16.36, allocations: 8.906 kB / 3.902 GB, free: 1.461 MB / 0.9929 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05451/16.41, allocations: 19.35 MB / 3.921 GB, free: 7.605 MB / 1.008 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.684/19.09, allocations: 283.7 MB / 4.198 GB, free: 80.7 MB / 1.04 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001835/19.1, allocations: 1.016 MB / 4.199 GB, free: 80.7 MB / 1.04 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02254/19.12, allocations: 2.158 MB / 4.201 GB, free: 80.44 MB / 1.04 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2022/19.32, allocations: 43.54 MB / 4.244 GB, free: 60.66 MB / 1.04 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2192/19.54, allocations: 41.76 MB / 4.285 GB, free: 42.62 MB / 1.04 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001503/19.54, allocations: 0 / 4.285 GB, free: 42.62 MB / 1.04 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01822/19.56, allocations: 8.703 kB / 4.285 GB, free: 42.62 MB / 1.04 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001991/19.56, allocations: 1.823 MB / 4.287 GB, free: 41.82 MB / 1.04 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.96/21.52, allocations: 284 MB / 4.564 GB, free: 136.6 MB / 1.087 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09682/21.62, allocations: 31.44 MB / 4.595 GB, free: 136.5 MB / 1.087 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2208/21.84, allocations: 64.11 MB / 4.657 GB, free: 111.5 MB / 1.087 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889/24.73, allocations: 0.8721 GB / 5.529 GB, free: 287.6 MB / 1.337 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.08113/24.81, allocations: 20.74 MB / 5.55 GB, free: 278.7 MB / 1.337 GB Notification: Performance of pre-optimization done (n=4326): time 5.909e-05/24.81, allocations: 3.375 kB / 5.55 GB, free: 278.7 MB / 1.337 GB Notification: Performance of matching and sorting (n=4507): time 1.546/26.36, allocations: 202.4 MB / 5.747 GB, free: 382 MB / 1.337 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003041/26.36, allocations: 412.2 kB / 5.748 GB, free: 381.9 MB / 1.337 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7451/27.1, allocations: 133.5 MB / 5.878 GB, free: 374 MB / 1.337 GB Notification: Performance of collectPreVariables (initialization): time 0.009496/27.11, allocations: 38.59 kB / 5.878 GB, free: 373.9 MB / 1.337 GB Notification: Performance of collectInitialEqns (initialization): time 0.1489/27.26, allocations: 28.07 MB / 5.905 GB, free: 364.9 MB / 1.337 GB Notification: Performance of collectInitialBindings (initialization): time 0.02653/27.29, allocations: 15.1 MB / 5.92 GB, free: 354.8 MB / 1.337 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01182/27.3, allocations: 5.719 kB / 5.92 GB, free: 354.8 MB / 1.337 GB Notification: Performance of setup shared object (initialization): time 0.009958/27.31, allocations: 2.417 MB / 5.922 GB, free: 354.3 MB / 1.337 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07097/27.38, allocations: 18.58 MB / 5.941 GB, free: 340 MB / 1.337 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08217/27.46, allocations: 34.75 MB / 5.975 GB, free: 299.5 MB / 1.337 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.142/27.61, allocations: 39.15 MB / 6.013 GB, free: 266.8 MB / 1.337 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005461/27.61, allocations: 148 kB / 6.013 GB, free: 266.7 MB / 1.337 GB Notification: Performance of matching and sorting (n=7233) (initialization): time 1.19/28.8, allocations: 99.8 MB / 6.11 GB, free: 349.6 MB / 1.337 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/28.8, allocations: 3.562 kB / 6.11 GB, free: 349.6 MB / 1.337 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01306/28.81, allocations: 5.139 MB / 6.115 GB, free: 349.6 MB / 1.337 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08798/28.9, allocations: 30.55 MB / 6.145 GB, free: 348.4 MB / 1.337 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04224/28.94, allocations: 8.391 MB / 6.153 GB, free: 348.4 MB / 1.337 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3419/29.28, allocations: 192 MB / 6.341 GB, free: 266.4 MB / 1.337 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09695/29.38, allocations: 0.7376 MB / 6.342 GB, free: 266.4 MB / 1.337 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01604/29.4, allocations: 3.047 MB / 6.345 GB, free: 266.4 MB / 1.337 GB 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.009971/29.41, allocations: 83.83 kB / 6.345 GB, free: 266.3 MB / 1.337 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04653/29.45, allocations: 18.35 MB / 6.363 GB, free: 263.8 MB / 1.337 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5408/29.99, allocations: 107.4 MB / 6.468 GB, free: 179.9 MB / 1.337 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006129/29.99, allocations: 373.3 kB / 6.468 GB, free: 179.5 MB / 1.337 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002882/29.99, allocations: 124 kB / 6.468 GB, free: 179.4 MB / 1.337 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005337/29.99, allocations: 168.6 kB / 6.468 GB, free: 179.4 MB / 1.337 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.733/31.73, allocations: 195.4 MB / 6.659 GB, free: 346.7 MB / 1.337 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0124/31.74, allocations: 4.628 MB / 6.664 GB, free: 346.7 MB / 1.337 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02925/31.77, allocations: 3.745 MB / 6.667 GB, free: 346.7 MB / 1.337 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09112/31.86, allocations: 29.42 MB / 6.696 GB, free: 345.5 MB / 1.337 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01159/31.87, allocations: 1.218 MB / 6.697 GB, free: 345.4 MB / 1.337 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3312/32.2, allocations: 191.2 MB / 6.884 GB, free: 196.8 MB / 1.337 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.289e-06/32.2, allocations: 8.031 kB / 6.884 GB, free: 196.7 MB / 1.337 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.305/33.51, allocations: 119.5 MB / 7.001 GB, free: 326.2 MB / 1.337 GB Notification: Performance of postOpt removeConstants (simulation): time 0.09773/33.61, allocations: 36 MB / 7.036 GB, free: 322.9 MB / 1.337 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.05031/33.66, allocations: 266.5 kB / 7.036 GB, free: 322.9 MB / 1.337 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.08205/33.74, allocations: 313.1 kB / 7.036 GB, free: 322.9 MB / 1.337 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01281/33.75, allocations: 2.525 MB / 7.039 GB, free: 322.9 MB / 1.337 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01111/33.76, allocations: 1.794 MB / 7.04 GB, free: 322.9 MB / 1.337 GB Notification: Performance of sort global known variables: time 0.6297/34.39, allocations: 103.2 MB / 7.141 GB, free: 317.5 MB / 1.337 GB Notification: Performance of remove unused functions: time 0.1263/34.52, allocations: 31.79 MB / 7.172 GB, free: 312.7 MB / 1.337 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.04021/34.56, allocations: 23.23 MB / 7.195 GB, free: 297.7 MB / 1.337 GB Notification: Performance of simCode: created initialization part: time 0.2165/34.78, allocations: 69.63 MB / 7.263 GB, free: 232.2 MB / 1.337 GB Notification: Performance of simCode: created event and clocks part: time 7.543e-06/34.78, allocations: 4.5 kB / 7.263 GB, free: 232.2 MB / 1.337 GB Notification: Performance of simCode: created simulation system equations: time 0.1407/34.92, allocations: 44.07 MB / 7.306 GB, free: 189.4 MB / 1.337 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1034/35.02, allocations: 18.01 MB / 7.324 GB, free: 173.2 MB / 1.337 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.123/38.14, allocations: 237.8 MB / 7.556 GB, free: 242.4 MB / 1.337 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4871/38.63, allocations: 65.46 MB / 7.62 GB, free: 235.2 MB / 1.337 GB Notification: Performance of SimCode: time 3.143e-06/38.63, allocations: 0 / 7.62 GB, free: 235.2 MB / 1.337 GB Notification: Performance of Templates: time 7.702/46.33, allocations: 1.248 GB / 8.867 GB, free: 316.9 MB / 1.384 GB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.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_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=104 -DOMC_NUM_NONLINEAR_SYSTEMS=72 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:7189:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_eqFunction_7368(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:7189:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_eqFunction_7368(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:7190:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_eqFunction_7369(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:7190:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_eqFunction_7369(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.c:7191:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkFourBitBinaryAdder_eqFunction_7370(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.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkFourBitBinaryAdder.o] Error 1