Notification: Performance of loadModel(Modelica): time 1.59/1.59, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.327e-05/1.327e-05, allocations: 2.031 kB / 247.4 MB, free: 4.637 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06267/0.06276, allocations: 44.36 MB / 291.8 MB, free: 9.238 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.2924, allocations: 76.93 MB / 368.7 MB, free: 6.965 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.2928, allocations: 72.03 kB / 368.8 MB, free: 6.961 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.09905/0.3919, allocations: 32.59 MB / 401.4 MB, free: 12.63 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.392, allocations: 9.031 kB / 401.4 MB, free: 12.63 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001088/0.3932, allocations: 1.005 MB / 402.4 MB, free: 11.76 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3933, allocations: 8.781 kB / 402.4 MB, free: 11.76 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.3936, allocations: 87.59 kB / 402.5 MB, free: 11.72 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.3947, allocations: 428.4 kB / 402.9 MB, free: 11.42 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.278e-05/0.3949, allocations: 19.97 kB / 402.9 MB, free: 11.42 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3951, allocations: 19.88 kB / 402.9 MB, free: 11.42 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007334/0.3959, allocations: 356.6 kB / 403.3 MB, free: 11.36 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.3968, allocations: 489.8 kB / 403.7 MB, free: 11 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3969, allocations: 0 / 403.7 MB, free: 11 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.397, allocations: 15.61 kB / 403.8 MB, free: 10.98 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.753e-06/0.3971, allocations: 0 / 403.8 MB, free: 10.98 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.3992, allocations: 0.9174 MB / 404.7 MB, free: 10.22 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.4, allocations: 498.3 kB / 405.2 MB, free: 9.926 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/0.4007, allocations: 489.2 kB / 405.6 MB, free: 9.645 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4008, allocations: 11.98 kB / 405.7 MB, free: 9.633 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.4019, allocations: 0.5875 MB / 406.2 MB, free: 9.129 MB / 312.6 MB Notification: Performance of pre-optimization done (n=32): time 4.61e-06/0.402, allocations: 0 / 406.2 MB, free: 9.129 MB / 312.6 MB Notification: Performance of matching and sorting (n=32): time 0.001395/0.4034, allocations: 0.7505 MB / 407 MB, free: 8.539 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.4037, allocations: 284.9 kB / 407.3 MB, free: 8.219 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.4057, allocations: 0.9917 MB / 408.3 MB, free: 7.402 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.406, allocations: 41.52 kB / 408.3 MB, free: 7.359 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.4061, allocations: 117.4 kB / 408.4 MB, free: 7.25 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.4063, allocations: 80.69 kB / 408.5 MB, free: 7.188 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.4064, allocations: 4 kB / 408.5 MB, free: 7.184 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.4066, allocations: 347.2 kB / 408.8 MB, free: 6.848 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.4072, allocations: 345.3 kB / 409.2 MB, free: 6.617 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.4079, allocations: 343.4 kB / 409.5 MB, free: 6.387 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.4083, allocations: 242.6 kB / 409.7 MB, free: 6.223 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-06/0.4084, allocations: 4 kB / 409.8 MB, free: 6.219 MB / 312.6 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001334/0.4098, allocations: 0.7139 MB / 410.5 MB, free: 5.668 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4099, allocations: 6.812 kB / 410.5 MB, free: 5.664 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.542e-06/0.4099, allocations: 0 / 410.5 MB, free: 5.664 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.41, allocations: 3.984 kB / 410.5 MB, free: 5.66 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.954e-05/0.4101, allocations: 8 kB / 410.5 MB, free: 5.652 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.377e-06/0.4101, allocations: 0 / 410.5 MB, free: 5.652 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005101/0.4107, allocations: 45.44 kB / 410.5 MB, free: 5.609 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.4111, allocations: 121.5 kB / 410.6 MB, free: 5.492 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002738/0.4114, allocations: 333.2 kB / 411 MB, free: 5.141 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.4117, allocations: 90.97 kB / 411.1 MB, free: 5.051 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.4122, allocations: 144.3 kB / 411.2 MB, free: 4.918 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-06/0.4123, allocations: 4 kB / 411.2 MB, free: 4.914 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-06/0.4123, allocations: 3.984 kB / 411.2 MB, free: 4.91 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4124, allocations: 0 / 411.2 MB, free: 4.91 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.4151, allocations: 1.455 MB / 412.7 MB, free: 3.531 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.867e-06/0.4152, allocations: 0 / 412.7 MB, free: 3.531 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.4153, allocations: 7.938 kB / 412.7 MB, free: 3.523 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.892e-06/0.4154, allocations: 0 / 412.7 MB, free: 3.523 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/0.4155, allocations: 31.98 kB / 412.7 MB, free: 3.492 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.701e-06/0.4156, allocations: 0 / 412.7 MB, free: 3.492 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.028e-06/0.4156, allocations: 3.984 kB / 412.7 MB, free: 3.488 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001503/0.4172, allocations: 0.9316 MB / 413.6 MB, free: 2.539 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.4187, allocations: 0.5776 MB / 414.2 MB, free: 1.941 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.419, allocations: 63.91 kB / 414.3 MB, free: 1.879 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.4196, allocations: 27.97 kB / 414.3 MB, free: 1.852 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/0.4201, allocations: 239.8 kB / 414.5 MB, free: 1.617 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.4204, allocations: 124 kB / 414.7 MB, free: 1.496 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.001686/0.4221, allocations: 0.8265 MB / 415.5 MB, free: 0.6758 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007747/0.423, allocations: 107.9 kB / 415.6 MB, free: 0.5703 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.31e-05/0.4231, allocations: 69.55 kB / 415.7 MB, free: 0.5 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.425, allocations: 1.082 MB / 416.7 MB, free: 15.38 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.4e-06/0.4251, allocations: 3.938 kB / 416.7 MB, free: 15.37 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.4266, allocations: 0.952 MB / 417.7 MB, free: 14.38 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.4281, allocations: 250.8 kB / 417.9 MB, free: 14.14 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.4319, allocations: 1.716 MB / 419.7 MB, free: 12.39 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008425/0.4329, allocations: 1.053 MB / 420.7 MB, free: 11.31 MB / 328.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4329, allocations: 0 / 420.7 MB, free: 11.31 MB / 328.6 MB Notification: Performance of Templates: time 0.05759/0.4906, allocations: 12.25 MB / 433 MB, free: 14.86 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.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_DLATREGL -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.DLATREGL.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_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.DLATREGL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_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.DLATREGL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.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_DLATREGL_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.DLATREGL.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.c:857: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_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_DLATREGL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_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_DLATREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_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_DLATREGL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_DLATREGL_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.DLATREGL.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.DLATREGL.o] Error 1