Notification: Performance of loadModel(Modelica): time 1.513/1.513, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.778e-06, allocations: 1.531 kB / 247.4 MB, free: 4.664 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06249/0.06258, allocations: 44.36 MB / 291.8 MB, free: 9.223 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/0.318, allocations: 97.05 MB / 388.8 MB, free: 1.988 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.3184, allocations: 86.41 kB / 388.9 MB, free: 1.973 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5066/0.825, allocations: 119.4 MB / 0.4964 GB, free: 80.79 MB / 392.6 MB Notification: Performance of Transformations before backend: time 5.552e-05/0.8252, allocations: 44.03 kB / 0.4965 GB, free: 80.79 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.007189/0.8324, allocations: 2.692 MB / 0.4991 GB, free: 79.61 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.8326, allocations: 11.11 kB / 0.4991 GB, free: 79.61 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.8337, allocations: 386 kB / 0.4995 GB, free: 79.41 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007892/0.8417, allocations: 2.249 MB / 0.5017 GB, free: 78.8 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.8419, allocations: 14.19 kB / 0.5017 GB, free: 78.8 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.8423, allocations: 38.86 kB / 0.5017 GB, free: 78.79 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00254/0.8449, allocations: 0.6825 MB / 0.5024 GB, free: 78.79 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.8474, allocations: 0.731 MB / 0.5031 GB, free: 78.68 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.8476, allocations: 0 / 0.5031 GB, free: 78.68 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.8478, allocations: 3.312 kB / 0.5031 GB, free: 78.68 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.8479, allocations: 27.89 kB / 0.5031 GB, free: 78.67 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008779/0.8568, allocations: 2.953 MB / 0.506 GB, free: 78.23 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.8578, allocations: 434.2 kB / 0.5064 GB, free: 78.22 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.8591, allocations: 0.8248 MB / 0.5072 GB, free: 78.19 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04355/0.9027, allocations: 35.84 MB / 0.5422 GB, free: 51.82 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009245/0.9038, allocations: 492.8 kB / 0.5427 GB, free: 51.77 MB / 392.6 MB Notification: Performance of pre-optimization done (n=96): time 5.168e-06/0.9038, allocations: 0 / 0.5427 GB, free: 51.77 MB / 392.6 MB Notification: Performance of matching and sorting (n=99): time 0.008328/0.9122, allocations: 3.36 MB / 0.546 GB, free: 50.59 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.9124, allocations: 278 kB / 0.5463 GB, free: 50.28 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.9159, allocations: 2.042 MB / 0.5483 GB, free: 50.02 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.9162, allocations: 31.67 kB / 0.5483 GB, free: 49.98 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.9166, allocations: 0.5017 MB / 0.5488 GB, free: 49.82 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.917, allocations: 323.9 kB / 0.5491 GB, free: 49.61 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.9171, allocations: 0 / 0.5491 GB, free: 49.61 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.9173, allocations: 353 kB / 0.5494 GB, free: 49.3 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/0.9181, allocations: 306.3 kB / 0.5497 GB, free: 49.3 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.919, allocations: 0.5229 MB / 0.5502 GB, free: 49.06 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009098/0.92, allocations: 367.9 kB / 0.5506 GB, free: 49.05 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-06/0.9201, allocations: 3.844 kB / 0.5506 GB, free: 49.05 MB / 392.6 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003461/0.9236, allocations: 1.609 MB / 0.5521 GB, free: 48.55 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.9237, allocations: 3.969 kB / 0.5522 GB, free: 48.55 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/0.924, allocations: 122.3 kB / 0.5523 GB, free: 48.55 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000926/0.925, allocations: 251.1 kB / 0.5525 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.9264, allocations: 250.4 kB / 0.5527 GB, free: 48.47 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008891/0.9353, allocations: 12.7 MB / 0.5652 GB, free: 36.52 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/0.9378, allocations: 121.5 kB / 0.5653 GB, free: 36.52 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.9381, allocations: 60.22 kB / 0.5653 GB, free: 36.52 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.9383, allocations: 83.03 kB / 0.5654 GB, free: 36.45 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/0.9389, allocations: 373.1 kB / 0.5658 GB, free: 36.26 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007081/0.946, allocations: 2.141 MB / 0.5679 GB, free: 35.85 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.9461, allocations: 7.938 kB / 0.5679 GB, free: 35.85 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.9462, allocations: 3.906 kB / 0.5679 GB, free: 35.85 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.9462, allocations: 11.69 kB / 0.5679 GB, free: 35.84 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.9489, allocations: 1.448 MB / 0.5693 GB, free: 35.64 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002277/0.9493, allocations: 113.9 kB / 0.5694 GB, free: 35.64 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.9504, allocations: 188.9 kB / 0.5696 GB, free: 35.62 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009417/0.9514, allocations: 250.9 kB / 0.5698 GB, free: 35.54 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.9517, allocations: 35.05 kB / 0.5699 GB, free: 35.54 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008987/0.9608, allocations: 12.69 MB / 0.5822 GB, free: 23.57 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-06/0.9609, allocations: 0 / 0.5822 GB, free: 23.57 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004923/0.9659, allocations: 2.041 MB / 0.5842 GB, free: 22.96 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.9673, allocations: 0.4957 MB / 0.5847 GB, free: 22.68 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006553/0.9681, allocations: 12.17 kB / 0.5847 GB, free: 22.68 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/0.9701, allocations: 122 kB / 0.5848 GB, free: 22.66 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/0.9707, allocations: 115.1 kB / 0.585 GB, free: 22.66 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.9709, allocations: 50.41 kB / 0.585 GB, free: 22.66 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003657/0.9746, allocations: 1.533 MB / 0.5865 GB, free: 22.48 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002773/0.9775, allocations: 0.6698 MB / 0.5872 GB, free: 22.42 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/0.9793, allocations: 0.9454 MB / 0.5881 GB, free: 22.25 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003387/0.9828, allocations: 2.055 MB / 0.5901 GB, free: 21.03 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.844e-06/0.9829, allocations: 4.125 kB / 0.5901 GB, free: 21.03 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002078/0.985, allocations: 1.655 MB / 0.5917 GB, free: 19.5 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.9873, allocations: 445.3 kB / 0.5921 GB, free: 19.25 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007918/0.9953, allocations: 3.511 MB / 0.5956 GB, free: 16.35 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/0.9971, allocations: 1.866 MB / 0.5974 GB, free: 14.86 MB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/0.9972, allocations: 0 / 0.5974 GB, free: 14.86 MB / 392.6 MB Notification: Performance of Templates: time 0.1044/1.102, allocations: 34.51 MB / 0.6311 GB, free: 2.973 MB / 408.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