Notification: Performance of loadModel(Modelica): time 1.568/1.568, allocations: 194.5 MB / 200.7 MB, free: 7.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.062e-05, allocations: 1.062 kB / 247.4 MB, free: 5.398 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06093/0.06101, allocations: 44.36 MB / 291.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2536/0.3147, allocations: 96.86 MB / 388.6 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.315, allocations: 76.3 kB / 388.7 MB, free: 3.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.5089/0.824, allocations: 118.5 MB / 0.4954 GB, free: 80.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.789e-05/0.8242, allocations: 41 kB / 0.4954 GB, free: 80.17 MB / 394.7 MB Notification: Performance of Generate backend data structure: time 0.005326/0.8296, allocations: 2.622 MB / 0.498 GB, free: 79.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8297, allocations: 10.09 kB / 0.498 GB, free: 79.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006819/0.8305, allocations: 379.6 kB / 0.4983 GB, free: 78.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004887/0.8354, allocations: 2.234 MB / 0.5005 GB, free: 78.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.8355, allocations: 24.31 kB / 0.5005 GB, free: 78.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.8358, allocations: 33.2 kB / 0.5006 GB, free: 78.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001364/0.8372, allocations: 0.6598 MB / 0.5012 GB, free: 78.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.8386, allocations: 0.6934 MB / 0.5019 GB, free: 78.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.8387, allocations: 0 / 0.5019 GB, free: 78.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.8389, allocations: 3.906 kB / 0.5019 GB, free: 78.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.8389, allocations: 21.89 kB / 0.5019 GB, free: 78.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007188/0.8462, allocations: 2.836 MB / 0.5047 GB, free: 77.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.8471, allocations: 363.4 kB / 0.505 GB, free: 77.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009457/0.8481, allocations: 0.5367 MB / 0.5056 GB, free: 77.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06517/0.9134, allocations: 35.92 MB / 0.5406 GB, free: 51.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008296/0.9144, allocations: 289.6 kB / 0.5409 GB, free: 51.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 7.752e-06/0.9145, allocations: 0 / 0.5409 GB, free: 51.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.003592/0.9182, allocations: 0.8681 MB / 0.5418 GB, free: 50.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.994e-05/0.9184, allocations: 275 kB / 0.542 GB, free: 50.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006816/0.9253, allocations: 2.104 MB / 0.5441 GB, free: 50.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.9257, allocations: 29.17 kB / 0.5441 GB, free: 50.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009139/0.9267, allocations: 0.6167 MB / 0.5447 GB, free: 50.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.9271, allocations: 166 kB / 0.5449 GB, free: 50 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.9273, allocations: 0 / 0.5449 GB, free: 50 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9275, allocations: 339.8 kB / 0.5452 GB, free: 49.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/0.9283, allocations: 174 kB / 0.5454 GB, free: 49.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009658/0.9293, allocations: 0.5597 MB / 0.5459 GB, free: 49.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.9305, allocations: 255.6 kB / 0.5461 GB, free: 49.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.9307, allocations: 3.969 kB / 0.5461 GB, free: 49.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0043/0.935, allocations: 1.087 MB / 0.5472 GB, free: 48.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.9352, allocations: 6.062 kB / 0.5472 GB, free: 48.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002499/0.9356, allocations: 83.94 kB / 0.5473 GB, free: 48.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.9368, allocations: 278.5 kB / 0.5476 GB, free: 48.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.9384, allocations: 185.5 kB / 0.5477 GB, free: 48.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.9409, allocations: 0.9407 MB / 0.5487 GB, free: 48.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/0.9448, allocations: 106.3 kB / 0.5488 GB, free: 48.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/0.9453, allocations: 67.52 kB / 0.5488 GB, free: 48.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.9455, allocations: 78.53 kB / 0.5489 GB, free: 48.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/0.9467, allocations: 363.8 kB / 0.5492 GB, free: 48.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.9574, allocations: 1.452 MB / 0.5507 GB, free: 48.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.9576, allocations: 9.688 kB / 0.5507 GB, free: 48.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.359e-06/0.9577, allocations: 0 / 0.5507 GB, free: 48.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.9578, allocations: 3.422 kB / 0.5507 GB, free: 48.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007919/0.9658, allocations: 2.014 MB / 0.5526 GB, free: 47.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002224/0.9662, allocations: 70.53 kB / 0.5527 GB, free: 47.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.967, allocations: 77.2 kB / 0.5528 GB, free: 47.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.9682, allocations: 259.1 kB / 0.553 GB, free: 47.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.9684, allocations: 30.38 kB / 0.5531 GB, free: 47.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.9706, allocations: 0.9282 MB / 0.554 GB, free: 47.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.9708, allocations: 4.469 kB / 0.554 GB, free: 47.11 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003304/0.9742, allocations: 1.121 MB / 0.5551 GB, free: 46.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/0.9763, allocations: 474.4 kB / 0.5555 GB, free: 46.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/0.9778, allocations: 11 kB / 0.5555 GB, free: 46.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/0.9813, allocations: 43.38 kB / 0.5556 GB, free: 46.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/0.9818, allocations: 61.69 kB / 0.5556 GB, free: 46.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.9821, allocations: 38.38 kB / 0.5557 GB, free: 46.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.005831/0.988, allocations: 1.564 MB / 0.5572 GB, free: 46.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002565/0.9907, allocations: 0.5868 MB / 0.5578 GB, free: 46.04 MB / 394.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.9923, allocations: 0.9189 MB / 0.5587 GB, free: 45.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.9941, allocations: 0.6923 MB / 0.5593 GB, free: 45.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.635e-06/0.9942, allocations: 0 / 0.5593 GB, free: 45.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008951/0.9952, allocations: 428.3 kB / 0.5597 GB, free: 45.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.9976, allocations: 446 kB / 0.5602 GB, free: 45.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/1.004, allocations: 2.779 MB / 0.5629 GB, free: 44.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.006, allocations: 1.812 MB / 0.5647 GB, free: 43.97 MB / 394.7 MB Notification: Performance of SimCode: time 3.283e-06/1.006, allocations: 0 / 0.5647 GB, free: 43.97 MB / 394.7 MB Notification: Performance of Templates: time 0.1423/1.149, allocations: 29.84 MB / 0.5938 GB, free: 28.14 MB / 394.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.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_Nand -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_-O2_Modelica.Electrical.Spice3.Examples.Nand.o Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.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.Nand.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.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.Nand.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.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.Nand.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_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.Nand.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.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.Nand.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.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.Nand.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_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.Nand.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.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.Nand.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.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_Nand_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.Nand.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.c:332:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_125(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.c:332:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_125(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.c:333:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_126(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.c:333:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_126(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.c:334:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_127(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_-O2_Modelica.Electrical.Spice3.Examples.Nand.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Nand.o] Error 1