Notification: Performance of loadModel(Modelica): time 1.501/1.501, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.055e-05, allocations: 1.281 kB / 247.4 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06253/0.06262, allocations: 44.35 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.2933, allocations: 74.48 MB / 366.2 MB, free: 7 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.2936, allocations: 75 kB / 366.3 MB, free: 6.996 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04216/0.3358, allocations: 10.04 MB / 376.3 MB, free: 4.824 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.541e-05/0.336, allocations: 11.75 kB / 376.3 MB, free: 4.824 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.003114/0.3392, allocations: 1.124 MB / 377.4 MB, free: 4.066 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3393, allocations: 7.781 kB / 377.4 MB, free: 4.066 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.3397, allocations: 74 kB / 377.5 MB, free: 4.031 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.3405, allocations: 427.4 kB / 377.9 MB, free: 3.73 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.3406, allocations: 15.53 kB / 377.9 MB, free: 3.73 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.3408, allocations: 43.02 kB / 378 MB, free: 3.723 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001487/0.3423, allocations: 0.5551 MB / 378.5 MB, free: 3.703 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.3438, allocations: 0.6535 MB / 379.2 MB, free: 3.418 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.3439, allocations: 7.625 kB / 379.2 MB, free: 3.414 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-05/0.3441, allocations: 0 / 379.2 MB, free: 3.414 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.3442, allocations: 15.34 kB / 379.2 MB, free: 3.414 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006579/0.3508, allocations: 3.109 MB / 382.3 MB, free: 17.55 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.3518, allocations: 435.6 kB / 382.8 MB, free: 17.5 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.3525, allocations: 254.7 kB / 383 MB, free: 17.49 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.879e-05/0.3526, allocations: 15.83 kB / 383 MB, free: 17.49 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/0.3533, allocations: 299.1 kB / 383.3 MB, free: 17.39 MB / 312.6 MB Notification: Performance of pre-optimization done (n=50): time 4.47e-06/0.3534, allocations: 4 kB / 383.3 MB, free: 17.39 MB / 312.6 MB Notification: Performance of matching and sorting (n=50): time 0.001237/0.3547, allocations: 480 kB / 383.8 MB, free: 17.3 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.3549, allocations: 276.5 kB / 384.1 MB, free: 16.98 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.3555, allocations: 402.7 kB / 384.4 MB, free: 16.83 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/0.3557, allocations: 29.45 kB / 384.5 MB, free: 16.8 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3559, allocations: 291 kB / 384.8 MB, free: 16.57 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.3561, allocations: 157.8 kB / 384.9 MB, free: 16.45 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.3563, allocations: 3.938 kB / 384.9 MB, free: 16.45 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3565, allocations: 366.3 kB / 385.3 MB, free: 16.12 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006043/0.3572, allocations: 238.3 kB / 385.5 MB, free: 16.12 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007079/0.358, allocations: 486.9 kB / 386 MB, free: 15.79 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.3586, allocations: 267.3 kB / 386.2 MB, free: 15.75 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.705e-06/0.3587, allocations: 3.844 kB / 386.2 MB, free: 15.75 MB / 312.6 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001736/0.3605, allocations: 0.7056 MB / 387 MB, free: 15.59 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3606, allocations: 7.531 kB / 387 MB, free: 15.59 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.3606, allocations: 3.906 kB / 387 MB, free: 15.59 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.3607, allocations: 11.62 kB / 387 MB, free: 15.59 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.3624, allocations: 279.7 kB / 387.3 MB, free: 15.51 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/0.3625, allocations: 11.7 kB / 387.3 MB, free: 15.51 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.3644, allocations: 224 kB / 387.5 MB, free: 15.42 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.3646, allocations: 41.38 kB / 387.5 MB, free: 15.41 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.3648, allocations: 75.28 kB / 387.6 MB, free: 15.34 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.365, allocations: 57.81 kB / 387.7 MB, free: 15.3 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.3653, allocations: 61.34 kB / 387.7 MB, free: 15.29 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-06/0.3654, allocations: 7.719 kB / 387.7 MB, free: 15.29 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.3654, allocations: 7.984 kB / 387.7 MB, free: 15.28 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.08e-06/0.3655, allocations: 3.938 kB / 387.7 MB, free: 15.27 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008764/0.3664, allocations: 0.6264 MB / 388.4 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.028e-06/0.3665, allocations: 0 / 388.4 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.3678, allocations: 198 kB / 388.5 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.3679, allocations: 7.875 kB / 388.6 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.004e-05/0.3681, allocations: 7.906 kB / 388.6 MB, free: 14.89 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.3681, allocations: 7.891 kB / 388.6 MB, free: 14.88 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.3682, allocations: 0 / 388.6 MB, free: 14.88 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001886/0.3702, allocations: 0.8013 MB / 389.4 MB, free: 14.74 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.3705, allocations: 142.7 kB / 389.5 MB, free: 14.61 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.3708, allocations: 0 / 389.5 MB, free: 14.61 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.3721, allocations: 164.1 kB / 389.7 MB, free: 14.55 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.3724, allocations: 53.67 kB / 389.7 MB, free: 14.53 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.3725, allocations: 15.36 kB / 389.7 MB, free: 14.52 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0004809/0.3731, allocations: 296.3 kB / 390 MB, free: 14.42 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0009044/0.374, allocations: 149 kB / 390.2 MB, free: 14.41 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/0.3743, allocations: 80.5 kB / 390.3 MB, free: 14.34 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.3762, allocations: 0.6293 MB / 390.9 MB, free: 14.25 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 6.216e-06/0.3763, allocations: 4.062 kB / 390.9 MB, free: 14.24 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.3771, allocations: 279.1 kB / 391.2 MB, free: 14.23 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.3778, allocations: 55.28 kB / 391.2 MB, free: 14.22 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.3806, allocations: 0.8546 MB / 392.1 MB, free: 13.83 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007453/0.3814, allocations: 0.9326 MB / 393 MB, free: 13.04 MB / 312.6 MB Notification: Performance of SimCode: time 2.444e-06/0.3815, allocations: 1.281 kB / 393 MB, free: 13.04 MB / 312.6 MB Notification: Performance of Templates: time 0.0708/0.4523, allocations: 8.554 MB / 401.6 MB, free: 8.781 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