Notification: Performance of loadModel(Modelica): time 1.52/1.52, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.544e-05, allocations: 1 kB / 247.4 MB, free: 4.66 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06287/0.06296, allocations: 44.36 MB / 291.8 MB, free: 9.23 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/0.3078, allocations: 96.86 MB / 388.6 MB, free: 2.43 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.3081, allocations: 77.02 kB / 388.7 MB, free: 2.414 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5062/0.8143, allocations: 118.5 MB / 0.4954 GB, free: 80.67 MB / 392.6 MB Notification: Performance of Transformations before backend: time 6.949e-05/0.8145, allocations: 49.41 kB / 0.4954 GB, free: 80.67 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.005434/0.82, allocations: 2.624 MB / 0.498 GB, free: 79.52 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.8201, allocations: 10.31 kB / 0.498 GB, free: 79.52 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007348/0.8209, allocations: 376.3 kB / 0.4983 GB, free: 79.33 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005072/0.8261, allocations: 2.245 MB / 0.5005 GB, free: 78.71 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.8262, allocations: 15.78 kB / 0.5005 GB, free: 78.71 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.8265, allocations: 31.53 kB / 0.5006 GB, free: 78.71 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001406/0.828, allocations: 0.6586 MB / 0.5012 GB, free: 78.71 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.8294, allocations: 0.6951 MB / 0.5019 GB, free: 78.59 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.8295, allocations: 0 / 0.5019 GB, free: 78.59 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.8297, allocations: 3.406 kB / 0.5019 GB, free: 78.59 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.8297, allocations: 19.28 kB / 0.5019 GB, free: 78.59 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006926/0.8367, allocations: 2.838 MB / 0.5047 GB, free: 78.15 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/0.8376, allocations: 361.2 kB / 0.505 GB, free: 78.13 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008619/0.8386, allocations: 0.5403 MB / 0.5056 GB, free: 78.11 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0397/0.8783, allocations: 35.92 MB / 0.5406 GB, free: 51.73 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/0.8789, allocations: 291.9 kB / 0.5409 GB, free: 51.67 MB / 392.6 MB Notification: Performance of pre-optimization done (n=50): time 6.007e-06/0.879, allocations: 5.719 kB / 0.5409 GB, free: 51.67 MB / 392.6 MB Notification: Performance of matching and sorting (n=50): time 0.001938/0.881, allocations: 0.8698 MB / 0.5418 GB, free: 51.43 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.8812, allocations: 267 kB / 0.542 GB, free: 51.11 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/0.8849, allocations: 2.103 MB / 0.5441 GB, free: 50.84 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.8851, allocations: 25.7 kB / 0.5441 GB, free: 50.8 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.8857, allocations: 0.6178 MB / 0.5447 GB, free: 50.55 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.8859, allocations: 163.1 kB / 0.5449 GB, free: 50.46 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.886, allocations: 0 / 0.5449 GB, free: 50.46 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.8861, allocations: 340.7 kB / 0.5452 GB, free: 50.15 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.8866, allocations: 169 kB / 0.5453 GB, free: 50.15 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.8872, allocations: 0.5607 MB / 0.5459 GB, free: 49.65 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.8879, allocations: 259.3 kB / 0.5461 GB, free: 49.64 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.888, allocations: 3.594 kB / 0.5461 GB, free: 49.64 MB / 392.6 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002361/0.8904, allocations: 1.088 MB / 0.5472 GB, free: 49.43 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.8905, allocations: 3.5 kB / 0.5472 GB, free: 49.43 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/0.8908, allocations: 85.58 kB / 0.5473 GB, free: 49.43 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007175/0.8915, allocations: 280 kB / 0.5476 GB, free: 49.42 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008213/0.8924, allocations: 184.6 kB / 0.5477 GB, free: 49.42 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.8938, allocations: 0.9445 MB / 0.5487 GB, free: 48.88 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.8959, allocations: 113.9 kB / 0.5488 GB, free: 48.84 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.8961, allocations: 62 kB / 0.5488 GB, free: 48.84 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/0.8962, allocations: 82.25 kB / 0.5489 GB, free: 48.76 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/0.8967, allocations: 364.5 kB / 0.5493 GB, free: 48.58 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005631/0.9024, allocations: 1.461 MB / 0.5507 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.9025, allocations: 3.906 kB / 0.5507 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.775e-06/0.9026, allocations: 0 / 0.5507 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.102e-06/0.9027, allocations: 0 / 0.5507 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.907, allocations: 2.011 MB / 0.5526 GB, free: 48.1 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001386/0.9073, allocations: 74.23 kB / 0.5527 GB, free: 48.1 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.9078, allocations: 73.95 kB / 0.5528 GB, free: 48.1 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006191/0.9085, allocations: 265.5 kB / 0.553 GB, free: 48.09 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.808e-05/0.9086, allocations: 30 kB / 0.5531 GB, free: 48.09 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.91, allocations: 0.9147 MB / 0.554 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.289e-06/0.9101, allocations: 9.25 kB / 0.554 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001936/0.9121, allocations: 1.126 MB / 0.5551 GB, free: 47.02 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.9133, allocations: 477.6 kB / 0.5555 GB, free: 46.74 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007361/0.9142, allocations: 7.359 kB / 0.5555 GB, free: 46.74 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.9157, allocations: 43.7 kB / 0.5556 GB, free: 46.74 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.916, allocations: 55.64 kB / 0.5556 GB, free: 46.74 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.422e-05/0.9162, allocations: 40.98 kB / 0.5557 GB, free: 46.74 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003064/0.9193, allocations: 1.559 MB / 0.5572 GB, free: 46.56 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002135/0.9215, allocations: 0.5932 MB / 0.5578 GB, free: 46.5 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.9229, allocations: 0.9184 MB / 0.5587 GB, free: 46.38 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.9247, allocations: 0.6979 MB / 0.5593 GB, free: 46.24 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.007e-06/0.9248, allocations: 0 / 0.5593 GB, free: 46.24 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.9257, allocations: 428.4 kB / 0.5598 GB, free: 46.1 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.9283, allocations: 447.6 kB / 0.5602 GB, free: 46.07 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007464/0.9359, allocations: 2.775 MB / 0.5629 GB, free: 45.14 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/0.9379, allocations: 1.814 MB / 0.5647 GB, free: 44.41 MB / 392.6 MB Notification: Performance of SimCode: time 2.234e-06/0.938, allocations: 0 / 0.5647 GB, free: 44.41 MB / 392.6 MB Notification: Performance of Templates: time 0.2063/1.144, allocations: 29.85 MB / 0.5938 GB, free: 24.62 MB / 392.6 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