Notification: Performance of loadModel(Modelica): time 1.504/1.504, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.73e-06/8.87e-06, allocations: 1.031 kB / 247.4 MB, free: 4.656 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05915/0.05922, allocations: 44.36 MB / 291.8 MB, free: 9.203 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.3157, allocations: 77.37 MB / 369.2 MB, free: 7 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.316, allocations: 75.36 kB / 369.2 MB, free: 6.996 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08988/0.4059, allocations: 32.01 MB / 401.3 MB, free: 12.29 MB / 312.6 MB Notification: Performance of Transformations before backend: time 4.072e-05/0.4061, allocations: 14.66 kB / 401.3 MB, free: 12.29 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001744/0.4079, allocations: 1.301 MB / 402.6 MB, free: 11.21 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.408, allocations: 8.906 kB / 402.6 MB, free: 11.21 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.4084, allocations: 137.2 kB / 402.7 MB, free: 11.12 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.4095, allocations: 0.521 MB / 403.2 MB, free: 10.62 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.4097, allocations: 19.06 kB / 403.2 MB, free: 10.61 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4098, allocations: 27.91 kB / 403.3 MB, free: 10.58 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007773/0.4107, allocations: 459.4 kB / 403.7 MB, free: 10.26 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.4117, allocations: 0.6037 MB / 404.3 MB, free: 9.793 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4118, allocations: 0 / 404.3 MB, free: 9.793 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/0.412, allocations: 22.92 kB / 404.4 MB, free: 9.773 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.8e-06/0.412, allocations: 4 kB / 404.4 MB, free: 9.77 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.4146, allocations: 1.062 MB / 405.4 MB, free: 8.891 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.4156, allocations: 0.6863 MB / 406.1 MB, free: 8.492 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/0.4166, allocations: 0.6809 MB / 406.8 MB, free: 8.105 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4167, allocations: 0 / 406.8 MB, free: 8.105 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009585/0.4177, allocations: 0.7316 MB / 407.5 MB, free: 7.488 MB / 312.6 MB Notification: Performance of pre-optimization done (n=36): time 4.121e-06/0.4177, allocations: 0 / 407.5 MB, free: 7.488 MB / 312.6 MB Notification: Performance of matching and sorting (n=36): time 0.001886/0.4197, allocations: 0.9596 MB / 408.5 MB, free: 6.734 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.4199, allocations: 329 kB / 408.8 MB, free: 6.371 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.4229, allocations: 1.552 MB / 410.3 MB, free: 5.082 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003662/0.4234, allocations: 41.02 kB / 410.4 MB, free: 5.039 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4236, allocations: 163.7 kB / 410.5 MB, free: 4.891 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.4238, allocations: 77.2 kB / 410.6 MB, free: 4.828 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.424, allocations: 11.38 kB / 410.6 MB, free: 4.82 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4242, allocations: 382.3 kB / 411 MB, free: 4.457 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007268/0.425, allocations: 451.4 kB / 411.4 MB, free: 4.152 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/0.4257, allocations: 450.5 kB / 411.9 MB, free: 3.848 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.4262, allocations: 295.6 kB / 412.2 MB, free: 3.648 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-06/0.4263, allocations: 0 / 412.2 MB, free: 3.648 MB / 312.6 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001819/0.4282, allocations: 0.9132 MB / 413.1 MB, free: 2.949 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4283, allocations: 8 kB / 413.1 MB, free: 2.941 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.01e-06/0.4283, allocations: 0 / 413.1 MB, free: 2.941 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4284, allocations: 4 kB / 413.1 MB, free: 2.938 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.778e-05/0.4285, allocations: 7.922 kB / 413.1 MB, free: 2.93 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.496e-06/0.4286, allocations: 4 kB / 413.1 MB, free: 2.926 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/0.4292, allocations: 37.59 kB / 413.2 MB, free: 2.891 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.4295, allocations: 151 kB / 413.3 MB, free: 2.746 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003258/0.4299, allocations: 391.6 kB / 413.7 MB, free: 2.34 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.4302, allocations: 131.2 kB / 413.8 MB, free: 2.211 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007759/0.431, allocations: 249.3 kB / 414.1 MB, free: 1.988 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-06/0.4311, allocations: 0 / 414.1 MB, free: 1.988 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.635e-06/0.4311, allocations: 0 / 414.1 MB, free: 1.988 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-06/0.4312, allocations: 4 kB / 414.1 MB, free: 1.984 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.4347, allocations: 1.867 MB / 415.9 MB, free: 220 kB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.312e-06/0.4348, allocations: 4 kB / 415.9 MB, free: 216 kB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.4348, allocations: 11.89 kB / 415.9 MB, free: 204 kB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.4349, allocations: 0 / 415.9 MB, free: 204 kB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.4351, allocations: 43.92 kB / 416 MB, free: 160 kB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.911e-06/0.4351, allocations: 0 / 416 MB, free: 160 kB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4352, allocations: 0 / 416 MB, free: 160 kB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002122/0.4374, allocations: 1.14 MB / 417.1 MB, free: 15 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/0.4392, allocations: 0.698 MB / 417.8 MB, free: 14.28 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.4396, allocations: 63.95 kB / 417.9 MB, free: 14.21 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.4403, allocations: 43.88 kB / 417.9 MB, free: 14.17 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008624/0.4412, allocations: 359.7 kB / 418.3 MB, free: 13.82 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/0.4415, allocations: 159.9 kB / 418.4 MB, free: 13.66 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.002389/0.4439, allocations: 1.27 MB / 419.7 MB, free: 12.39 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0007988/0.4448, allocations: 136 kB / 419.8 MB, free: 12.26 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.438e-05/0.4449, allocations: 69.55 kB / 419.9 MB, free: 12.18 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.447, allocations: 1.45 MB / 421.4 MB, free: 10.69 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/0.4471, allocations: 0 / 421.4 MB, free: 10.69 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.4486, allocations: 1.185 MB / 422.5 MB, free: 9.449 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.4503, allocations: 297.7 kB / 422.8 MB, free: 9.168 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.4554, allocations: 2.484 MB / 425.3 MB, free: 6.645 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/0.457, allocations: 1.247 MB / 426.6 MB, free: 5.371 MB / 328.6 MB Notification: Performance of SimCode: time 2.445e-06/0.457, allocations: 0 / 426.6 MB, free: 5.371 MB / 328.6 MB Notification: Performance of Templates: time 0.06852/0.5256, allocations: 15.68 MB / 442.2 MB, free: 5.352 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.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_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.c:1013: ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGSRL_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGSRL.o] Error 1