Notification: Performance of loadModel(Modelica): time 1.542/1.542, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.013e-05, allocations: 1 kB / 247.4 MB, free: 4.617 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06291/0.06299, allocations: 44.36 MB / 291.8 MB, free: 9.191 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2266/0.2897, allocations: 77.37 MB / 369.2 MB, free: 6.988 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.29, allocations: 78.17 kB / 369.2 MB, free: 6.984 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08967/0.3798, allocations: 31.99 MB / 401.2 MB, free: 12.22 MB / 312.6 MB Notification: Performance of Transformations before backend: time 4.987e-05/0.3799, allocations: 13.72 kB / 401.3 MB, free: 12.22 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002047/0.382, allocations: 1.299 MB / 402.6 MB, free: 11.15 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3822, allocations: 8 kB / 402.6 MB, free: 11.15 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/0.3826, allocations: 139.6 kB / 402.7 MB, free: 11.07 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009725/0.3836, allocations: 0.5175 MB / 403.2 MB, free: 10.57 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.3838, allocations: 20 kB / 403.2 MB, free: 10.55 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.3839, allocations: 35.66 kB / 403.3 MB, free: 10.52 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007878/0.3848, allocations: 460.1 kB / 403.7 MB, free: 10.2 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3859, allocations: 0.6073 MB / 404.3 MB, free: 9.73 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.386, allocations: 0 / 404.3 MB, free: 9.73 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/0.3861, allocations: 18.95 kB / 404.3 MB, free: 9.715 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.822e-06/0.3862, allocations: 0 / 404.3 MB, free: 9.715 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.3887, allocations: 1.064 MB / 405.4 MB, free: 8.832 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/0.3898, allocations: 0.6895 MB / 406.1 MB, free: 8.43 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008726/0.3907, allocations: 0.6797 MB / 406.8 MB, free: 8.043 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.3909, allocations: 4 kB / 406.8 MB, free: 8.039 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.3921, allocations: 0.7318 MB / 407.5 MB, free: 7.426 MB / 312.6 MB Notification: Performance of pre-optimization done (n=36): time 5.308e-06/0.3921, allocations: 0 / 407.5 MB, free: 7.426 MB / 312.6 MB Notification: Performance of matching and sorting (n=36): time 0.001704/0.3939, allocations: 0.9532 MB / 408.5 MB, free: 6.676 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.3941, allocations: 329.5 kB / 408.8 MB, free: 6.312 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/0.3974, allocations: 1.554 MB / 410.3 MB, free: 5.02 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.3977, allocations: 44.64 kB / 410.4 MB, free: 4.977 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3979, allocations: 159.4 kB / 410.5 MB, free: 4.832 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.3981, allocations: 80.33 kB / 410.6 MB, free: 4.766 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.3983, allocations: 8 kB / 410.6 MB, free: 4.758 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3985, allocations: 386 kB / 411 MB, free: 4.395 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/0.3993, allocations: 443.8 kB / 411.4 MB, free: 4.094 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.4001, allocations: 454.8 kB / 411.9 MB, free: 3.789 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.4006, allocations: 297.2 kB / 412.2 MB, free: 3.586 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4007, allocations: 0 / 412.2 MB, free: 3.586 MB / 312.6 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001729/0.4025, allocations: 0.9203 MB / 413.1 MB, free: 2.883 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4025, allocations: 8 kB / 413.1 MB, free: 2.875 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.939e-06/0.4026, allocations: 0 / 413.1 MB, free: 2.875 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.4027, allocations: 0 / 413.1 MB, free: 2.875 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.967e-05/0.4028, allocations: 8.547 kB / 413.1 MB, free: 2.867 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.867e-06/0.4028, allocations: 0 / 413.1 MB, free: 2.867 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.4035, allocations: 41.72 kB / 413.1 MB, free: 2.828 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.4038, allocations: 155.3 kB / 413.3 MB, free: 2.68 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003385/0.4042, allocations: 388.1 kB / 413.7 MB, free: 2.273 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.4045, allocations: 127 kB / 413.8 MB, free: 2.148 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007466/0.4053, allocations: 249.6 kB / 414 MB, free: 1.926 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.4053, allocations: 4 kB / 414.1 MB, free: 1.922 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-06/0.4054, allocations: 0 / 414.1 MB, free: 1.922 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4055, allocations: 0 / 414.1 MB, free: 1.922 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.4092, allocations: 1.873 MB / 415.9 MB, free: 180 kB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.355e-06/0.4093, allocations: 0 / 415.9 MB, free: 180 kB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.4094, allocations: 3.906 kB / 415.9 MB, free: 176 kB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.4095, allocations: 3.984 kB / 415.9 MB, free: 172 kB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.4096, allocations: 39.92 kB / 416 MB, free: 132 kB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.191e-06/0.4097, allocations: 4 kB / 416 MB, free: 128 kB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.19e-06/0.4098, allocations: 0 / 416 MB, free: 128 kB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002137/0.412, allocations: 1.14 MB / 417.1 MB, free: 14.96 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/0.414, allocations: 0.6903 MB / 417.8 MB, free: 14.25 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003321/0.4144, allocations: 67.95 kB / 417.9 MB, free: 14.19 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.4151, allocations: 39.81 kB / 417.9 MB, free: 14.15 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006996/0.4159, allocations: 363.7 kB / 418.3 MB, free: 13.79 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/0.4161, allocations: 167.1 kB / 418.4 MB, free: 13.63 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.002556/0.4188, allocations: 1.274 MB / 419.7 MB, free: 12.36 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0008742/0.4197, allocations: 136 kB / 419.8 MB, free: 12.22 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.381e-05/0.4199, allocations: 65.55 kB / 419.9 MB, free: 12.15 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.4219, allocations: 1.447 MB / 421.3 MB, free: 10.66 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.517e-06/0.422, allocations: 0 / 421.3 MB, free: 10.66 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.4237, allocations: 1.181 MB / 422.5 MB, free: 9.426 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.4254, allocations: 291.1 kB / 422.8 MB, free: 9.148 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.4308, allocations: 2.488 MB / 425.3 MB, free: 6.621 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/0.4323, allocations: 1.251 MB / 426.5 MB, free: 5.344 MB / 328.6 MB Notification: Performance of SimCode: time 2.584e-06/0.4324, allocations: 0 / 426.5 MB, free: 5.344 MB / 328.6 MB Notification: Performance of Templates: time 0.06374/0.4962, allocations: 15.7 MB / 442.2 MB, free: 5.301 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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_Digital_Examples_DFFREGSRL -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_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.Digital.Examples.DFFREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.Digital.Examples.DFFREGSRL.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.Digital.Examples.DFFREGSRL.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_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.Digital.Examples.DFFREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.Digital.Examples.DFFREGSRL.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.Digital.Examples.DFFREGSRL.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_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.Digital.Examples.DFFREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.Digital.Examples.DFFREGSRL.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_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.Digital.Examples.DFFREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:1013: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_C 1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 11 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DFFREGSRL.o] Error 1