Notification: Performance of loadModel(Modelica): time 1.555/1.555, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.949e-05, allocations: 6.625 kB / 247.4 MB, free: 4.641 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08754, allocations: 44.35 MB / 291.8 MB, free: 9.254 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/0.3373, allocations: 79.28 MB / 371 MB, free: 6.93 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.3377, allocations: 79.39 kB / 371.1 MB, free: 6.926 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1274/0.4651, allocations: 39.81 MB / 410.9 MB, free: 6.57 MB / 312.6 MB Notification: Performance of Transformations before backend: time 3.324e-05/0.4652, allocations: 15.94 kB / 410.9 MB, free: 6.555 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001698/0.467, allocations: 1.379 MB / 412.3 MB, free: 5.145 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4671, allocations: 12.03 kB / 412.3 MB, free: 5.133 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.4674, allocations: 123.1 kB / 412.5 MB, free: 5.012 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.4682, allocations: 477.6 kB / 412.9 MB, free: 4.523 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.146e-05/0.4684, allocations: 16 kB / 412.9 MB, free: 4.508 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.4685, allocations: 16 kB / 413 MB, free: 4.492 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00062/0.4692, allocations: 459.8 kB / 413.4 MB, free: 4.043 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.4702, allocations: 0.563 MB / 414 MB, free: 3.477 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4703, allocations: 3.938 kB / 414 MB, free: 3.473 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.4704, allocations: 8 kB / 414 MB, free: 3.465 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.66e-06/0.4705, allocations: 11.91 kB / 414 MB, free: 3.453 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.4725, allocations: 0.8945 MB / 414.9 MB, free: 2.527 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007984/0.4734, allocations: 0.7133 MB / 415.6 MB, free: 1.805 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008625/0.4743, allocations: 0.7077 MB / 416.3 MB, free: 1.094 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.4744, allocations: 0 / 416.3 MB, free: 1.094 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009556/0.4754, allocations: 0.7006 MB / 417 MB, free: 368 kB / 312.6 MB Notification: Performance of pre-optimization done (n=41): time 4.191e-06/0.4755, allocations: 4 kB / 417 MB, free: 364 kB / 312.6 MB Notification: Performance of matching and sorting (n=41): time 0.001906/0.4774, allocations: 1.011 MB / 418 MB, free: 15.34 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002247/0.4777, allocations: 330.7 kB / 418.3 MB, free: 14.95 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.4802, allocations: 1.274 MB / 419.6 MB, free: 13.66 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.4805, allocations: 37.7 kB / 419.7 MB, free: 13.62 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.4806, allocations: 154 kB / 419.8 MB, free: 13.47 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.4808, allocations: 83.02 kB / 419.9 MB, free: 13.39 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.481, allocations: 8 kB / 419.9 MB, free: 13.38 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.4811, allocations: 329.9 kB / 420.2 MB, free: 13.05 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/0.4819, allocations: 464.2 kB / 420.7 MB, free: 12.59 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.4826, allocations: 459.4 kB / 421.1 MB, free: 12.15 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.4832, allocations: 377.7 kB / 421.5 MB, free: 11.78 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-06/0.4833, allocations: 0 / 421.5 MB, free: 11.78 MB / 328.6 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001703/0.4851, allocations: 0.9895 MB / 422.5 MB, free: 10.79 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4852, allocations: 7.938 kB / 422.5 MB, free: 10.78 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.939e-06/0.4852, allocations: 4 kB / 422.5 MB, free: 10.77 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4853, allocations: 4 kB / 422.5 MB, free: 10.77 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.947e-05/0.4854, allocations: 3.938 kB / 422.5 MB, free: 10.77 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.238e-06/0.4854, allocations: 0 / 422.5 MB, free: 10.77 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.486, allocations: 27.88 kB / 422.5 MB, free: 10.74 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.4862, allocations: 95.94 kB / 422.6 MB, free: 10.64 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.4865, allocations: 390.4 kB / 423 MB, free: 10.21 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.4868, allocations: 134.5 kB / 423.1 MB, free: 10.08 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.4874, allocations: 183.6 kB / 423.3 MB, free: 9.895 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.657e-06/0.4874, allocations: 0 / 423.3 MB, free: 9.895 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4875, allocations: 4 kB / 423.3 MB, free: 9.891 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.635e-06/0.4876, allocations: 3.906 kB / 423.3 MB, free: 9.887 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.4905, allocations: 1.755 MB / 425.1 MB, free: 8.094 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.587e-06/0.4906, allocations: 0 / 425.1 MB, free: 8.094 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.4907, allocations: 7.906 kB / 425.1 MB, free: 8.086 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.4907, allocations: 3.984 kB / 425.1 MB, free: 8.082 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/0.4909, allocations: 31.98 kB / 425.1 MB, free: 8.051 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.631e-06/0.4909, allocations: 0 / 425.1 MB, free: 8.051 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.308e-06/0.491, allocations: 4 kB / 425.1 MB, free: 8.047 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001711/0.4927, allocations: 1.198 MB / 426.3 MB, free: 6.832 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.4942, allocations: 0.5069 MB / 426.8 MB, free: 6.305 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.4946, allocations: 71.95 kB / 426.9 MB, free: 6.234 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.4952, allocations: 31.83 kB / 426.9 MB, free: 6.203 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/0.4964, allocations: 0.495 MB / 427.4 MB, free: 5.711 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.4966, allocations: 107.9 kB / 427.5 MB, free: 5.605 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.001916/0.4986, allocations: 1.035 MB / 428.6 MB, free: 4.566 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0007912/0.4994, allocations: 176 kB / 428.7 MB, free: 4.395 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004623/0.5, allocations: 220.8 kB / 428.9 MB, free: 4.215 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.5018, allocations: 1.471 MB / 430.4 MB, free: 2.688 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.842e-06/0.5018, allocations: 4 kB / 430.4 MB, free: 2.684 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.5031, allocations: 1.347 MB / 431.8 MB, free: 1.281 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.5068, allocations: 0.7053 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.004603/0.5115, allocations: 2.274 MB / 434.7 MB, free: 14.28 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/0.5127, allocations: 1.169 MB / 435.9 MB, free: 13.08 MB / 344.6 MB Notification: Performance of SimCode: time 2.305e-06/0.5128, allocations: 0 / 435.9 MB, free: 13.08 MB / 344.6 MB Notification: Performance of Templates: time 0.1092/0.622, allocations: 19.52 MB / 455.4 MB, free: 9.379 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