Notification: Performance of loadModel(Modelica): time 1.55/1.55, allocations: 194.5 MB / 200.7 MB, free: 7.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.778e-06, allocations: 1.188 kB / 247.4 MB, free: 5.461 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06111/0.06119, allocations: 44.37 MB / 291.8 MB, free: 11.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.2919, allocations: 79.28 MB / 371 MB, free: 7.383 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.2922, allocations: 78.89 kB / 371.1 MB, free: 7.379 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.1274/0.4197, allocations: 39.81 MB / 410.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.164e-05/0.4198, allocations: 12 kB / 410.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of Generate backend data structure: time 0.001563/0.4214, allocations: 1.377 MB / 412.3 MB, free: 7.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4216, allocations: 8.031 kB / 412.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.4218, allocations: 122.5 kB / 412.5 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007467/0.4226, allocations: 482.1 kB / 412.9 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.4228, allocations: 12 kB / 412.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.4229, allocations: 20.81 kB / 413 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006569/0.4236, allocations: 462 kB / 413.4 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.4245, allocations: 0.5609 MB / 414 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4246, allocations: 0 / 414 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.4247, allocations: 13.23 kB / 414 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.4248, allocations: 7.906 kB / 414 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.4268, allocations: 0.8968 MB / 414.9 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.4277, allocations: 0.721 MB / 415.6 MB, free: 4.895 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008741/0.4286, allocations: 0.7116 MB / 416.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.4287, allocations: 0 / 416.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.4295, allocations: 0.6893 MB / 417 MB, free: 3.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 3.422e-06/0.4295, allocations: 0 / 417 MB, free: 3.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.001714/0.4313, allocations: 1.015 MB / 418 MB, free: 2.434 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.4315, allocations: 342.7 kB / 418.4 MB, free: 2.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.4335, allocations: 1.263 MB / 419.6 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.639e-05/0.4337, allocations: 37.7 kB / 419.7 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.4339, allocations: 161.9 kB / 419.8 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.4341, allocations: 79.08 kB / 419.9 MB, free: 492 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.4342, allocations: 11.98 kB / 419.9 MB, free: 480 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4344, allocations: 321.9 kB / 420.2 MB, free: 152 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000861/0.4353, allocations: 464.2 kB / 420.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.4359, allocations: 464.6 kB / 421.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007616/0.4367, allocations: 369.7 kB / 421.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.4368, allocations: 0 / 421.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001464/0.4383, allocations: 0.9933 MB / 422.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4384, allocations: 8 kB / 422.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.4385, allocations: 0 / 422.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4386, allocations: 3.984 kB / 422.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.898e-05/0.4387, allocations: 0 / 422.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.238e-06/0.4387, allocations: 8 kB / 422.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.4393, allocations: 27.89 kB / 422.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/0.4397, allocations: 91.92 kB / 422.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.44, allocations: 398.4 kB / 423 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.4402, allocations: 126.5 kB / 423.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.4408, allocations: 183.6 kB / 423.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4408, allocations: 0 / 423.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.4409, allocations: 8 kB / 423.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-06/0.4409, allocations: 0 / 423.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.4436, allocations: 1.758 MB / 425.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-06/0.4437, allocations: 0 / 425.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.4437, allocations: 0 / 425.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-06/0.4438, allocations: 7.906 kB / 425.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/0.4439, allocations: 27.98 kB / 425.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.444, allocations: 8 kB / 425.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.981e-06/0.4441, allocations: 0 / 425.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001659/0.4458, allocations: 1.206 MB / 426.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.4472, allocations: 0.5031 MB / 426.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.4475, allocations: 63.95 kB / 426.9 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.4481, allocations: 43.81 kB / 426.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/0.4493, allocations: 491.6 kB / 427.4 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.4495, allocations: 119.4 kB / 427.5 MB, free: 8.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.002003/0.4515, allocations: 1.031 MB / 428.6 MB, free: 7.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008748/0.4525, allocations: 179.9 kB / 428.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004825/0.4531, allocations: 232.8 kB / 429 MB, free: 7.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.4548, allocations: 1.464 MB / 430.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.47e-06/0.4549, allocations: 0 / 430.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.4563, allocations: 1.351 MB / 431.8 MB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/0.46, allocations: 0.6945 MB / 432.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.4639, allocations: 2.278 MB / 434.7 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009422/0.465, allocations: 1.165 MB / 435.9 MB, free: 176 kB / 330.7 MB Notification: Performance of SimCode: time 2.165e-06/0.465, allocations: 0 / 435.9 MB, free: 176 kB / 330.7 MB Notification: Performance of Templates: time 0.09658/0.5617, allocations: 19.54 MB / 455.4 MB, free: 12.47 MB / 362.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM.makefile clang -fPIC -O2 -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_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM.c:875: ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_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_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_RAM_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Digital.Examples.RAM.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.RAM.o] Error 1