Notification: Performance of loadModel(Modelica): time 1.508/1.508, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.103e-05, allocations: 2 kB / 247.4 MB, free: 4.656 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06272/0.0628, allocations: 44.36 MB / 291.8 MB, free: 9.211 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.2955, allocations: 77.26 MB / 369 MB, free: 6.938 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.2959, allocations: 71.5 kB / 369.1 MB, free: 6.934 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1122/0.4081, allocations: 37.9 MB / 407 MB, free: 8.145 MB / 312.6 MB Notification: Performance of Transformations before backend: time 4.428e-05/0.4083, allocations: 12 kB / 407 MB, free: 8.133 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002049/0.4104, allocations: 1.319 MB / 408.3 MB, free: 6.793 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4105, allocations: 12.03 kB / 408.4 MB, free: 6.781 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.411, allocations: 130.4 kB / 408.5 MB, free: 6.652 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009617/0.412, allocations: 0.5247 MB / 409 MB, free: 6.145 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.4121, allocations: 19.31 kB / 409 MB, free: 6.129 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.4123, allocations: 27.98 kB / 409.1 MB, free: 6.102 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008066/0.4131, allocations: 464.1 kB / 409.5 MB, free: 5.785 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.4143, allocations: 0.6102 MB / 410.1 MB, free: 5.316 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4144, allocations: 0 / 410.1 MB, free: 5.316 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.4145, allocations: 8 kB / 410.1 MB, free: 5.309 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4146, allocations: 4 kB / 410.1 MB, free: 5.305 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.4175, allocations: 1.156 MB / 411.3 MB, free: 4.359 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.4186, allocations: 0.6972 MB / 412 MB, free: 3.957 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000922/0.4196, allocations: 0.6732 MB / 412.7 MB, free: 3.582 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4197, allocations: 4 kB / 412.7 MB, free: 3.578 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.4211, allocations: 0.7078 MB / 413.4 MB, free: 2.98 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 4.19e-06/0.4211, allocations: 0 / 413.4 MB, free: 2.98 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.001788/0.423, allocations: 0.9606 MB / 414.3 MB, free: 2.152 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.4232, allocations: 329 kB / 414.6 MB, free: 1.77 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/0.4268, allocations: 1.574 MB / 416.2 MB, free: 188 kB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.4271, allocations: 41.69 kB / 416.3 MB, free: 140 kB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.4274, allocations: 162.5 kB / 416.4 MB, free: 15.97 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.4276, allocations: 75.14 kB / 416.5 MB, free: 15.9 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.4277, allocations: 8 kB / 416.5 MB, free: 15.89 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.428, allocations: 386.6 kB / 416.9 MB, free: 15.5 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.4289, allocations: 451.8 kB / 417.3 MB, free: 15.06 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.4298, allocations: 455.7 kB / 417.8 MB, free: 14.62 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.4304, allocations: 299.7 kB / 418.1 MB, free: 14.32 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.168e-06/0.4305, allocations: 0 / 418.1 MB, free: 14.32 MB / 328.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001774/0.4323, allocations: 0.9062 MB / 419 MB, free: 13.41 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4324, allocations: 10.81 kB / 419 MB, free: 13.4 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.289e-06/0.4325, allocations: 0 / 419 MB, free: 13.4 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4326, allocations: 0 / 419 MB, free: 13.4 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-05/0.4327, allocations: 3.984 kB / 419 MB, free: 13.4 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.937e-06/0.4327, allocations: 4 kB / 419 MB, free: 13.39 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.4334, allocations: 51.69 kB / 419 MB, free: 13.34 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.4336, allocations: 120.2 kB / 419.2 MB, free: 13.23 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003293/0.434, allocations: 384.8 kB / 419.5 MB, free: 12.8 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.4343, allocations: 138.4 kB / 419.7 MB, free: 12.66 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007514/0.4352, allocations: 247.9 kB / 419.9 MB, free: 12.42 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.4352, allocations: 4 kB / 419.9 MB, free: 12.41 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.426e-06/0.4353, allocations: 0 / 419.9 MB, free: 12.41 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.473e-06/0.4353, allocations: 4 kB / 419.9 MB, free: 12.41 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/0.439, allocations: 1.879 MB / 421.8 MB, free: 10.49 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.587e-06/0.4391, allocations: 4 kB / 421.8 MB, free: 10.48 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.4392, allocations: 0 / 421.8 MB, free: 10.48 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.775e-06/0.4392, allocations: 0 / 421.8 MB, free: 10.48 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.4394, allocations: 35.98 kB / 421.8 MB, free: 10.45 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.077e-06/0.4395, allocations: 3.906 kB / 421.8 MB, free: 10.45 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.4395, allocations: 0 / 421.8 MB, free: 10.45 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001965/0.4415, allocations: 1.136 MB / 423 MB, free: 9.289 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.4433, allocations: 0.6941 MB / 423.7 MB, free: 8.574 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/0.4437, allocations: 59.95 kB / 423.7 MB, free: 8.516 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/0.4444, allocations: 43.81 kB / 423.8 MB, free: 8.473 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009165/0.4453, allocations: 383.6 kB / 424.1 MB, free: 8.098 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.4456, allocations: 135.5 kB / 424.3 MB, free: 7.969 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.002539/0.4482, allocations: 1.287 MB / 425.6 MB, free: 6.68 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0008348/0.4491, allocations: 128 kB / 425.7 MB, free: 6.555 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.738e-05/0.4493, allocations: 69.55 kB / 425.8 MB, free: 6.484 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.4514, allocations: 1.431 MB / 427.2 MB, free: 5.004 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.47e-06/0.4515, allocations: 0 / 427.2 MB, free: 5.004 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.4531, allocations: 1.22 MB / 428.4 MB, free: 3.734 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.4549, allocations: 298.3 kB / 428.7 MB, free: 3.445 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.4603, allocations: 2.513 MB / 431.2 MB, free: 0.8984 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.4618, allocations: 1.242 MB / 432.4 MB, free: 15.63 MB / 344.6 MB Notification: Performance of SimCode: time 2.514e-06/0.4618, allocations: 0 / 432.4 MB, free: 15.63 MB / 344.6 MB Notification: Performance of Templates: time 0.09619/0.5581, allocations: 14.74 MB / 447.2 MB, free: 0.5781 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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_DLATREGSRL -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.DLATREGSRL.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_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.DLATREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_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.DLATREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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_DLATREGSRL_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.DLATREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:979: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_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_DLATREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_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_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_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_DLATREGSRL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRL_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.DLATREGSRL.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRL.o] Error 1