Notification: Performance of loadModel(Modelica): time 1.565/1.565, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.987e-06, allocations: 1.156 kB / 247.4 MB, free: 4.656 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.063/0.06308, allocations: 44.36 MB / 291.8 MB, free: 9.219 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.2976, allocations: 77.22 MB / 369 MB, free: 7.039 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.2979, allocations: 75.08 kB / 369.1 MB, free: 7.035 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08771/0.3857, allocations: 30.01 MB / 399.1 MB, free: 13.23 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.839e-05/0.3859, allocations: 14.5 kB / 399.1 MB, free: 13.23 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002427/0.3884, allocations: 1.323 MB / 400.4 MB, free: 12.14 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.3886, allocations: 9 kB / 400.4 MB, free: 12.14 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005209/0.3891, allocations: 137 kB / 400.6 MB, free: 12.07 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.3904, allocations: 0.5147 MB / 401.1 MB, free: 11.73 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.3906, allocations: 17.56 kB / 401.1 MB, free: 11.73 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.3908, allocations: 27.28 kB / 401.1 MB, free: 11.73 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009398/0.3918, allocations: 469.1 kB / 401.6 MB, free: 11.67 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3931, allocations: 0.6043 MB / 402.2 MB, free: 11.51 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3932, allocations: 5 kB / 402.2 MB, free: 11.51 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/0.3934, allocations: 9.219 kB / 402.2 MB, free: 11.51 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.219e-06/0.3934, allocations: 3.312 kB / 402.2 MB, free: 11.51 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.3968, allocations: 1.176 MB / 403.4 MB, free: 10.84 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.398, allocations: 0.6879 MB / 404.1 MB, free: 10.45 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009653/0.3991, allocations: 0.6783 MB / 404.7 MB, free: 10.07 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3992, allocations: 4 kB / 404.7 MB, free: 10.07 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.4003, allocations: 0.7028 MB / 405.5 MB, free: 9.477 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 7.613e-06/0.4004, allocations: 4 kB / 405.5 MB, free: 9.473 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.001971/0.4024, allocations: 0.9567 MB / 406.4 MB, free: 8.723 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/0.4027, allocations: 326 kB / 406.7 MB, free: 8.363 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.4063, allocations: 1.575 MB / 408.3 MB, free: 7.059 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.4066, allocations: 49.12 kB / 408.4 MB, free: 7.008 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.407, allocations: 148.6 kB / 408.5 MB, free: 6.875 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.4073, allocations: 74.23 kB / 408.6 MB, free: 6.812 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.4075, allocations: 19.61 kB / 408.6 MB, free: 6.797 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4077, allocations: 380.4 kB / 409 MB, free: 6.438 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/0.4085, allocations: 455.8 kB / 409.4 MB, free: 6.129 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007312/0.4093, allocations: 454.7 kB / 409.8 MB, free: 5.82 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.4099, allocations: 303.9 kB / 410.1 MB, free: 5.609 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.216e-06/0.41, allocations: 7.844 kB / 410.2 MB, free: 5.602 MB / 312.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001872/0.4119, allocations: 0.9004 MB / 411.1 MB, free: 4.91 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.412, allocations: 4 kB / 411.1 MB, free: 4.906 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4121, allocations: 0 / 411.1 MB, free: 4.906 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4122, allocations: 0 / 411.1 MB, free: 4.906 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.541e-05/0.4122, allocations: 8.5 kB / 411.1 MB, free: 4.898 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.517e-06/0.4123, allocations: 0 / 411.1 MB, free: 4.898 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.413, allocations: 42.06 kB / 411.1 MB, free: 4.859 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.4133, allocations: 126 kB / 411.2 MB, free: 4.738 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003389/0.4137, allocations: 385.4 kB / 411.6 MB, free: 4.34 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.414, allocations: 134.4 kB / 411.7 MB, free: 4.207 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007891/0.4149, allocations: 257.6 kB / 412 MB, free: 3.977 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.355e-06/0.415, allocations: 0 / 412 MB, free: 3.977 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.704e-06/0.415, allocations: 4 kB / 412 MB, free: 3.973 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-06/0.4151, allocations: 0 / 412 MB, free: 3.973 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/0.419, allocations: 1.866 MB / 413.9 MB, free: 2.195 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.4191, allocations: 0 / 413.9 MB, free: 2.195 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.4192, allocations: 3.938 kB / 413.9 MB, free: 2.191 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.289e-06/0.4193, allocations: 7.984 kB / 413.9 MB, free: 2.184 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.4194, allocations: 35.98 kB / 413.9 MB, free: 2.148 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4195, allocations: 0 / 413.9 MB, free: 2.148 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.4195, allocations: 3.938 kB / 413.9 MB, free: 2.145 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001896/0.4215, allocations: 1.14 MB / 415.1 MB, free: 0.9844 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/0.4235, allocations: 0.6902 MB / 415.7 MB, free: 280 kB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/0.4241, allocations: 59.97 kB / 415.8 MB, free: 220 kB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.4248, allocations: 39.97 kB / 415.8 MB, free: 180 kB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/0.4259, allocations: 387.5 kB / 416.2 MB, free: 15.8 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/0.4262, allocations: 139.3 kB / 416.4 MB, free: 15.66 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.002804/0.429, allocations: 1.279 MB / 417.6 MB, free: 14.38 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0009156/0.43, allocations: 139.9 kB / 417.8 MB, free: 14.25 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.368e-05/0.4302, allocations: 73.55 kB / 417.8 MB, free: 14.17 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.4325, allocations: 1.423 MB / 419.3 MB, free: 12.7 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.448e-06/0.4327, allocations: 4 kB / 419.3 MB, free: 12.7 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.4343, allocations: 1.224 MB / 420.5 MB, free: 11.42 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.4363, allocations: 298.8 kB / 420.8 MB, free: 11.13 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005558/0.4419, allocations: 2.52 MB / 423.3 MB, free: 8.582 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/0.4436, allocations: 1.242 MB / 424.5 MB, free: 7.312 MB / 328.6 MB Notification: Performance of SimCode: time 2.724e-06/0.4437, allocations: 0 / 424.5 MB, free: 7.312 MB / 328.6 MB Notification: Performance of Templates: time 0.06853/0.5122, allocations: 14.73 MB / 439.3 MB, free: 8.277 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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_DLATREGSRH -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.DLATREGSRH.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_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.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_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.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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_DLATREGSRH_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.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:979: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_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_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_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_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_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_DLATREGSRH_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_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.DLATREGSRH.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.o] Error 1