Notification: Performance of loadModel(Modelica): time 1.665/1.665, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.208e-05, allocations: 0.9375 kB / 247.4 MB, free: 4.664 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06378/0.06388, allocations: 44.36 MB / 291.8 MB, free: 9.238 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.2942, allocations: 79.29 MB / 371 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.2946, allocations: 85.3 kB / 371.1 MB, free: 7 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1269/0.4215, allocations: 39.8 MB / 410.9 MB, free: 6.625 MB / 312.6 MB Notification: Performance of Transformations before backend: time 3.206e-05/0.4216, allocations: 16 kB / 410.9 MB, free: 6.609 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001307/0.423, allocations: 1.374 MB / 412.3 MB, free: 5.137 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4231, allocations: 12.03 kB / 412.3 MB, free: 5.125 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.4233, allocations: 122.5 kB / 412.5 MB, free: 5.004 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008645/0.4243, allocations: 487.7 kB / 412.9 MB, free: 4.508 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.4244, allocations: 12 kB / 412.9 MB, free: 4.496 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.4245, allocations: 19.94 kB / 413 MB, free: 4.477 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000605/0.4252, allocations: 459.8 kB / 413.4 MB, free: 4.027 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00077/0.426, allocations: 0.5598 MB / 414 MB, free: 3.461 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4261, allocations: 0 / 414 MB, free: 3.461 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.4262, allocations: 15.94 kB / 414 MB, free: 3.445 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-06/0.4263, allocations: 3.906 kB / 414 MB, free: 3.441 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.4283, allocations: 0.9024 MB / 414.9 MB, free: 2.508 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.4291, allocations: 0.7211 MB / 415.6 MB, free: 1.777 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006868/0.4299, allocations: 0.7034 MB / 416.3 MB, free: 1.074 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.43, allocations: 4 kB / 416.3 MB, free: 1.07 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008271/0.4308, allocations: 0.6893 MB / 417 MB, free: 352 kB / 312.6 MB Notification: Performance of pre-optimization done (n=41): time 4.4e-06/0.4309, allocations: 0 / 417 MB, free: 352 kB / 312.6 MB Notification: Performance of matching and sorting (n=41): time 0.001791/0.4328, allocations: 1.023 MB / 418 MB, free: 15.31 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.433, allocations: 334.7 kB / 418.4 MB, free: 14.92 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.4352, allocations: 1.263 MB / 419.6 MB, free: 13.65 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/0.4353, allocations: 45.69 kB / 419.7 MB, free: 13.6 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.4355, allocations: 150 kB / 419.8 MB, free: 13.45 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.4356, allocations: 87 kB / 419.9 MB, free: 13.36 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.4358, allocations: 8 kB / 419.9 MB, free: 13.36 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.4359, allocations: 329.9 kB / 420.2 MB, free: 13.03 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.4365, allocations: 460.2 kB / 420.7 MB, free: 12.57 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.4371, allocations: 460.5 kB / 421.1 MB, free: 12.12 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.4379, allocations: 369.8 kB / 421.5 MB, free: 11.77 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.438, allocations: 0 / 421.5 MB, free: 11.77 MB / 328.6 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00147/0.4395, allocations: 0.9972 MB / 422.5 MB, free: 10.76 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4396, allocations: 4 kB / 422.5 MB, free: 10.76 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.94e-06/0.4397, allocations: 0 / 422.5 MB, free: 10.76 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.4398, allocations: 4 kB / 422.5 MB, free: 10.75 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.717e-05/0.4399, allocations: 7.984 kB / 422.5 MB, free: 10.75 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.796e-06/0.4399, allocations: 0 / 422.5 MB, free: 10.75 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.4405, allocations: 27.83 kB / 422.5 MB, free: 10.72 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.4407, allocations: 99.92 kB / 422.6 MB, free: 10.62 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002807/0.4411, allocations: 390.2 kB / 423 MB, free: 10.19 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.4414, allocations: 126.5 kB / 423.1 MB, free: 10.06 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006773/0.4421, allocations: 191.6 kB / 423.3 MB, free: 9.871 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-06/0.4422, allocations: 4 kB / 423.3 MB, free: 9.867 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.006e-06/0.4422, allocations: 0 / 423.3 MB, free: 9.867 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.962e-06/0.4423, allocations: 3.984 kB / 423.3 MB, free: 9.863 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.4449, allocations: 1.747 MB / 425.1 MB, free: 8.078 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-06/0.445, allocations: 3.938 kB / 425.1 MB, free: 8.074 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/0.445, allocations: 4 kB / 425.1 MB, free: 8.07 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.499e-06/0.4451, allocations: 7.906 kB / 425.1 MB, free: 8.062 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-05/0.4452, allocations: 31.98 kB / 425.1 MB, free: 8.031 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.911e-06/0.4453, allocations: 0 / 425.1 MB, free: 8.031 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.981e-06/0.4454, allocations: 0 / 425.1 MB, free: 8.031 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00181/0.4472, allocations: 1.202 MB / 426.3 MB, free: 6.816 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.4485, allocations: 0.5186 MB / 426.8 MB, free: 6.277 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.4488, allocations: 67.95 kB / 426.9 MB, free: 6.211 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.4494, allocations: 31.89 kB / 426.9 MB, free: 6.18 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/0.4508, allocations: 495.4 kB / 427.4 MB, free: 5.695 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.451, allocations: 111.9 kB / 427.5 MB, free: 5.586 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.001673/0.4527, allocations: 1.035 MB / 428.6 MB, free: 4.547 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0008368/0.4536, allocations: 180 kB / 428.7 MB, free: 4.371 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004978/0.4542, allocations: 225.7 kB / 429 MB, free: 4.188 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.4559, allocations: 1.463 MB / 430.4 MB, free: 2.668 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.632e-06/0.456, allocations: 4 kB / 430.4 MB, free: 2.664 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.4575, allocations: 1.354 MB / 431.8 MB, free: 1.254 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/0.4611, allocations: 0.6788 MB / 432.5 MB, free: 0.5977 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.4655, allocations: 2.282 MB / 434.7 MB, free: 14.27 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009302/0.4666, allocations: 1.173 MB / 435.9 MB, free: 13.07 MB / 344.6 MB Notification: Performance of SimCode: time 2.165e-06/0.4667, allocations: 4 kB / 435.9 MB, free: 13.07 MB / 344.6 MB Notification: Performance of Templates: time 0.1037/0.5705, allocations: 19.52 MB / 455.4 MB, free: 9.363 MB / 360.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.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_RAM -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.RAM.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.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.RAM.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.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.RAM.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.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.RAM.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_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.RAM.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.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.RAM.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.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.RAM.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_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.RAM.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.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.RAM.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.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_RAM_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.RAM.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.c:875: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_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_RAM_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_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_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_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_RAM_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_RAM_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.RAM.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.RAM.o] Error 1