Notification: Performance of loadModel(Modelica): time 1.512/1.512, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.076e-05/1.089e-05, allocations: 2.188 kB / 247.4 MB, free: 4.656 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06417/0.06426, allocations: 44.36 MB / 291.8 MB, free: 9.215 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2246/0.289, allocations: 77.21 MB / 369 MB, free: 6.723 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.2894, allocations: 77.8 kB / 369.1 MB, free: 6.719 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.09736/0.3868, allocations: 30.02 MB / 399.1 MB, free: 12.99 MB / 312.6 MB Notification: Performance of Transformations before backend: time 4.973e-05/0.3869, allocations: 15 kB / 399.1 MB, free: 12.99 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002074/0.3891, allocations: 1.324 MB / 400.4 MB, free: 11.9 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3892, allocations: 13.31 kB / 400.4 MB, free: 11.89 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/0.3897, allocations: 132.6 kB / 400.6 MB, free: 11.83 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3909, allocations: 0.5221 MB / 401.1 MB, free: 11.48 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/0.391, allocations: 18.31 kB / 401.1 MB, free: 11.48 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.3912, allocations: 28.67 kB / 401.1 MB, free: 11.48 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009103/0.3922, allocations: 466.5 kB / 401.6 MB, free: 11.42 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3934, allocations: 0.5979 MB / 402.2 MB, free: 11.27 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3935, allocations: 5.312 kB / 402.2 MB, free: 11.27 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.3937, allocations: 13.52 kB / 402.2 MB, free: 11.26 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3937, allocations: 2.25 kB / 402.2 MB, free: 11.26 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.3966, allocations: 1.174 MB / 403.4 MB, free: 10.62 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3978, allocations: 0.6855 MB / 404.1 MB, free: 10.23 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/0.3987, allocations: 0.6795 MB / 404.8 MB, free: 9.848 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3988, allocations: 4 kB / 404.8 MB, free: 9.844 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009267/0.3998, allocations: 0.7012 MB / 405.5 MB, free: 9.254 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 6.705e-06/0.3999, allocations: 4 kB / 405.5 MB, free: 9.25 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.001758/0.4017, allocations: 0.9548 MB / 406.4 MB, free: 8.5 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003516/0.4021, allocations: 331 kB / 406.7 MB, free: 8.137 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.4051, allocations: 1.567 MB / 408.3 MB, free: 6.84 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.4053, allocations: 44.56 kB / 408.4 MB, free: 6.793 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4056, allocations: 162.1 kB / 408.5 MB, free: 6.648 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.4058, allocations: 76.84 kB / 408.6 MB, free: 6.586 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.4059, allocations: 11.31 kB / 408.6 MB, free: 6.578 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.4063, allocations: 382.5 kB / 409 MB, free: 6.215 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.4071, allocations: 458.9 kB / 409.4 MB, free: 5.906 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.4078, allocations: 451.9 kB / 409.9 MB, free: 5.602 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.4084, allocations: 302.5 kB / 410.2 MB, free: 5.391 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.4084, allocations: 7.906 kB / 410.2 MB, free: 5.383 MB / 312.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001632/0.4101, allocations: 0.8956 MB / 411.1 MB, free: 4.695 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.4102, allocations: 11.98 kB / 411.1 MB, free: 4.684 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4103, allocations: 0 / 411.1 MB, free: 4.684 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4104, allocations: 0 / 411.1 MB, free: 4.684 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-05/0.4105, allocations: 8.5 kB / 411.1 MB, free: 4.676 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.569e-06/0.4105, allocations: 3.938 kB / 411.1 MB, free: 4.672 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.4112, allocations: 36.94 kB / 411.1 MB, free: 4.637 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.4115, allocations: 127.2 kB / 411.2 MB, free: 4.516 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005219/0.412, allocations: 385.4 kB / 411.6 MB, free: 4.117 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.4124, allocations: 134.4 kB / 411.7 MB, free: 3.984 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.4132, allocations: 254.3 kB / 412 MB, free: 3.758 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.4133, allocations: 0 / 412 MB, free: 3.758 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.102e-06/0.4134, allocations: 4 kB / 412 MB, free: 3.754 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-06/0.4134, allocations: 3.984 kB / 412 MB, free: 3.75 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.417, allocations: 1.868 MB / 413.9 MB, free: 2.098 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.426e-06/0.4171, allocations: 0 / 413.9 MB, free: 2.098 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.4172, allocations: 0 / 413.9 MB, free: 2.098 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.009e-06/0.4173, allocations: 4 kB / 413.9 MB, free: 2.094 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.4175, allocations: 39.98 kB / 413.9 MB, free: 2.055 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.33e-06/0.4175, allocations: 0 / 413.9 MB, free: 2.055 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4176, allocations: 0 / 413.9 MB, free: 2.055 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001837/0.4195, allocations: 1.148 MB / 415.1 MB, free: 0.8867 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/0.4213, allocations: 0.6902 MB / 415.8 MB, free: 180 kB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/0.4218, allocations: 67.94 kB / 415.8 MB, free: 112 kB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/0.4225, allocations: 39.97 kB / 415.9 MB, free: 72 kB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008853/0.4234, allocations: 387.5 kB / 416.2 MB, free: 15.69 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/0.4238, allocations: 135.5 kB / 416.4 MB, free: 15.56 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.003028/0.4268, allocations: 1.287 MB / 417.7 MB, free: 14.27 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0009095/0.4279, allocations: 128 kB / 417.8 MB, free: 14.15 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.662e-05/0.428, allocations: 69.55 kB / 417.8 MB, free: 14.08 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.4304, allocations: 1.431 MB / 419.3 MB, free: 12.6 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 6.426e-06/0.4305, allocations: 0 / 419.3 MB, free: 12.6 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.432, allocations: 1.224 MB / 420.5 MB, free: 11.32 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.4341, allocations: 286.9 kB / 420.8 MB, free: 11.05 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/0.4397, allocations: 2.52 MB / 423.3 MB, free: 8.496 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.4414, allocations: 1.246 MB / 424.6 MB, free: 7.223 MB / 328.6 MB Notification: Performance of SimCode: time 3.143e-06/0.4415, allocations: 0 / 424.6 MB, free: 7.223 MB / 328.6 MB Notification: Performance of Templates: time 0.06625/0.5078, allocations: 14.75 MB / 439.3 MB, free: 8.16 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