Notification: Performance of loadModel(Modelica): time 1.511/1.511, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.313e-05/1.334e-05, allocations: 1.438 kB / 247.4 MB, free: 4.656 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09464/0.09476, allocations: 44.36 MB / 291.8 MB, free: 9.234 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2487/0.3436, allocations: 97.06 MB / 388.8 MB, free: 2.211 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.3439, allocations: 77.58 kB / 388.9 MB, free: 2.199 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.523/0.867, allocations: 119.4 MB / 0.4964 GB, free: 45.38 MB / 392.6 MB Notification: Performance of Transformations before backend: time 5.608e-05/0.8672, allocations: 41.47 kB / 0.4965 GB, free: 45.38 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.004877/0.8721, allocations: 2.687 MB / 0.4991 GB, free: 44.19 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.8722, allocations: 12.62 kB / 0.4991 GB, free: 44.19 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006767/0.873, allocations: 385.2 kB / 0.4995 GB, free: 43.99 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/0.8779, allocations: 2.257 MB / 0.5017 GB, free: 43.38 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.878, allocations: 15.47 kB / 0.5017 GB, free: 43.38 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.8783, allocations: 42.61 kB / 0.5017 GB, free: 43.38 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/0.8797, allocations: 0.6831 MB / 0.5024 GB, free: 43.38 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.8811, allocations: 0.7255 MB / 0.5031 GB, free: 43.26 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.8811, allocations: 0 / 0.5031 GB, free: 43.26 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.8813, allocations: 10.73 kB / 0.5031 GB, free: 43.26 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.8814, allocations: 23.5 kB / 0.5031 GB, free: 43.25 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006672/0.8881, allocations: 2.951 MB / 0.506 GB, free: 42.82 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/0.8892, allocations: 440.3 kB / 0.5064 GB, free: 42.8 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.8905, allocations: 0.8225 MB / 0.5072 GB, free: 42.78 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04054/0.9311, allocations: 35.84 MB / 0.5422 GB, free: 16.4 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009103/0.9321, allocations: 486.1 kB / 0.5427 GB, free: 16.35 MB / 392.6 MB Notification: Performance of pre-optimization done (n=96): time 6.775e-06/0.9322, allocations: 0 / 0.5427 GB, free: 16.35 MB / 392.6 MB Notification: Performance of matching and sorting (n=99): time 0.008516/0.9408, allocations: 3.362 MB / 0.546 GB, free: 31.17 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.941, allocations: 275.8 kB / 0.5463 GB, free: 30.86 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.9448, allocations: 2.044 MB / 0.5483 GB, free: 30.59 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.9451, allocations: 29.3 kB / 0.5483 GB, free: 30.56 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.9456, allocations: 0.5002 MB / 0.5488 GB, free: 30.39 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.946, allocations: 328.2 kB / 0.5491 GB, free: 30.18 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.9461, allocations: 0 / 0.5491 GB, free: 30.18 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.9463, allocations: 350.9 kB / 0.5494 GB, free: 29.88 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007414/0.9471, allocations: 307.5 kB / 0.5497 GB, free: 29.88 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000847/0.948, allocations: 0.5337 MB / 0.5502 GB, free: 29.63 MB / 408.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009332/0.949, allocations: 362.3 kB / 0.5506 GB, free: 29.62 MB / 408.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.727e-06/0.9491, allocations: 3.906 kB / 0.5506 GB, free: 29.62 MB / 408.6 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003603/0.9527, allocations: 1.612 MB / 0.5522 GB, free: 29.12 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9529, allocations: 3.969 kB / 0.5522 GB, free: 29.12 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000238/0.9532, allocations: 118.9 kB / 0.5523 GB, free: 29.12 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.9541, allocations: 260 kB / 0.5525 GB, free: 29.04 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.9555, allocations: 241.8 kB / 0.5527 GB, free: 29.04 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009608/0.9652, allocations: 12.69 MB / 0.5651 GB, free: 17.09 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.9676, allocations: 125.2 kB / 0.5653 GB, free: 17.09 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.968, allocations: 53.84 kB / 0.5653 GB, free: 17.09 MB / 408.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.9682, allocations: 86.66 kB / 0.5654 GB, free: 17.02 MB / 408.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/0.9688, allocations: 374.8 kB / 0.5658 GB, free: 16.83 MB / 408.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007477/0.9764, allocations: 2.148 MB / 0.5679 GB, free: 16.43 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.9765, allocations: 7.812 kB / 0.5679 GB, free: 16.43 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.9765, allocations: 3.906 kB / 0.5679 GB, free: 16.43 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.9766, allocations: 7.75 kB / 0.5679 GB, free: 16.43 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.9795, allocations: 1.444 MB / 0.5693 GB, free: 16.22 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000239/0.9798, allocations: 113.2 kB / 0.5694 GB, free: 16.22 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.9811, allocations: 193.7 kB / 0.5696 GB, free: 16.21 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009869/0.9822, allocations: 251.8 kB / 0.5698 GB, free: 16.12 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.9825, allocations: 36.19 kB / 0.5698 GB, free: 16.12 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009532/0.9921, allocations: 12.69 MB / 0.5822 GB, free: 20.15 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-06/0.9922, allocations: 0 / 0.5822 GB, free: 20.15 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004365/0.9966, allocations: 2.035 MB / 0.5842 GB, free: 19.55 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.9981, allocations: 0.4986 MB / 0.5847 GB, free: 19.26 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006546/0.9988, allocations: 7.531 kB / 0.5847 GB, free: 19.26 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.001, allocations: 127 kB / 0.5848 GB, free: 19.25 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/1.001, allocations: 116.7 kB / 0.585 GB, free: 19.25 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.002, allocations: 53.33 kB / 0.585 GB, free: 19.25 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.003405/1.005, allocations: 1.531 MB / 0.5865 GB, free: 19.07 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.002465/1.008, allocations: 0.6601 MB / 0.5871 GB, free: 19.01 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/1.009, allocations: 0.9427 MB / 0.5881 GB, free: 18.85 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.00319/1.012, allocations: 2.046 MB / 0.5901 GB, free: 17.71 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 6.006e-06/1.013, allocations: 4.125 kB / 0.5901 GB, free: 17.71 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.015, allocations: 1.656 MB / 0.5917 GB, free: 16.58 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/1.017, allocations: 449.4 kB / 0.5921 GB, free: 16.52 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008474/1.026, allocations: 3.508 MB / 0.5955 GB, free: 15.27 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.028, allocations: 1.866 MB / 0.5974 GB, free: 14.49 MB / 424.6 MB Notification: Performance of SimCode: time 3.073e-06/1.028, allocations: 0 / 0.5974 GB, free: 14.49 MB / 424.6 MB Notification: Performance of Templates: time 0.1242/1.152, allocations: 34.52 MB / 0.6311 GB, free: 3.566 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.makefile clang -fPIC -O2 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O2_Modelica_Electrical_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.o Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:1757:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_167(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:1758:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_168(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:1759:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_173(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:1760:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nor_eqFunction_174(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.c:1761:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.Nor.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nor.o] Error 1