Notification: Performance of loadModel(Modelica): time 1.606/1.606, allocations: 194.5 MB / 200.7 MB, free: 8.242 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 9.009e-06/9.01e-06, allocations: 4 kB / 247.4 MB, free: 9.27 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05886/0.05893, allocations: 44.36 MB / 291.8 MB, free: 12.81 MB / 254.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.2993, allocations: 96.87 MB / 388.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.2996, allocations: 70.41 kB / 388.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.4954/0.7951, allocations: 118.5 MB / 0.4954 GB, free: 84.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.79e-05/0.7952, allocations: 44.78 kB / 0.4954 GB, free: 84.36 MB / 398.1 MB Notification: Performance of Generate backend data structure: time 0.004826/0.8001, allocations: 2.621 MB / 0.498 GB, free: 83.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8003, allocations: 11.53 kB / 0.498 GB, free: 83.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.8009, allocations: 380.4 kB / 0.4983 GB, free: 82.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00471/0.8057, allocations: 2.243 MB / 0.5005 GB, free: 82.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.8058, allocations: 16.81 kB / 0.5005 GB, free: 82.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.806, allocations: 34.69 kB / 0.5006 GB, free: 82.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001345/0.8074, allocations: 0.6582 MB / 0.5012 GB, free: 82.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.8088, allocations: 0.6913 MB / 0.5019 GB, free: 82.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.8089, allocations: 0 / 0.5019 GB, free: 82.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.8091, allocations: 10.25 kB / 0.5019 GB, free: 82.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.8091, allocations: 18.19 kB / 0.5019 GB, free: 82.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006512/0.8157, allocations: 2.831 MB / 0.5047 GB, free: 81.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.8165, allocations: 364.8 kB / 0.505 GB, free: 81.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/0.8174, allocations: 0.54 MB / 0.5056 GB, free: 81.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03906/0.8566, allocations: 35.92 MB / 0.5406 GB, free: 55.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.8572, allocations: 286.7 kB / 0.5409 GB, free: 55.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 5.168e-06/0.8573, allocations: 0 / 0.5409 GB, free: 55.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.002035/0.8594, allocations: 0.873 MB / 0.5418 GB, free: 55.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.8596, allocations: 277.3 kB / 0.542 GB, free: 54.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/0.8632, allocations: 2.107 MB / 0.5441 GB, free: 54.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.8635, allocations: 25.7 kB / 0.5441 GB, free: 54.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004561/0.864, allocations: 0.6149 MB / 0.5447 GB, free: 54.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.8642, allocations: 159.9 kB / 0.5449 GB, free: 54.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.8643, allocations: 3.938 kB / 0.5449 GB, free: 54.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.8644, allocations: 339.9 kB / 0.5452 GB, free: 53.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.8649, allocations: 168 kB / 0.5453 GB, free: 53.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.8655, allocations: 0.5665 MB / 0.5459 GB, free: 53.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.8662, allocations: 266.8 kB / 0.5462 GB, free: 53.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.8663, allocations: 3.969 kB / 0.5462 GB, free: 53.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002311/0.8686, allocations: 1.079 MB / 0.5472 GB, free: 53.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.8688, allocations: 2.906 kB / 0.5472 GB, free: 53.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/0.869, allocations: 82.38 kB / 0.5473 GB, free: 53.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007472/0.8698, allocations: 284.3 kB / 0.5476 GB, free: 53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/0.8707, allocations: 183.4 kB / 0.5477 GB, free: 53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.8721, allocations: 0.9355 MB / 0.5486 GB, free: 52.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.8742, allocations: 115 kB / 0.5488 GB, free: 52.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.8745, allocations: 65.38 kB / 0.5488 GB, free: 52.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.8746, allocations: 78.09 kB / 0.5489 GB, free: 52.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.8752, allocations: 365.5 kB / 0.5492 GB, free: 52.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005585/0.8808, allocations: 1.46 MB / 0.5507 GB, free: 52.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.8809, allocations: 9.312 kB / 0.5507 GB, free: 52.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.915e-06/0.881, allocations: 0 / 0.5507 GB, free: 52.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.962e-06/0.8811, allocations: 0 / 0.5507 GB, free: 52.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/0.8857, allocations: 2.003 MB / 0.5526 GB, free: 51.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001379/0.8859, allocations: 70.36 kB / 0.5527 GB, free: 51.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.8865, allocations: 83.55 kB / 0.5528 GB, free: 51.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006212/0.8872, allocations: 258.7 kB / 0.553 GB, free: 51.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-05/0.8873, allocations: 26.78 kB / 0.5531 GB, free: 51.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.8886, allocations: 0.9285 MB / 0.554 GB, free: 51.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.517e-06/0.8887, allocations: 0 / 0.554 GB, free: 51.12 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001869/0.8906, allocations: 1.131 MB / 0.5551 GB, free: 50.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.8918, allocations: 468.6 kB / 0.5555 GB, free: 50.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005328/0.8924, allocations: 10.53 kB / 0.5555 GB, free: 50.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.8939, allocations: 43.12 kB / 0.5556 GB, free: 50.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.8941, allocations: 59.89 kB / 0.5556 GB, free: 50.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/0.8943, allocations: 38.48 kB / 0.5557 GB, free: 50.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 0.002934/0.8973, allocations: 1.561 MB / 0.5572 GB, free: 50.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002123/0.8995, allocations: 0.5838 MB / 0.5578 GB, free: 50.05 MB / 398.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001296/0.9009, allocations: 0.9292 MB / 0.5587 GB, free: 49.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.9027, allocations: 0.6952 MB / 0.5593 GB, free: 49.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.9028, allocations: 1.312 kB / 0.5593 GB, free: 49.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.9038, allocations: 426.2 kB / 0.5597 GB, free: 49.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.9063, allocations: 447.9 kB / 0.5602 GB, free: 49.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007226/0.9136, allocations: 2.778 MB / 0.5629 GB, free: 48.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/0.9156, allocations: 1.808 MB / 0.5647 GB, free: 47.85 MB / 398.1 MB Notification: Performance of SimCode: time 2.723e-06/0.9157, allocations: 5 kB / 0.5647 GB, free: 47.85 MB / 398.1 MB Notification: Performance of Templates: time 0.1362/1.052, allocations: 29.86 MB / 0.5938 GB, free: 28.14 MB / 398.1 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