Notification: Performance of loadModel(Modelica): time 1.573/1.573, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.027e-05, allocations: 1.406 kB / 247.4 MB, free: 4.66 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06184/0.06193, allocations: 44.36 MB / 291.8 MB, free: 9.227 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.3095, allocations: 97.05 MB / 388.8 MB, free: 2.215 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.3098, allocations: 77.02 kB / 388.9 MB, free: 2.203 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5024/0.8123, allocations: 119.4 MB / 0.4964 GB, free: 80.8 MB / 392.6 MB Notification: Performance of Transformations before backend: time 6.544e-05/0.8125, allocations: 44.66 kB / 0.4965 GB, free: 80.8 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.00546/0.818, allocations: 2.685 MB / 0.4991 GB, free: 79.61 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.8182, allocations: 8.969 kB / 0.4991 GB, free: 79.61 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007021/0.8189, allocations: 389.5 kB / 0.4995 GB, free: 79.41 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/0.8242, allocations: 2.261 MB / 0.5017 GB, free: 78.8 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.8243, allocations: 19.39 kB / 0.5017 GB, free: 78.8 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.8246, allocations: 36.12 kB / 0.5017 GB, free: 78.8 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001539/0.8262, allocations: 0.6818 MB / 0.5024 GB, free: 78.79 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.8278, allocations: 0.7304 MB / 0.5031 GB, free: 78.68 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.8279, allocations: 0 / 0.5031 GB, free: 78.68 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.8281, allocations: 3.406 kB / 0.5031 GB, free: 78.68 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.8282, allocations: 21.62 kB / 0.5031 GB, free: 78.67 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00709/0.8353, allocations: 2.954 MB / 0.506 GB, free: 78.24 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.8364, allocations: 441.5 kB / 0.5064 GB, free: 78.22 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.8377, allocations: 0.8252 MB / 0.5073 GB, free: 78.2 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03851/0.8763, allocations: 35.84 MB / 0.5422 GB, free: 51.83 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009301/0.8773, allocations: 486.9 kB / 0.5427 GB, free: 51.78 MB / 392.6 MB Notification: Performance of pre-optimization done (n=96): time 5.169e-06/0.8774, allocations: 3.812 kB / 0.5427 GB, free: 51.78 MB / 392.6 MB Notification: Performance of matching and sorting (n=99): time 0.008761/0.8862, allocations: 3.361 MB / 0.546 GB, free: 50.6 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.8864, allocations: 271.6 kB / 0.5463 GB, free: 50.29 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/0.8903, allocations: 2.052 MB / 0.5483 GB, free: 50.02 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002012/0.8906, allocations: 29.55 kB / 0.5483 GB, free: 49.99 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000479/0.8911, allocations: 0.4969 MB / 0.5488 GB, free: 49.82 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.8915, allocations: 324.2 kB / 0.5491 GB, free: 49.61 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.8917, allocations: 3.188 kB / 0.5491 GB, free: 49.61 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.8918, allocations: 343 kB / 0.5494 GB, free: 49.31 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007775/0.8927, allocations: 315.8 kB / 0.5497 GB, free: 49.3 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008871/0.8936, allocations: 0.5241 MB / 0.5502 GB, free: 49.07 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/0.8947, allocations: 371.2 kB / 0.5506 GB, free: 49.05 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.006e-06/0.8947, allocations: 3.25 kB / 0.5506 GB, free: 49.05 MB / 392.6 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003637/0.8984, allocations: 1.606 MB / 0.5522 GB, free: 48.55 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.8986, allocations: 6.469 kB / 0.5522 GB, free: 48.55 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002417/0.8989, allocations: 116.8 kB / 0.5523 GB, free: 48.55 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009359/0.8999, allocations: 261.9 kB / 0.5525 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.9012, allocations: 242.4 kB / 0.5528 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009011/0.9103, allocations: 12.7 MB / 0.5652 GB, free: 36.53 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.9128, allocations: 125.3 kB / 0.5653 GB, free: 36.53 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.9132, allocations: 60.09 kB / 0.5653 GB, free: 36.53 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.9134, allocations: 83.03 kB / 0.5654 GB, free: 36.45 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/0.914, allocations: 373.5 kB / 0.5658 GB, free: 36.27 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007018/0.9211, allocations: 2.146 MB / 0.5679 GB, free: 35.86 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.9212, allocations: 11.78 kB / 0.5679 GB, free: 35.86 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.9213, allocations: 3.938 kB / 0.5679 GB, free: 35.86 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.9214, allocations: 7.75 kB / 0.5679 GB, free: 35.86 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.924, allocations: 1.441 MB / 0.5693 GB, free: 35.65 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002305/0.9244, allocations: 117.5 kB / 0.5694 GB, free: 35.65 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.9257, allocations: 182.4 kB / 0.5696 GB, free: 35.64 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.9268, allocations: 252.1 kB / 0.5698 GB, free: 35.55 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.9271, allocations: 40.94 kB / 0.5699 GB, free: 35.55 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009054/0.9362, allocations: 12.69 MB / 0.5822 GB, free: 23.58 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.077e-06/0.9363, allocations: 1.375 kB / 0.5823 GB, free: 23.58 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004792/0.9411, allocations: 2.034 MB / 0.5842 GB, free: 22.97 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.9426, allocations: 0.498 MB / 0.5847 GB, free: 22.69 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005948/0.9432, allocations: 16.86 kB / 0.5847 GB, free: 22.69 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.9452, allocations: 124.2 kB / 0.5849 GB, free: 22.67 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/0.9457, allocations: 115.5 kB / 0.585 GB, free: 22.67 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.9459, allocations: 50.78 kB / 0.585 GB, free: 22.67 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003166/0.9491, allocations: 1.53 MB / 0.5865 GB, free: 22.49 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002831/0.952, allocations: 0.669 MB / 0.5872 GB, free: 22.43 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/0.9539, allocations: 0.9448 MB / 0.5881 GB, free: 22.27 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.9573, allocations: 2.048 MB / 0.5901 GB, free: 21.13 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.9574, allocations: 1.75 kB / 0.5901 GB, free: 21.13 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.9595, allocations: 1.656 MB / 0.5917 GB, free: 19.6 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.9619, allocations: 451.1 kB / 0.5921 GB, free: 19.35 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007682/0.9697, allocations: 3.497 MB / 0.5956 GB, free: 16.46 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/0.9714, allocations: 1.868 MB / 0.5974 GB, free: 14.97 MB / 392.6 MB Notification: Performance of SimCode: time 2.165e-06/0.9714, allocations: 2.719 kB / 0.5974 GB, free: 14.97 MB / 392.6 MB Notification: Performance of Templates: time 0.1501/1.122, allocations: 34.52 MB / 0.6311 GB, free: 3.141 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.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_Nor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=20 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.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.Nor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.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.Nor.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.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.Nor.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_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.Nor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.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.Nor.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.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.Nor.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_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.Nor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.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.Nor.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.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_Nor_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.Nor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.c:1757:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_167(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.c:1758:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_168(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.c:1759:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_173(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.c:1760:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_174(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.c:1761:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_175(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_-O1_Modelica.Electrical.Spice3.Examples.Nor.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nor.o] Error 1