Notification: Performance of loadModel(Modelica): time 1.518/1.518, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.013e-05, allocations: 2.219 kB / 247.4 MB, free: 4.68 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06143/0.06151, allocations: 44.36 MB / 291.7 MB, free: 9.25 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.2899, allocations: 77.47 MB / 369.2 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.2902, allocations: 72.67 kB / 369.3 MB, free: 7.004 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1236/0.4139, allocations: 41.89 MB / 411.2 MB, free: 6.203 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.414, allocations: 4 kB / 411.2 MB, free: 6.199 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001128/0.4152, allocations: 0.6856 MB / 411.9 MB, free: 5.449 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4153, allocations: 12.03 kB / 411.9 MB, free: 5.438 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.4155, allocations: 47.44 kB / 411.9 MB, free: 5.391 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.4161, allocations: 350.4 kB / 412.3 MB, free: 5.008 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.4162, allocations: 15.98 kB / 412.3 MB, free: 4.992 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.4164, allocations: 24 kB / 412.3 MB, free: 4.969 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007523/0.4172, allocations: 345.1 kB / 412.6 MB, free: 4.633 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008403/0.4181, allocations: 428.5 kB / 413.1 MB, free: 4.207 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4182, allocations: 0 / 413.1 MB, free: 4.207 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.4183, allocations: 7.938 kB / 413.1 MB, free: 4.199 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4184, allocations: 11.91 kB / 413.1 MB, free: 4.188 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.4208, allocations: 0.993 MB / 414.1 MB, free: 3.172 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.4219, allocations: 401 kB / 414.5 MB, free: 2.773 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.4222, allocations: 152.8 kB / 414.6 MB, free: 2.621 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.921e-05/0.4224, allocations: 0 / 414.6 MB, free: 2.621 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000494/0.4229, allocations: 305 kB / 414.9 MB, free: 2.309 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 3.771e-06/0.423, allocations: 0 / 414.9 MB, free: 2.309 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.0009734/0.424, allocations: 435 kB / 415.3 MB, free: 1.879 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.4241, allocations: 110.8 kB / 415.4 MB, free: 1.746 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.4245, allocations: 260.9 kB / 415.7 MB, free: 1.488 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.4247, allocations: 37.7 kB / 415.7 MB, free: 1.445 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.4248, allocations: 144.7 kB / 415.9 MB, free: 1.301 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.425, allocations: 75.09 kB / 415.9 MB, free: 1.227 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.4251, allocations: 4 kB / 415.9 MB, free: 1.223 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.4252, allocations: 342.7 kB / 416.3 MB, free: 0.8789 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.4256, allocations: 156.7 kB / 416.4 MB, free: 0.7227 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.426, allocations: 201.1 kB / 416.6 MB, free: 0.5117 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.4265, allocations: 159.9 kB / 416.8 MB, free: 364 kB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.076e-06/0.4265, allocations: 7.984 kB / 416.8 MB, free: 356 kB / 312.6 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001078/0.4277, allocations: 493.8 kB / 417.3 MB, free: 15.86 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4277, allocations: 7.984 kB / 417.3 MB, free: 15.86 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4278, allocations: 4 kB / 417.3 MB, free: 15.85 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4279, allocations: 4 kB / 417.3 MB, free: 15.85 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.4281, allocations: 59.94 kB / 417.4 MB, free: 15.79 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.4282, allocations: 3.906 kB / 417.4 MB, free: 15.79 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.4288, allocations: 43.81 kB / 417.4 MB, free: 15.74 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/0.4292, allocations: 287.7 kB / 417.7 MB, free: 15.46 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.4294, allocations: 130.7 kB / 417.8 MB, free: 15.32 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.4296, allocations: 31.62 kB / 417.8 MB, free: 15.29 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.4298, allocations: 34.95 kB / 417.9 MB, free: 15.25 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.939e-06/0.4298, allocations: 4 kB / 417.9 MB, free: 15.25 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4299, allocations: 0 / 417.9 MB, free: 15.25 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4299, allocations: 7.984 kB / 417.9 MB, free: 15.24 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.4308, allocations: 397.2 kB / 418.3 MB, free: 14.82 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.028e-06/0.4309, allocations: 7.984 kB / 418.3 MB, free: 14.82 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.431, allocations: 47.91 kB / 418.3 MB, free: 14.77 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.613e-06/0.4311, allocations: 4 kB / 418.3 MB, free: 14.77 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.631e-05/0.4313, allocations: 39.98 kB / 418.4 MB, free: 14.73 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.981e-06/0.4313, allocations: 4 kB / 418.4 MB, free: 14.72 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4314, allocations: 3.984 kB / 418.4 MB, free: 14.72 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009144/0.4323, allocations: 468.4 kB / 418.8 MB, free: 14.24 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.4327, allocations: 188.7 kB / 419 MB, free: 14.04 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.433, allocations: 12 kB / 419 MB, free: 14.03 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.4334, allocations: 39.81 kB / 419.1 MB, free: 13.99 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.4337, allocations: 83.91 kB / 419.2 MB, free: 13.91 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/0.4341, allocations: 275.7 kB / 419.4 MB, free: 13.64 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0002292/0.4344, allocations: 197.2 kB / 419.6 MB, free: 13.45 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0005862/0.435, allocations: 72 kB / 419.7 MB, free: 13.38 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.192e-05/0.4351, allocations: 69.55 kB / 419.8 MB, free: 13.3 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.4362, allocations: 450.9 kB / 420.2 MB, free: 12.86 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.4363, allocations: 4.062 kB / 420.2 MB, free: 12.85 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.4368, allocations: 275.2 kB / 420.5 MB, free: 12.57 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.4384, allocations: 267.3 kB / 420.7 MB, free: 12.32 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.44, allocations: 0.5182 MB / 421.2 MB, free: 11.78 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/0.4424, allocations: 1.473 MB / 422.7 MB, free: 10.27 MB / 328.6 MB Notification: Performance of SimCode: time 2.584e-06/0.4425, allocations: 0 / 422.7 MB, free: 10.27 MB / 328.6 MB Notification: Performance of Templates: time 0.07226/0.5149, allocations: 13.62 MB / 436.3 MB, free: 12.25 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.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_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.c:679: ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_FlipFlop_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.FlipFlop.o] Error 1