Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.638e-06, allocations: 2.156 kB / 247.3 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0604/0.06048, allocations: 44.35 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/0.2847, allocations: 74.48 MB / 366.2 MB, free: 7.117 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.285, allocations: 69.64 kB / 366.3 MB, free: 7.113 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03936/0.3244, allocations: 10.04 MB / 376.3 MB, free: 4.953 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.143e-05/0.3246, allocations: 11.62 kB / 376.3 MB, free: 4.953 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002949/0.3276, allocations: 1.127 MB / 377.4 MB, free: 4.191 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3278, allocations: 11.62 kB / 377.4 MB, free: 4.191 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.328, allocations: 70.19 kB / 377.5 MB, free: 4.156 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.3288, allocations: 424.7 kB / 377.9 MB, free: 3.855 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.3289, allocations: 23.53 kB / 378 MB, free: 3.855 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3291, allocations: 35.14 kB / 378 MB, free: 3.852 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/0.3305, allocations: 0.554 MB / 378.5 MB, free: 3.832 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.3318, allocations: 0.6542 MB / 379.2 MB, free: 3.547 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.3319, allocations: 3.969 kB / 379.2 MB, free: 3.547 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.3321, allocations: 3 kB / 379.2 MB, free: 3.547 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.3321, allocations: 15.5 kB / 379.2 MB, free: 3.547 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005853/0.338, allocations: 3.115 MB / 382.3 MB, free: 17.68 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008553/0.339, allocations: 424.7 kB / 382.7 MB, free: 17.64 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.3396, allocations: 266.3 kB / 383 MB, free: 17.62 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.336e-05/0.3397, allocations: 12.12 kB / 383 MB, free: 17.62 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.3404, allocations: 299.5 kB / 383.3 MB, free: 17.52 MB / 312.6 MB Notification: Performance of pre-optimization done (n=50): time 6.426e-06/0.3404, allocations: 0 / 383.3 MB, free: 17.52 MB / 312.6 MB Notification: Performance of matching and sorting (n=50): time 0.001176/0.3417, allocations: 488.5 kB / 383.8 MB, free: 17.42 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.3419, allocations: 270.7 kB / 384.1 MB, free: 17.11 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.3427, allocations: 402.5 kB / 384.4 MB, free: 16.96 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-05/0.3428, allocations: 29.58 kB / 384.5 MB, free: 16.93 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.343, allocations: 289.5 kB / 384.8 MB, free: 16.7 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.3432, allocations: 160.4 kB / 384.9 MB, free: 16.58 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.3433, allocations: 3.719 kB / 384.9 MB, free: 16.58 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.3435, allocations: 364.9 kB / 385.3 MB, free: 16.25 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.3441, allocations: 240.6 kB / 385.5 MB, free: 16.25 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.3448, allocations: 483.9 kB / 386 MB, free: 15.93 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.3455, allocations: 270.8 kB / 386.2 MB, free: 15.88 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.775e-06/0.3455, allocations: 3.906 kB / 386.2 MB, free: 15.88 MB / 312.6 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001601/0.3472, allocations: 0.7042 MB / 387 MB, free: 15.73 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3473, allocations: 7.562 kB / 387 MB, free: 15.73 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3473, allocations: 3.906 kB / 387 MB, free: 15.73 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.3474, allocations: 15.59 kB / 387 MB, free: 15.72 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.3491, allocations: 272 kB / 387.2 MB, free: 15.65 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.3491, allocations: 19.56 kB / 387.3 MB, free: 15.64 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.3508, allocations: 221.9 kB / 387.5 MB, free: 15.55 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.813e-05/0.351, allocations: 37.08 kB / 387.5 MB, free: 15.55 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/0.3511, allocations: 75.28 kB / 387.6 MB, free: 15.47 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3513, allocations: 62.28 kB / 387.7 MB, free: 15.44 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.3516, allocations: 61.5 kB / 387.7 MB, free: 15.42 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.499e-06/0.3516, allocations: 7.891 kB / 387.7 MB, free: 15.42 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.032e-06/0.3517, allocations: 0 / 387.7 MB, free: 15.42 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.311e-06/0.3518, allocations: 0 / 387.7 MB, free: 15.42 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007778/0.3526, allocations: 0.6273 MB / 388.3 MB, free: 15.09 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.867e-06/0.3527, allocations: 4 kB / 388.4 MB, free: 15.09 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.354, allocations: 197.1 kB / 388.5 MB, free: 15.04 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.499e-06/0.354, allocations: 7.594 kB / 388.6 MB, free: 15.03 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.3542, allocations: 15.33 kB / 388.6 MB, free: 15.02 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.3542, allocations: 3.906 kB / 388.6 MB, free: 15.02 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.981e-06/0.3543, allocations: 3.906 kB / 388.6 MB, free: 15.02 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001788/0.3561, allocations: 0.795 MB / 389.4 MB, free: 14.88 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3564, allocations: 142.3 kB / 389.5 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.3566, allocations: 7.797 kB / 389.5 MB, free: 14.74 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.3578, allocations: 156.1 kB / 389.7 MB, free: 14.69 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.358, allocations: 49.83 kB / 389.7 MB, free: 14.67 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.3581, allocations: 26.11 kB / 389.7 MB, free: 14.66 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0004256/0.3586, allocations: 294 kB / 390 MB, free: 14.56 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000846/0.3595, allocations: 147.8 kB / 390.2 MB, free: 14.54 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001097/0.3597, allocations: 76.81 kB / 390.2 MB, free: 14.48 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.3612, allocations: 0.6356 MB / 390.9 MB, free: 14.38 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.028e-06/0.3612, allocations: 4.25 kB / 390.9 MB, free: 14.38 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.3619, allocations: 277.3 kB / 391.2 MB, free: 14.36 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.3626, allocations: 53.48 kB / 391.2 MB, free: 14.36 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.3652, allocations: 0.8568 MB / 392.1 MB, free: 13.97 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/0.3662, allocations: 0.9315 MB / 393 MB, free: 13.18 MB / 312.6 MB Notification: Performance of SimCode: time 2.305e-06/0.3663, allocations: 0 / 393 MB, free: 13.18 MB / 312.6 MB Notification: Performance of Templates: time 0.04548/0.4118, allocations: 8.552 MB / 401.6 MB, free: 8.934 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.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_Analog_Examples_NandGate -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.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.Analog.Examples.NandGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.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.Analog.Examples.NandGate.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.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.Analog.Examples.NandGate.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_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.Analog.Examples.NandGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.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.Analog.Examples.NandGate.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.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.Analog.Examples.NandGate.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_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.Analog.Examples.NandGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.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.Analog.Examples.NandGate.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_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.Analog.Examples.NandGate.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c:1300:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_99(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c:1301:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_104(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c:1302:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_105(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c:1303:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_106(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.c:1304:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_NandGate_eqFunction_107(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_-O1_Modelica.Electrical.Analog.Examples.NandGate.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.NandGate.o] Error 1