Notification: Performance of loadModel(Modelica): time 1.635/1.635, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.851e-05/1.858e-05, allocations: 2.312 kB / 247.4 MB, free: 4.668 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.08102, allocations: 44.37 MB / 291.8 MB, free: 9.223 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.3152, allocations: 77.11 MB / 368.9 MB, free: 6.965 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3156, allocations: 74.56 kB / 369 MB, free: 6.961 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1061/0.4217, allocations: 36.8 MB / 405.8 MB, free: 9.523 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.4218, allocations: 12 kB / 405.8 MB, free: 9.512 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.0009549/0.4229, allocations: 1.005 MB / 406.8 MB, free: 8.465 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.423, allocations: 16.03 kB / 406.8 MB, free: 8.449 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.4232, allocations: 86.97 kB / 406.9 MB, free: 8.363 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.4241, allocations: 433.3 kB / 407.3 MB, free: 7.945 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/0.4243, allocations: 19.56 kB / 407.3 MB, free: 7.93 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.359e-05/0.4244, allocations: 20 kB / 407.3 MB, free: 7.91 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006162/0.4251, allocations: 357.8 kB / 407.7 MB, free: 7.66 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.426, allocations: 0.5034 MB / 408.2 MB, free: 7.266 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4261, allocations: 3.938 kB / 408.2 MB, free: 7.262 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-05/0.4262, allocations: 8 kB / 408.2 MB, free: 7.254 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.4263, allocations: 11.98 kB / 408.2 MB, free: 7.242 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.428, allocations: 0.8482 MB / 409.1 MB, free: 6.531 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.4288, allocations: 0.4995 MB / 409.6 MB, free: 6.219 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/0.4297, allocations: 0.4896 MB / 410.1 MB, free: 5.926 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.4297, allocations: 4 kB / 410.1 MB, free: 5.922 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007644/0.4306, allocations: 0.6088 MB / 410.7 MB, free: 5.395 MB / 312.6 MB Notification: Performance of pre-optimization done (n=34): time 5.867e-06/0.4306, allocations: 0 / 410.7 MB, free: 5.395 MB / 312.6 MB Notification: Performance of matching and sorting (n=34): time 0.001417/0.4321, allocations: 0.7771 MB / 411.4 MB, free: 4.781 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.4323, allocations: 284.5 kB / 411.7 MB, free: 4.461 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.4343, allocations: 0.9948 MB / 412.7 MB, free: 3.648 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.4345, allocations: 44.62 kB / 412.8 MB, free: 3.602 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.4346, allocations: 115.5 kB / 412.9 MB, free: 3.492 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4348, allocations: 74.7 kB / 412.9 MB, free: 3.43 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.435, allocations: 13.94 kB / 413 MB, free: 3.418 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.4351, allocations: 351.5 kB / 413.3 MB, free: 3.078 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.4357, allocations: 343.7 kB / 413.6 MB, free: 2.773 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.4363, allocations: 352.5 kB / 414 MB, free: 2.43 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/0.4368, allocations: 249.5 kB / 414.2 MB, free: 2.188 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-06/0.4369, allocations: 0 / 414.2 MB, free: 2.188 MB / 312.6 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001278/0.4382, allocations: 0.7315 MB / 415 MB, free: 1.449 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4383, allocations: 7.938 kB / 415 MB, free: 1.441 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.613e-06/0.4384, allocations: 4 kB / 415 MB, free: 1.438 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4384, allocations: 3.984 kB / 415 MB, free: 1.434 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.164e-05/0.4385, allocations: 0 / 415 MB, free: 1.434 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.08e-06/0.4386, allocations: 4 kB / 415 MB, free: 1.43 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.4391, allocations: 31.89 kB / 415 MB, free: 1.398 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.4394, allocations: 152.1 kB / 415.2 MB, free: 1.25 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.4397, allocations: 331.1 kB / 415.5 MB, free: 0.8828 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.4399, allocations: 90.97 kB / 415.6 MB, free: 0.793 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.4404, allocations: 151.7 kB / 415.7 MB, free: 0.6406 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4405, allocations: 0 / 415.7 MB, free: 0.6406 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.076e-06/0.4406, allocations: 0 / 415.7 MB, free: 0.6406 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.377e-06/0.4406, allocations: 11.91 kB / 415.7 MB, free: 0.6289 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.4433, allocations: 1.485 MB / 417.2 MB, free: 15.1 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.936e-06/0.4434, allocations: 0 / 417.2 MB, free: 15.1 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.4435, allocations: 0 / 417.2 MB, free: 15.1 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.752e-06/0.4436, allocations: 4 kB / 417.2 MB, free: 15.1 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.4437, allocations: 35.97 kB / 417.3 MB, free: 15.06 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.146e-06/0.4438, allocations: 7.938 kB / 417.3 MB, free: 15.05 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4439, allocations: 4 kB / 417.3 MB, free: 15.05 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001454/0.4454, allocations: 0.9392 MB / 418.2 MB, free: 14.1 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.4467, allocations: 0.5814 MB / 418.8 MB, free: 13.5 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.447, allocations: 63.95 kB / 418.9 MB, free: 13.43 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.4476, allocations: 31.98 kB / 418.9 MB, free: 13.4 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006765/0.4483, allocations: 239.8 kB / 419.1 MB, free: 13.17 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/0.4486, allocations: 159.9 kB / 419.3 MB, free: 13.01 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.001404/0.45, allocations: 0.8343 MB / 420.1 MB, free: 12.18 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0006722/0.4508, allocations: 104 kB / 420.2 MB, free: 12.08 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.278e-05/0.4509, allocations: 73.53 kB / 420.3 MB, free: 12 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.4526, allocations: 1.105 MB / 421.4 MB, free: 10.86 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.213e-06/0.4527, allocations: 0 / 421.4 MB, free: 10.86 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0009702/0.4537, allocations: 0.9254 MB / 422.3 MB, free: 9.887 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.4552, allocations: 266.2 kB / 422.6 MB, free: 9.633 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.4587, allocations: 1.722 MB / 424.3 MB, free: 7.879 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009921/0.4598, allocations: 1.061 MB / 425.4 MB, free: 6.789 MB / 328.6 MB Notification: Performance of SimCode: time 2.095e-06/0.4599, allocations: 4 kB / 425.4 MB, free: 6.785 MB / 328.6 MB Notification: Performance of Templates: time 0.07138/0.5313, allocations: 13.12 MB / 438.5 MB, free: 9.457 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.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_DFFREGL -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.DFFREGL.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_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.DFFREGL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_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.DFFREGL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.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_DFFREGL_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.DFFREGL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.c:877: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_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_DFFREGL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_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_DFFREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_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_DFFREGL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DFFREGL_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.DFFREGL.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DFFREGL.o] Error 1