Notification: Performance of loadModel(Modelica): time 1.54/1.54, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.132e-05, allocations: 2.156 kB / 247.4 MB, free: 4.641 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06137/0.06145, allocations: 44.36 MB / 291.8 MB, free: 9.203 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2266/0.2882, allocations: 77.26 MB / 369 MB, free: 7.145 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.2885, allocations: 78.75 kB / 369.1 MB, free: 7.141 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1189/0.4075, allocations: 37.9 MB / 407 MB, free: 8.211 MB / 312.6 MB Notification: Performance of Transformations before backend: time 3.611e-05/0.4076, allocations: 16 kB / 407 MB, free: 8.195 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001362/0.4091, allocations: 1.316 MB / 408.3 MB, free: 6.855 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4092, allocations: 8.031 kB / 408.4 MB, free: 6.848 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.4095, allocations: 134.4 kB / 408.5 MB, free: 6.715 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.4107, allocations: 0.5293 MB / 409 MB, free: 6.207 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.4108, allocations: 19.31 kB / 409 MB, free: 6.191 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.411, allocations: 27.98 kB / 409.1 MB, free: 6.164 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007972/0.4119, allocations: 473.1 kB / 409.5 MB, free: 5.84 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4129, allocations: 0.603 MB / 410.1 MB, free: 5.375 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.413, allocations: 0 / 410.1 MB, free: 5.375 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/0.4132, allocations: 11.62 kB / 410.1 MB, free: 5.367 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.241e-06/0.4132, allocations: 4 kB / 410.1 MB, free: 5.363 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.416, allocations: 1.156 MB / 411.3 MB, free: 4.418 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.417, allocations: 0.6848 MB / 412 MB, free: 4.023 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008873/0.418, allocations: 0.6776 MB / 412.7 MB, free: 3.645 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.4181, allocations: 0 / 412.7 MB, free: 3.645 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.4192, allocations: 0.7228 MB / 413.4 MB, free: 3.035 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 5.238e-06/0.4192, allocations: 0 / 413.4 MB, free: 3.035 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.00187/0.4212, allocations: 0.9518 MB / 414.3 MB, free: 2.148 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.4214, allocations: 329 kB / 414.7 MB, free: 1.766 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.4246, allocations: 1.574 MB / 416.2 MB, free: 184 kB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.4249, allocations: 45.69 kB / 416.3 MB, free: 132 kB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.4251, allocations: 162.3 kB / 416.4 MB, free: 15.96 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.4254, allocations: 67.27 kB / 416.5 MB, free: 15.9 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.4255, allocations: 15.98 kB / 416.5 MB, free: 15.88 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0003797/0.4259, allocations: 386.6 kB / 416.9 MB, free: 15.5 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007424/0.4267, allocations: 447.8 kB / 417.3 MB, free: 15.06 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.4275, allocations: 451.8 kB / 417.8 MB, free: 14.62 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.428, allocations: 303.7 kB / 418.1 MB, free: 14.32 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.261e-06/0.4281, allocations: 0 / 418.1 MB, free: 14.32 MB / 328.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001678/0.4298, allocations: 0.9023 MB / 419 MB, free: 13.41 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4299, allocations: 4 kB / 419 MB, free: 13.41 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.009e-06/0.43, allocations: 3.938 kB / 419 MB, free: 13.4 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.43, allocations: 11.94 kB / 419 MB, free: 13.39 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.954e-05/0.4301, allocations: 0 / 419 MB, free: 13.39 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.098e-06/0.4302, allocations: 0 / 419 MB, free: 13.39 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/0.4308, allocations: 51.75 kB / 419 MB, free: 13.34 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.4311, allocations: 124.2 kB / 419.2 MB, free: 13.22 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003024/0.4314, allocations: 384.2 kB / 419.5 MB, free: 12.8 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.4317, allocations: 138.4 kB / 419.7 MB, free: 12.66 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000737/0.4325, allocations: 251.9 kB / 419.9 MB, free: 12.41 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.518e-06/0.4326, allocations: 4 kB / 419.9 MB, free: 12.41 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-06/0.4326, allocations: 0 / 419.9 MB, free: 12.41 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4327, allocations: 0 / 419.9 MB, free: 12.41 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.4362, allocations: 1.872 MB / 421.8 MB, free: 10.49 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.4363, allocations: 0 / 421.8 MB, free: 10.49 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.4363, allocations: 15.98 kB / 421.8 MB, free: 10.47 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.4364, allocations: 0 / 421.8 MB, free: 10.47 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4366, allocations: 31.98 kB / 421.8 MB, free: 10.44 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.191e-06/0.4366, allocations: 3.906 kB / 421.8 MB, free: 10.44 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.54e-06/0.4367, allocations: 4 kB / 421.9 MB, free: 10.43 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00192/0.4387, allocations: 1.136 MB / 423 MB, free: 9.277 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/0.4404, allocations: 0.6863 MB / 423.7 MB, free: 8.57 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.4408, allocations: 63.97 kB / 423.7 MB, free: 8.508 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.4415, allocations: 39.88 kB / 423.8 MB, free: 8.469 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007208/0.4422, allocations: 387.6 kB / 424.2 MB, free: 8.09 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/0.4425, allocations: 135.9 kB / 424.3 MB, free: 7.957 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.002521/0.4451, allocations: 1.275 MB / 425.6 MB, free: 6.68 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0008052/0.446, allocations: 136 kB / 425.7 MB, free: 6.547 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.997e-05/0.4461, allocations: 73.55 kB / 425.8 MB, free: 6.473 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.4483, allocations: 1.438 MB / 427.2 MB, free: 4.988 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.028e-06/0.4484, allocations: 0 / 427.2 MB, free: 4.988 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.4498, allocations: 1.216 MB / 428.4 MB, free: 3.723 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.4517, allocations: 294.4 kB / 428.7 MB, free: 3.438 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.4568, allocations: 2.517 MB / 431.2 MB, free: 0.8867 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.4584, allocations: 1.238 MB / 432.5 MB, free: 15.62 MB / 344.6 MB Notification: Performance of SimCode: time 2.584e-06/0.4585, allocations: 0 / 432.5 MB, free: 15.62 MB / 344.6 MB Notification: Performance of Templates: time 0.06905/0.5276, allocations: 14.75 MB / 447.2 MB, free: 0.5625 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.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_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.c:979: ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRL_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRL.o] Error 1