Notification: Performance of loadModel(Modelica): time 1.527/1.527, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.079e-06/9.15e-06, allocations: 2.031 kB / 247.4 MB, free: 4.648 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06119/0.06127, allocations: 44.37 MB / 291.8 MB, free: 9.195 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/0.3113, allocations: 96.85 MB / 388.6 MB, free: 2.336 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.3116, allocations: 75.41 kB / 388.7 MB, free: 2.324 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5045/0.8161, allocations: 118.5 MB / 0.4953 GB, free: 80.67 MB / 392.6 MB Notification: Performance of Transformations before backend: time 6.216e-05/0.8163, allocations: 43.25 kB / 0.4954 GB, free: 80.67 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.005078/0.8215, allocations: 2.63 MB / 0.498 GB, free: 79.52 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.8216, allocations: 7.188 kB / 0.498 GB, free: 79.52 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.8223, allocations: 379.3 kB / 0.4983 GB, free: 79.33 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.8273, allocations: 2.239 MB / 0.5005 GB, free: 78.71 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.8274, allocations: 15.56 kB / 0.5005 GB, free: 78.71 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.8277, allocations: 40.03 kB / 0.5006 GB, free: 78.71 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/0.829, allocations: 0.6619 MB / 0.5012 GB, free: 78.71 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.8304, allocations: 0.6931 MB / 0.5019 GB, free: 78.59 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.8305, allocations: 0 / 0.5019 GB, free: 78.59 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/0.8306, allocations: 3.719 kB / 0.5019 GB, free: 78.59 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.8307, allocations: 22.91 kB / 0.5019 GB, free: 78.59 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007/0.8378, allocations: 2.832 MB / 0.5047 GB, free: 78.15 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007795/0.8387, allocations: 361.3 kB / 0.505 GB, free: 78.13 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008573/0.8396, allocations: 0.5448 MB / 0.5056 GB, free: 78.11 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.039/0.8787, allocations: 35.93 MB / 0.5406 GB, free: 51.72 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005464/0.8793, allocations: 289.3 kB / 0.5409 GB, free: 51.67 MB / 392.6 MB Notification: Performance of pre-optimization done (n=50): time 6.914e-06/0.8794, allocations: 0 / 0.5409 GB, free: 51.67 MB / 392.6 MB Notification: Performance of matching and sorting (n=50): time 0.00204/0.8815, allocations: 0.8628 MB / 0.5418 GB, free: 51.43 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.8817, allocations: 274.4 kB / 0.542 GB, free: 51.12 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.8855, allocations: 2.107 MB / 0.5441 GB, free: 50.83 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.8858, allocations: 30.14 kB / 0.5441 GB, free: 50.8 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.8863, allocations: 0.6108 MB / 0.5447 GB, free: 50.55 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.8866, allocations: 160 kB / 0.5449 GB, free: 50.46 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.8867, allocations: 3.938 kB / 0.5449 GB, free: 50.46 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.8868, allocations: 345 kB / 0.5452 GB, free: 50.15 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.8873, allocations: 162.1 kB / 0.5453 GB, free: 50.15 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.8879, allocations: 0.5601 MB / 0.5459 GB, free: 49.65 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.8885, allocations: 267 kB / 0.5461 GB, free: 49.64 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.8886, allocations: 3.906 kB / 0.5461 GB, free: 49.64 MB / 392.6 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002395/0.8911, allocations: 1.085 MB / 0.5472 GB, free: 49.43 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.8912, allocations: 7.656 kB / 0.5472 GB, free: 49.43 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/0.8914, allocations: 79.97 kB / 0.5473 GB, free: 49.43 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/0.8922, allocations: 274.8 kB / 0.5476 GB, free: 49.42 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.8931, allocations: 187.3 kB / 0.5477 GB, free: 49.42 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.8946, allocations: 0.9461 MB / 0.5487 GB, free: 48.88 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.8967, allocations: 104.5 kB / 0.5488 GB, free: 48.84 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.897, allocations: 70.16 kB / 0.5488 GB, free: 48.84 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.8972, allocations: 79.19 kB / 0.5489 GB, free: 48.77 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/0.8977, allocations: 362.1 kB / 0.5492 GB, free: 48.58 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005654/0.9034, allocations: 1.462 MB / 0.5507 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.9035, allocations: 3.938 kB / 0.5507 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.285e-06/0.9036, allocations: 3.031 kB / 0.5507 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-06/0.9037, allocations: 7.141 kB / 0.5507 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004633/0.9083, allocations: 2.006 MB / 0.5526 GB, free: 48.1 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001355/0.9086, allocations: 68.56 kB / 0.5527 GB, free: 48.1 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.9091, allocations: 84.86 kB / 0.5528 GB, free: 48.1 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006327/0.9098, allocations: 260.8 kB / 0.553 GB, free: 48.09 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.444e-05/0.91, allocations: 31.84 kB / 0.5531 GB, free: 48.09 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.9113, allocations: 0.9258 MB / 0.554 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.844e-06/0.9114, allocations: 0 / 0.554 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001882/0.9133, allocations: 1.12 MB / 0.5551 GB, free: 47.03 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.9145, allocations: 477.8 kB / 0.5555 GB, free: 46.74 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/0.9151, allocations: 7.781 kB / 0.5555 GB, free: 46.74 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.9165, allocations: 46.75 kB / 0.5556 GB, free: 46.74 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.9168, allocations: 60.53 kB / 0.5556 GB, free: 46.73 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/0.917, allocations: 42.7 kB / 0.5557 GB, free: 46.73 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003064/0.9201, allocations: 1.563 MB / 0.5572 GB, free: 46.55 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002304/0.9225, allocations: 0.5805 MB / 0.5578 GB, free: 46.49 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.924, allocations: 0.9219 MB / 0.5587 GB, free: 46.37 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.9258, allocations: 0.6935 MB / 0.5593 GB, free: 46.23 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.565e-06/0.9259, allocations: 0 / 0.5593 GB, free: 46.23 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000929/0.9269, allocations: 428.9 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.00258/0.9296, allocations: 444.4 kB / 0.5602 GB, free: 46.06 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/0.9373, allocations: 2.773 MB / 0.5629 GB, free: 45.15 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/0.9392, allocations: 1.821 MB / 0.5647 GB, free: 44.41 MB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/0.9393, allocations: 0 / 0.5647 GB, free: 44.41 MB / 392.6 MB Notification: Performance of Templates: time 0.1769/1.116, allocations: 29.84 MB / 0.5938 GB, free: 24.66 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.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_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:332:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_125(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:332:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_125(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:333:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_126(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:333:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Nand_eqFunction_126(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.c:334:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Nand.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Nand.o] Error 1