Notification: Performance of loadModel(Modelica): time 1.506/1.506, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.062e-05, allocations: 2.031 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06313/0.06321, allocations: 44.36 MB / 291.8 MB, free: 9.238 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.2923, allocations: 76.89 MB / 368.7 MB, free: 7.016 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.2927, allocations: 76.12 kB / 368.7 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.07706/0.3698, allocations: 26.11 MB / 394.8 MB, free: 15.31 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.905e-05/0.3699, allocations: 10 kB / 394.9 MB, free: 15.31 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001036/0.371, allocations: 1.013 MB / 395.9 MB, free: 14.43 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3711, allocations: 8.844 kB / 395.9 MB, free: 14.43 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.3714, allocations: 91.47 kB / 396 MB, free: 14.38 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/0.3722, allocations: 429.6 kB / 396.4 MB, free: 14.09 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.3723, allocations: 12.06 kB / 396.4 MB, free: 14.09 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.505e-05/0.3725, allocations: 23.75 kB / 396.4 MB, free: 14.09 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006898/0.3732, allocations: 349 kB / 396.8 MB, free: 14.04 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.3742, allocations: 494.6 kB / 397.2 MB, free: 13.9 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3743, allocations: 0 / 397.2 MB, free: 13.9 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/0.3744, allocations: 9 kB / 397.3 MB, free: 13.9 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.3745, allocations: 6 kB / 397.3 MB, free: 13.9 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.3768, allocations: 0.9099 MB / 398.2 MB, free: 13.44 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.3777, allocations: 0.4955 MB / 398.7 MB, free: 13.36 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.3785, allocations: 489.6 kB / 399.1 MB, free: 13.31 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.3785, allocations: 1.125 kB / 399.1 MB, free: 13.31 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/0.3794, allocations: 0.5947 MB / 399.7 MB, free: 13.04 MB / 312.6 MB Notification: Performance of pre-optimization done (n=32): time 4.121e-06/0.3795, allocations: 0 / 399.7 MB, free: 13.04 MB / 312.6 MB Notification: Performance of matching and sorting (n=32): time 0.001649/0.3812, allocations: 0.749 MB / 400.5 MB, free: 12.86 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.3814, allocations: 286.7 kB / 400.8 MB, free: 12.56 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.3834, allocations: 0.9964 MB / 401.8 MB, free: 12.15 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.3836, allocations: 40.3 kB / 401.8 MB, free: 12.12 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.3837, allocations: 110.3 kB / 401.9 MB, free: 12.03 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.3839, allocations: 75.97 kB / 402 MB, free: 11.98 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.384, allocations: 7.688 kB / 402 MB, free: 11.98 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.3842, allocations: 342.2 kB / 402.3 MB, free: 11.66 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.3849, allocations: 343.3 kB / 402.7 MB, free: 11.62 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006197/0.3855, allocations: 348.1 kB / 403 MB, free: 11.57 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.3861, allocations: 247.2 kB / 403.2 MB, free: 11.52 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.47e-06/0.3861, allocations: 1.469 kB / 403.2 MB, free: 11.52 MB / 312.6 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001453/0.3876, allocations: 0.7138 MB / 404 MB, free: 11.01 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3877, allocations: 4 kB / 404 MB, free: 11.01 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.52e-06/0.3878, allocations: 0 / 404 MB, free: 11.01 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3879, allocations: 4 kB / 404 MB, free: 11 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.017e-05/0.388, allocations: 0 / 404 MB, free: 11 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.66e-06/0.388, allocations: 0 / 404 MB, free: 11 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.3886, allocations: 43.81 kB / 404 MB, free: 10.96 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.3888, allocations: 119.9 kB / 404.1 MB, free: 10.85 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.3891, allocations: 331.7 kB / 404.5 MB, free: 10.5 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.3894, allocations: 90.97 kB / 404.5 MB, free: 10.41 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.3899, allocations: 153.2 kB / 404.7 MB, free: 10.27 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.39, allocations: 3.984 kB / 404.7 MB, free: 10.27 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-06/0.39, allocations: 3.938 kB / 404.7 MB, free: 10.27 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3901, allocations: 4 kB / 404.7 MB, free: 10.26 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.3926, allocations: 1.461 MB / 406.2 MB, free: 9.09 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.588e-06/0.3927, allocations: 4 kB / 406.2 MB, free: 9.086 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.3927, allocations: 4 kB / 406.2 MB, free: 9.082 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.3928, allocations: 0 / 406.2 MB, free: 9.082 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.393, allocations: 33.42 kB / 406.2 MB, free: 9.055 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.448e-06/0.393, allocations: 3.906 kB / 406.2 MB, free: 9.051 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.635e-06/0.3931, allocations: 11.94 kB / 406.2 MB, free: 9.039 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001501/0.3946, allocations: 0.9194 MB / 407.1 MB, free: 8.305 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/0.3959, allocations: 0.5689 MB / 407.7 MB, free: 7.875 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/0.3962, allocations: 62.77 kB / 407.8 MB, free: 7.832 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.3968, allocations: 35.66 kB / 407.8 MB, free: 7.801 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/0.3974, allocations: 239.7 kB / 408 MB, free: 7.617 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003313/0.3977, allocations: 134 kB / 408.2 MB, free: 7.496 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.001408/0.3992, allocations: 0.8254 MB / 409 MB, free: 6.828 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0006917/0.4, allocations: 106 kB / 409.1 MB, free: 6.727 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.906e-05/0.4001, allocations: 69.55 kB / 409.2 MB, free: 6.652 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.4018, allocations: 1.081 MB / 410.2 MB, free: 5.684 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4019, allocations: 0 / 410.2 MB, free: 5.684 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.4033, allocations: 0.9567 MB / 411.2 MB, free: 4.684 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.4049, allocations: 247.8 kB / 411.4 MB, free: 4.445 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.4084, allocations: 1.717 MB / 413.2 MB, free: 2.695 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007977/0.4093, allocations: 1.057 MB / 414.2 MB, free: 1.605 MB / 312.6 MB Notification: Performance of SimCode: time 2.305e-06/0.4094, allocations: 0 / 414.2 MB, free: 1.605 MB / 312.6 MB Notification: Performance of Templates: time 0.0606/0.47, allocations: 12.25 MB / 426.5 MB, free: 5.137 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.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_DLATREG -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.DLATREG.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_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.DLATREG.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_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.DLATREG.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.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_DLATREG_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.DLATREG.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.c:857: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_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_DLATREG_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_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_DLATREG_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_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_DLATREG_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREG_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.DLATREG.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREG.o] Error 1