Notification: Performance of loadModel(Modelica): time 1.56/1.56, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.013e-05, allocations: 2.812 kB / 247.4 MB, free: 4.629 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06347/0.06355, allocations: 44.35 MB / 291.8 MB, free: 9.219 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.2926, allocations: 77.22 MB / 369 MB, free: 7.031 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.2929, allocations: 77.11 kB / 369.1 MB, free: 7.027 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08655/0.3795, allocations: 30.02 MB / 399.1 MB, free: 13.23 MB / 312.6 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.3797, allocations: 14.5 kB / 399.1 MB, free: 13.23 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001944/0.3817, allocations: 1.327 MB / 400.4 MB, free: 12.14 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.3819, allocations: 9.156 kB / 400.4 MB, free: 12.14 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/0.3823, allocations: 133.7 kB / 400.6 MB, free: 12.07 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3835, allocations: 0.5189 MB / 401.1 MB, free: 11.73 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.3836, allocations: 14.22 kB / 401.1 MB, free: 11.73 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.3838, allocations: 26.72 kB / 401.1 MB, free: 11.73 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008766/0.3847, allocations: 473.7 kB / 401.6 MB, free: 11.66 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.386, allocations: 0.5989 MB / 402.2 MB, free: 11.51 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.386, allocations: 5.125 kB / 402.2 MB, free: 11.5 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.3862, allocations: 12.78 kB / 402.2 MB, free: 11.5 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.079e-06/0.3863, allocations: 3.219 kB / 402.2 MB, free: 11.5 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.3891, allocations: 1.17 MB / 403.4 MB, free: 10.84 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3904, allocations: 0.6868 MB / 404.1 MB, free: 10.45 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008279/0.3913, allocations: 0.6763 MB / 404.7 MB, free: 10.07 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3914, allocations: 4 kB / 404.7 MB, free: 10.06 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009336/0.3924, allocations: 0.709 MB / 405.5 MB, free: 9.469 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 7.333e-06/0.3924, allocations: 4 kB / 405.5 MB, free: 9.465 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.001932/0.3944, allocations: 0.9507 MB / 406.4 MB, free: 8.719 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/0.3947, allocations: 325.2 kB / 406.7 MB, free: 8.359 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/0.3979, allocations: 1.581 MB / 408.3 MB, free: 7.051 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.3982, allocations: 41.69 kB / 408.4 MB, free: 7.004 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3984, allocations: 152 kB / 408.5 MB, free: 6.871 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.3986, allocations: 81.38 kB / 408.6 MB, free: 6.805 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.3987, allocations: 11.98 kB / 408.6 MB, free: 6.793 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0003051/0.3991, allocations: 380.5 kB / 409 MB, free: 6.434 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/0.3999, allocations: 457.1 kB / 409.4 MB, free: 6.125 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.4006, allocations: 458.4 kB / 409.9 MB, free: 5.816 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.4012, allocations: 301 kB / 410.2 MB, free: 5.605 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.378e-06/0.4012, allocations: 3.906 kB / 410.2 MB, free: 5.602 MB / 312.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00162/0.4029, allocations: 0.9003 MB / 411.1 MB, free: 4.91 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.403, allocations: 4 kB / 411.1 MB, free: 4.906 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.079e-06/0.4031, allocations: 0 / 411.1 MB, free: 4.906 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4032, allocations: 3.938 kB / 411.1 MB, free: 4.902 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.192e-05/0.4033, allocations: 8.5 kB / 411.1 MB, free: 4.895 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.499e-06/0.4033, allocations: 0 / 411.1 MB, free: 4.895 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.404, allocations: 41 kB / 411.1 MB, free: 4.855 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/0.4043, allocations: 126.9 kB / 411.2 MB, free: 4.734 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004952/0.4049, allocations: 382.1 kB / 411.6 MB, free: 4.336 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.4052, allocations: 135.2 kB / 411.7 MB, free: 4.203 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007492/0.406, allocations: 253.2 kB / 412 MB, free: 3.977 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-06/0.4061, allocations: 4 kB / 412 MB, free: 3.973 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.727e-06/0.4061, allocations: 0 / 412 MB, free: 3.973 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-06/0.4062, allocations: 0 / 412 MB, free: 3.973 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.4095, allocations: 1.878 MB / 413.9 MB, free: 2.191 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-06/0.4096, allocations: 0 / 413.9 MB, free: 2.191 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.4097, allocations: 7.922 kB / 413.9 MB, free: 2.184 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.752e-06/0.4098, allocations: 8 kB / 413.9 MB, free: 2.176 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.4099, allocations: 31.98 kB / 413.9 MB, free: 2.145 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.631e-06/0.41, allocations: 0 / 413.9 MB, free: 2.145 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.587e-06/0.4101, allocations: 0 / 413.9 MB, free: 2.145 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001778/0.4119, allocations: 1.144 MB / 415.1 MB, free: 0.9805 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/0.4138, allocations: 0.6902 MB / 415.8 MB, free: 276 kB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.4142, allocations: 55.97 kB / 415.8 MB, free: 220 kB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.4148, allocations: 43.97 kB / 415.8 MB, free: 176 kB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008329/0.4157, allocations: 388.5 kB / 416.2 MB, free: 15.79 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003636/0.4162, allocations: 135.9 kB / 416.4 MB, free: 15.66 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.002327/0.4186, allocations: 1.283 MB / 417.6 MB, free: 14.38 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0008616/0.4195, allocations: 140 kB / 417.8 MB, free: 14.24 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.27e-05/0.4196, allocations: 69.55 kB / 417.8 MB, free: 14.17 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.4218, allocations: 1.43 MB / 419.3 MB, free: 12.69 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.841e-06/0.4219, allocations: 0 / 419.3 MB, free: 12.69 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.4235, allocations: 1.228 MB / 420.5 MB, free: 11.41 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.4252, allocations: 290.2 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.005283/0.4305, allocations: 2.516 MB / 423.3 MB, free: 8.586 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/0.432, allocations: 1.238 MB / 424.5 MB, free: 7.316 MB / 328.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4321, allocations: 3.938 kB / 424.5 MB, free: 7.312 MB / 328.6 MB Notification: Performance of Templates: time 0.04865/0.4808, allocations: 14.74 MB / 439.3 MB, free: 8.277 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.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_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:979: ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGSRH.o] Error 1