Notification: Performance of loadModel(Modelica): time 1.49/1.49, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.124e-05/1.131e-05, allocations: 1.281 kB / 247.4 MB, free: 4.684 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0632/0.06329, allocations: 44.37 MB / 291.7 MB, free: 9.227 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2293/0.2927, allocations: 77.46 MB / 369.2 MB, free: 7.148 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.293, allocations: 76.86 kB / 369.3 MB, free: 7.145 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1308/0.4239, allocations: 41.88 MB / 411.2 MB, free: 6.199 MB / 312.6 MB Notification: Performance of Transformations before backend: time 4.065e-05/0.4241, allocations: 15.94 kB / 411.2 MB, free: 6.184 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001539/0.4257, allocations: 0.6818 MB / 411.9 MB, free: 5.438 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.4259, allocations: 12.03 kB / 411.9 MB, free: 5.426 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.4262, allocations: 47.44 kB / 411.9 MB, free: 5.379 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/0.4272, allocations: 354 kB / 412.3 MB, free: 4.992 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.4274, allocations: 12 kB / 412.3 MB, free: 4.98 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.4276, allocations: 20 kB / 412.3 MB, free: 4.961 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001118/0.4288, allocations: 337.2 kB / 412.6 MB, free: 4.633 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.4298, allocations: 432.5 kB / 413 MB, free: 4.203 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4299, allocations: 3.984 kB / 413 MB, free: 4.199 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.43, allocations: 8 kB / 413.1 MB, free: 4.191 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.4301, allocations: 11.91 kB / 413.1 MB, free: 4.18 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.4323, allocations: 0.9954 MB / 414.1 MB, free: 3.16 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.4334, allocations: 393 kB / 414.4 MB, free: 2.77 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.4339, allocations: 148.8 kB / 414.6 MB, free: 2.621 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-05/0.4341, allocations: 3.984 kB / 414.6 MB, free: 2.617 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.4346, allocations: 309 kB / 414.9 MB, free: 2.301 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 6.635e-06/0.4347, allocations: 0 / 414.9 MB, free: 2.301 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.0009847/0.4357, allocations: 435 kB / 415.3 MB, free: 1.871 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.4359, allocations: 110.8 kB / 415.4 MB, free: 1.738 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.4363, allocations: 264.8 kB / 415.7 MB, free: 1.477 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.4364, allocations: 37.7 kB / 415.7 MB, free: 1.434 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.4366, allocations: 144.7 kB / 415.9 MB, free: 1.289 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.4367, allocations: 78.38 kB / 415.9 MB, free: 1.215 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.4369, allocations: 4 kB / 415.9 MB, free: 1.211 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.437, allocations: 346.7 kB / 416.3 MB, free: 0.8633 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.4374, allocations: 156.7 kB / 416.4 MB, free: 0.707 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.4379, allocations: 197.1 kB / 416.6 MB, free: 0.5 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.4383, allocations: 159.9 kB / 416.8 MB, free: 352 kB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.4384, allocations: 0 / 416.8 MB, free: 352 kB / 312.6 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001341/0.4398, allocations: 0.4897 MB / 417.3 MB, free: 15.85 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.4399, allocations: 4 kB / 417.3 MB, free: 15.84 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.44, allocations: 12.02 kB / 417.3 MB, free: 15.83 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4401, allocations: 4 kB / 417.3 MB, free: 15.83 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.4403, allocations: 51.91 kB / 417.3 MB, free: 15.78 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.381e-06/0.4404, allocations: 3.906 kB / 417.3 MB, free: 15.77 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.4409, allocations: 43.81 kB / 417.4 MB, free: 15.73 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.4413, allocations: 287.7 kB / 417.7 MB, free: 15.45 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.4415, allocations: 138.7 kB / 417.8 MB, free: 15.3 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4417, allocations: 35.56 kB / 417.8 MB, free: 15.26 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.4418, allocations: 30.95 kB / 417.9 MB, free: 15.23 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.473e-06/0.4419, allocations: 4 kB / 417.9 MB, free: 15.23 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.985e-06/0.4419, allocations: 0 / 417.9 MB, free: 15.23 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.45e-06/0.442, allocations: 7.984 kB / 417.9 MB, free: 15.22 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.4427, allocations: 396.8 kB / 418.3 MB, free: 14.8 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-06/0.4428, allocations: 4 kB / 418.3 MB, free: 14.8 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.4429, allocations: 43.91 kB / 418.3 MB, free: 14.75 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-06/0.443, allocations: 8 kB / 418.3 MB, free: 14.75 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.736e-05/0.4432, allocations: 43.98 kB / 418.4 MB, free: 14.7 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.981e-06/0.4432, allocations: 0 / 418.4 MB, free: 14.7 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.4433, allocations: 0 / 418.4 MB, free: 14.7 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009651/0.4443, allocations: 472.4 kB / 418.8 MB, free: 14.22 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.4447, allocations: 188.7 kB / 419 MB, free: 14.02 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.4449, allocations: 12 kB / 419 MB, free: 14.01 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.4454, allocations: 39.81 kB / 419.1 MB, free: 13.97 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004284/0.4459, allocations: 79.91 kB / 419.1 MB, free: 13.89 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/0.4462, allocations: 279.7 kB / 419.4 MB, free: 13.62 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0002224/0.4465, allocations: 193.2 kB / 419.6 MB, free: 13.43 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0006263/0.4472, allocations: 72 kB / 419.7 MB, free: 13.36 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.171e-05/0.4473, allocations: 69.55 kB / 419.7 MB, free: 13.29 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.000887/0.4483, allocations: 447.2 kB / 420.2 MB, free: 12.84 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.562e-06/0.4484, allocations: 0 / 420.2 MB, free: 12.84 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.449, allocations: 275 kB / 420.4 MB, free: 12.56 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.4506, allocations: 275.3 kB / 420.7 MB, free: 12.3 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.4526, allocations: 0.5104 MB / 421.2 MB, free: 11.77 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/0.455, allocations: 1.483 MB / 422.7 MB, free: 10.25 MB / 328.6 MB Notification: Performance of SimCode: time 2.305e-06/0.4551, allocations: 0 / 422.7 MB, free: 10.25 MB / 328.6 MB Notification: Performance of Templates: time 0.0748/0.53, allocations: 13.62 MB / 436.3 MB, free: 12.23 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.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_FlipFlop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=2 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.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.FlipFlop.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.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.FlipFlop.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.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.FlipFlop.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_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.FlipFlop.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.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.FlipFlop.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.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.FlipFlop.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_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.FlipFlop.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.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.FlipFlop.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.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_FlipFlop_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.FlipFlop.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.c:679: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_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_FlipFlop_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_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_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_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_FlipFlop_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_FlipFlop_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.FlipFlop.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.FlipFlop.o] Error 1