Notification: Performance of loadModel(Modelica): time 1.628/1.628, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.432e-05, allocations: 1.844 kB / 247.4 MB, free: 4.652 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08534/0.08548, allocations: 44.35 MB / 291.8 MB, free: 9.203 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2368/0.3224, allocations: 77.26 MB / 369 MB, free: 6.98 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.3227, allocations: 75.69 kB / 369.1 MB, free: 6.977 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1228/0.4455, allocations: 37.89 MB / 407 MB, free: 8.137 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.518e-05/0.4457, allocations: 12 kB / 407 MB, free: 8.125 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002693/0.4485, allocations: 1.321 MB / 408.3 MB, free: 6.785 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.4487, allocations: 12.03 kB / 408.4 MB, free: 6.773 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.4493, allocations: 130.4 kB / 408.5 MB, free: 6.645 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.4509, allocations: 0.5246 MB / 409 MB, free: 6.137 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/0.4511, allocations: 27.61 kB / 409 MB, free: 6.113 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.4513, allocations: 24 kB / 409.1 MB, free: 6.09 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/0.4527, allocations: 466.1 kB / 409.5 MB, free: 5.773 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.4549, allocations: 0.6022 MB / 410.1 MB, free: 5.309 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.455, allocations: 0 / 410.1 MB, free: 5.309 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.4553, allocations: 23.28 kB / 410.1 MB, free: 5.289 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4554, allocations: 0 / 410.1 MB, free: 5.289 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.4595, allocations: 1.157 MB / 411.3 MB, free: 4.344 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.4614, allocations: 0.6855 MB / 412 MB, free: 3.949 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.4631, allocations: 0.6732 MB / 412.7 MB, free: 3.574 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.4632, allocations: 8 kB / 412.7 MB, free: 3.566 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/0.4653, allocations: 0.7167 MB / 413.4 MB, free: 2.965 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 6.914e-06/0.4654, allocations: 0 / 413.4 MB, free: 2.965 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.003066/0.4686, allocations: 0.9478 MB / 414.3 MB, free: 2.145 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002723/0.469, allocations: 333 kB / 414.6 MB, free: 1.758 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/0.475, allocations: 1.57 MB / 416.2 MB, free: 180 kB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.4755, allocations: 45.69 kB / 416.3 MB, free: 128 kB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.4759, allocations: 166.8 kB / 416.4 MB, free: 15.95 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.4763, allocations: 67.27 kB / 416.5 MB, free: 15.89 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.4765, allocations: 12 kB / 416.5 MB, free: 15.88 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0003746/0.477, allocations: 382.6 kB / 416.9 MB, free: 15.49 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4785, allocations: 459.7 kB / 417.3 MB, free: 15.04 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.4803, allocations: 451.8 kB / 417.8 MB, free: 14.6 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.4813, allocations: 299.7 kB / 418.1 MB, free: 14.31 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.565e-06/0.4814, allocations: 4 kB / 418.1 MB, free: 14.3 MB / 328.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002905/0.4844, allocations: 0.9023 MB / 419 MB, free: 13.39 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4846, allocations: 8 kB / 419 MB, free: 13.39 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4847, allocations: 0 / 419 MB, free: 13.39 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4848, allocations: 0 / 419 MB, free: 13.39 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.4849, allocations: 4 kB / 419 MB, free: 13.38 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.485, allocations: 0 / 419 MB, free: 13.38 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.4861, allocations: 51.69 kB / 419 MB, free: 13.33 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/0.4865, allocations: 132.2 kB / 419.2 MB, free: 13.2 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005128/0.4872, allocations: 384 kB / 419.5 MB, free: 12.78 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.4878, allocations: 134.4 kB / 419.7 MB, free: 12.65 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.4891, allocations: 247.9 kB / 419.9 MB, free: 12.4 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.8e-06/0.4892, allocations: 0 / 419.9 MB, free: 12.4 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.4893, allocations: 7.984 kB / 419.9 MB, free: 12.39 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.752e-06/0.4894, allocations: 0 / 419.9 MB, free: 12.39 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005929/0.4954, allocations: 1.876 MB / 421.8 MB, free: 10.47 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4956, allocations: 0 / 421.8 MB, free: 10.47 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.4957, allocations: 3.938 kB / 421.8 MB, free: 10.47 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.4958, allocations: 0 / 421.8 MB, free: 10.47 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/0.4961, allocations: 35.98 kB / 421.8 MB, free: 10.43 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.4962, allocations: 3.906 kB / 421.8 MB, free: 10.43 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.426e-06/0.4963, allocations: 0 / 421.8 MB, free: 10.43 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003295/0.4997, allocations: 1.14 MB / 423 MB, free: 9.27 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003104/0.5029, allocations: 0.6864 MB / 423.7 MB, free: 8.562 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005378/0.5036, allocations: 63.89 kB / 423.7 MB, free: 8.5 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5048, allocations: 43.88 kB / 423.8 MB, free: 8.457 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001285/0.5062, allocations: 386.8 kB / 424.1 MB, free: 8.082 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003137/0.5066, allocations: 131.9 kB / 424.3 MB, free: 7.953 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.004617/0.5113, allocations: 1.29 MB / 425.6 MB, free: 6.66 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.00143/0.5129, allocations: 132 kB / 425.7 MB, free: 6.531 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.535e-05/0.5131, allocations: 69.55 kB / 425.8 MB, free: 6.461 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.003531/0.5168, allocations: 1.423 MB / 427.2 MB, free: 4.988 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.308e-06/0.5169, allocations: 0 / 427.2 MB, free: 4.988 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00269/0.5197, allocations: 1.228 MB / 428.4 MB, free: 3.711 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.5228, allocations: 291 kB / 428.7 MB, free: 3.434 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.5303, allocations: 2.515 MB / 431.2 MB, free: 0.8867 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/0.5321, allocations: 1.246 MB / 432.5 MB, free: 15.61 MB / 344.6 MB Notification: Performance of SimCode: time 2.514e-06/0.5322, allocations: 0 / 432.5 MB, free: 15.61 MB / 344.6 MB Notification: Performance of Templates: time 0.05855/0.5909, allocations: 14.73 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