Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » praveej
  • » Profile

Posts

Posts

Jan-24-14 09:39:10
Compliation error.
Category: Programming

During compilation I got these following errors..?
why should these errors come..?
I have already solved the problem and while solving for different simulation time these errors occurred..?



[color=yourColor]In file included from 1.c:19:
1_functions.h:1:9: error: macro names must be identifiers
In file included from 1.c:39:
C:/OpenModelica1.9.1Nightly//include/omc/perform_simulation.c:85:5: error: invalid suffix "_performSimulation" on integer constant
In file included from 1.c:39:
C:/OpenModelica1.9.1Nightly//include/omc/perform_simulation.c:85: error: expected identifier or '(' before numeric constant
1.c:53:5: error: invalid suffix "_input_function" on integer constant
1.c:53: error: expected identifier or '(' before numeric constant
1.c:58:5: error: invalid suffix "_output_function" on integer constant
1.c:58: error: expected identifier or '(' before numeric constant
1.c:69:6: error: invalid suffix "_eqFunction_215" on integer constant
1.c:69: error: expected identifier or '(' before numeric constant
1.c:78:6: error: invalid suffix "_eqFunction_216" on integer constant
1.c:78: error: expected identifier or '(' before numeric constant
1.c:89:6: error: invalid suffix "_eqFunction_217" on integer constant
1.c:89: error: expected identifier or '(' before numeric constant
1.c:100:6: error: invalid suffix "_eqFunction_218" on integer constant
1.c:100: error: expected identifier or '(' before numeric constant
1.c:111:6: error: invalid suffix "_eqFunction_219" on integer constant
1.c:111: error: expected identifier or '(' before numeric constant
1.c:122:6: error: invalid suffix "_eqFunction_220" on integer constant
1.c:122: error: expected identifier or '(' before numeric constant
1.c:133:6: error: invalid suffix "_eqFunction_221" on integer constant
1.c:133: error: expected identifier or '(' before numeric constant
1.c:144:6: error: invalid suffix "_eqFunction_222" on integer constant
1.c:144: error: expected identifier or '(' before numeric constant
1.c:180:6: error: invalid suffix "_eqFunction_223" on integer constant
1.c:180: error: expected identifier or '(' before numeric constant
1.c:199:6: error: invalid suffix "_eqFunction_224" on integer constant
1.c:199: error: expected identifier or '(' before numeric constant
1.c:208:6: error: invalid suffix "_eqFunction_225" on integer constant
1.c:208: error: expected identifier or '(' before numeric constant
1.c:217:6: error: invalid suffix "_eqFunction_226" on integer constant
1.c:217: error: expected identifier or '(' before numeric constant
1.c:226:6: error: invalid suffix "_eqFunction_227" on integer constant
1.c:226: error: expected identifier or '(' before numeric constant
1.c:235:6: error: invalid suffix "_eqFunction_228" on integer constant
1.c:235: error: expected identifier or '(' before numeric constant
1.c:244:6: error: invalid suffix "_eqFunction_229" on integer constant
1.c:244: error: expected identifier or '(' before numeric constant
1.c:255:6: error: invalid suffix "_eqFunction_230" on integer constant
1.c:255: error: expected identifier or '(' before numeric constant
1.c:264:6: error: invalid suffix "_eqFunction_231" on integer constant
1.c:264: error: expected identifier or '(' before numeric constant
1.c:268:5: error: invalid suffix "_functionDAE" on integer constant
1.c:268: error: expected identifier or '(' before numeric constant
In file included from 1_functions.c:1:
1_functions.h:1:9: error: macro names must be identifiers
In file included from 1_functions.c:6:
1_literals.h:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT0_dims'
1_literals.h:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT0_data'
1.c:272:3: error: invalid suffix "_eqFunction_215" on integer constant
1.c:273:3: error: invalid suffix "_eqFunction_216" on integer constant
1.c:274:3: error: invalid suffix "_eqFunction_217" on integer constant
1.c:275:3: error: invalid suffix "_eqFunction_218" on integer constant
1.c:276:3: error: invalid suffix "_eqFunction_219" on integer constant
1.c:277:3: error: invalid suffix "_eqFunction_220" on integer constant
1.c:278:3: error: invalid suffix "_eqFunction_221" on integer constant
1.c:279:3: error: invalid suffix "_eqFunction_222" on integer constant
1.c:280:3: error: invalid suffix "_eqFunction_223" on integer constant
1.c:281:3: error: invalid suffix "_eqFunction_224" on integer constant
1.c:282:3: error: invalid suffix "_eqFunction_225" on integer constant
1.c:283:3: error: invalid suffix "_eqFunction_226" on integer constant
1.c:284:3: error: invalid suffix "_eqFunction_227" on integer constant
1.c:285:3: error: invalid suffix "_eqFunction_228" on integer constant
1.c:286:3: error: invalid suffix "_eqFunction_229" on integer constant
1.c:287:3: error: invalid suffix "_eqFunction_230" on integer constant
1.c:288:3: error: invalid suffix "_eqFunction_231" on integer constant
1.c:295:13: error: invalid suffix "_eqFunction_215" on integer constant
1.c:295: error: expected identifier or '(' before numeric constant
1_literals.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
1.c:296:13: error: invalid suffix "_eqFunction_220" on integer constant
1.c:296: error: expected identifier or '(' before numeric constant
1_literals.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT1_strlen'
1.c:297:13: error: invalid suffix "_eqFunction_222" on integer constant
1.c:297: error: expected identifier or '(' before numeric constant
1_literals.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT2_strlen'
1.c:298:13: error: invalid suffix "_eqFunction_223" on integer constant
1.c:298: error: expected identifier or '(' before numeric constant
1_literals.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT3_strlen'
1_literals.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT4_dims'
1.c:299:13: error: invalid suffix "_eqFunction_226" on integer constant
1.c:299: error: expected identifier or '(' before numeric constant
1_literals.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT4_data'
1_literals.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
In file included from 1_functions.c:6:
1_literals.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT5_strlen'
1_literals.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_OMC_LIT6_strlen'
1_functions.c:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'omc_Modelica_Mechanics_MultiBody_Frames_Orientation'
1.c:306:3: error: invalid suffix "_eqFunction_215" on integer constant
1.c:313:3: error: invalid suffix "_eqFunction_220" on integer constant
1.c:320:3: error: invalid suffix "_eqFunction_222" on integer constant
1.c:327:3: error: invalid suffix "_eqFunction_223" on integer constant
1.c:334:3: error: invalid suffix "_eqFunction_226" on integer constant
1.c:340:5: error: invalid suffix "_functionODE" on integer constant
1.c:340: error: expected identifier or '(' before numeric constant
1_functions.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Modelica_Mechanics_MultiBody_Frames_Quaternions_from__T_rettype'
1.c:359:5: error: invalid suffix "_functionODE_inline" on integer constant
1.c:359: error: expected identifier or '(' before numeric constant
In file included from 1.c:367:
1_12jac.h:6:11: error: macro names must be identifiers
1_12jac.h:7:7: error: invalid suffix "_functionJacG_column" on integer constant
In file included from 1.c:367:
1_12jac.h:7: error: expected identifier or '(' before numeric constant
1_12jac.h:8:7: error: invalid suffix "_initialAnalyticJacobianG" on integer constant
1_12jac.h:8: error: expected identifier or '(' before numeric constant
1_12jac.h:18:11: error: macro names must be identifiers
1_12jac.h:19:7: error: invalid suffix "_functionJacA_column" on integer constant
1_12jac.h:19: error: expected identifier or '(' before numeric constant
1_12jac.h:20:7: error: invalid suffix "_initialAnalyticJacobianA" on integer constant
1_12jac.h:20: error: expected identifier or '(' before numeric constant
1_12jac.h:37:11: error: macro names must be identifiers
1_12jac.h:38:7: error: invalid suffix "_functionJacB_column" on integer constant
1_12jac.h:38: error: expected identifier or '(' before numeric constant
1_12jac.h:39:7: error: invalid suffix "_initialAnalyticJacobianB" on integer constant
1_12jac.h:39: error: expected identifier or '(' before numeric constant
1_12jac.h:49:11: error: macro names must be identifiers
1_12jac.h:50:7: error: invalid suffix "_functionJacC_column" on integer constant
1_12jac.h:50: error: expected identifier or '(' before numeric constant
1_12jac.h:51:7: error: invalid suffix "_initialAnalyticJacobianC" on integer constant
1_12jac.h:51: error: expected identifier or '(' before numeric constant
1_12jac.h:61:11: error: macro names must be identifiers
1_12jac.h:62:7: error: invalid suffix "_functionJacD_column" on integer constant
1_12jac.h:62: error: expected identifier or '(' before numeric constant
1_12jac.h:63:7: error: invalid suffix "_initialAnalyticJacobianD" on integer constant
1_12jac.h:63: error: expected identifier or '(' before numeric constant
1.c:368:13: error: invalid suffix "_callExternalObjectConstructors" on integer constant
1.c:368: error: expected identifier or '(' before numeric constant
1.c:369:13: error: invalid suffix "_callExternalObjectDestructors" on integer constant
1.c:369: error: expected identifier or '(' before numeric constant
1.c:370:13: error: invalid suffix "_initialNonLinearSystem" on integer constant
1.c:370: error: expected identifier or '(' before numeric constant
1.c:371:13: error: invalid suffix "_initialLinearSystem" on integer constant
1.c:371: error: expected identifier or '(' before numeric constant
1.c:372:13: error: invalid suffix "_initialMixedSystem" on integer constant
1.c:372: error: expected identifier or '(' before numeric constant
1.c:373:13: error: invalid suffix "_initializeStateSets" on integer constant
1.c:373: error: expected identifier or '(' before numeric constant
1.c:374:12: error: invalid suffix "_functionAlgebraics" on integer constant
1.c:374: error: expected identifier or '(' before numeric constant
1.c:375:12: error: invalid suffix "_function_storeDelayed" on integer constant
1.c:375: error: expected identifier or '(' before numeric constant
1.c:376:12: error: invalid suffix "_updateBoundStartValues" on integer constant
1.c:376: error: expected identifier or '(' before numeric constant
1.c:377:20: error: invalid suffix "_initialResidualDescription" on integer constant
1.c:377: error: expected identifier or '(' before numeric constant
1.c:378:12: error: invalid suffix "_initial_residual" on integer constant
1.c:378: error: expected identifier or '(' before numeric constant
1.c:379:12: error: invalid suffix "_functionInitialEquations" on integer constant
1.c:379: error: expected identifier or '(' before numeric constant
1.c:380:12: error: invalid suffix "_updateBoundParameters" on integer constant
1.c:380: error: expected identifier or '(' before numeric constant
1.c:381:12: error: invalid suffix "_checkForAsserts" on integer constant
1.c:381: error: expected identifier or '(' before numeric constant
1.c:382:12: error: invalid suffix "_function_ZeroCrossings" on integer constant
1.c:382: error: expected identifier or '(' before numeric constant
1.c:383:12: error: invalid suffix "_function_updateRelations" on integer constant
1.c:383: error: expected identifier or '(' before numeric constant
1.c:384:12: error: invalid suffix "_checkForDiscreteChanges" on integer constant
1.c:384: error: expected identifier or '(' before numeric constant
1.c:385:20: error: invalid suffix "_zeroCrossingDescription" on integer constant
1.c:385: error: expected identifier or '(' before numeric constant
1.c:386:20: error: invalid suffix "_relationDescription" on integer constant
1.c:386: error: expected identifier or '(' before numeric constant
1.c:387:13: error: invalid suffix "_function_initSample" on integer constant
1.c:387: error: expected identifier or '(' before numeric constant
1.c:388:12: error: invalid suffix "_initialAnalyticJacobianG" on integer constant
1.c:388: error: expected identifier or '(' before numeric constant
1.c:389:12: error: invalid suffix "_initialAnalyticJacobianA" on integer constant
1.c:389: error: expected identifier or '(' before numeric constant
1.c:390:12: error: invalid suffix "_initialAnalyticJacobianB" on integer constant
1.c:390: error: expected identifier or '(' before numeric constant
1.c:391:12: error: invalid suffix "_initialAnalyticJacobianC" on integer constant
1.c:391: error: expected identifier or '(' before numeric constant
1.c:392:12: error: invalid suffix "_initialAnalyticJacobianD" on integer constant
1.c:392: error: expected identifier or '(' before numeric constant
1.c:393:12: error: invalid suffix "_functionJacG_column" on integer constant
1.c:393: error: expected identifier or '(' before numeric constant
1.c:394:12: error: invalid suffix "_functionJacA_column" on integer constant
1.c:394: error: expected identifier or '(' before numeric constant
1.c:395:12: error: invalid suffix "_functionJacB_column" on integer constant
1.c:395: error: expected identifier or '(' before numeric constant
1.c:396:12: error: invalid suffix "_functionJacC_column" on integer constant
1.c:396: error: expected identifier or '(' before numeric constant
1.c:397:12: error: invalid suffix "_functionJacD_column" on integer constant
1.c:397: error: expected identifier or '(' before numeric constant
1.c:398:20: error: invalid suffix "_linear_model_frame" on integer constant
1.c:398: error: expected identifier or '(' before numeric constant
1.c:400:47: error: invalid suffix "_callback" on integer constant
1.c:400: error: expected identifier or '(' before numeric constant
1.c:401:30: error: invalid suffix "_performSimulation" on integer constant
1.c:402:4: error: invalid suffix "_callExternalObjectConstructors" on integer constant
1.c:403:4: error: invalid suffix "_callExternalObjectDestructors" on integer constant
1.c:404:4: error: invalid suffix "_initialNonLinearSystem" on integer constant
1.c:405:4: error: invalid suffix "_initialLinearSystem" on integer constant
1.c:406:4: error: invalid suffix "_initialMixedSystem" on integer constant
1.c:407:4: error: invalid suffix "_initializeStateSets" on integer constant
1.c:408:4: error: invalid suffix "_functionODE" on integer constant
1.c:409:4: error: invalid suffix "_functionAlgebraics" on integer constant
1.c:410:4: error: invalid suffix "_functionDAE" on integer constant
1.c:411:4: error: invalid suffix "_input_function" on integer constant
1.c:412:4: error: invalid suffix "_output_function" on integer constant
1.c:413:4: error: invalid suffix "_function_storeDelayed" on integer constant
1.c:414:4: error: invalid suffix "_functionODE_inline" on integer constant
1.c:415:4: error: invalid suffix "_updateBoundStartValues" on integer constant
1.c:416:4: error: invalid suffix "_initialResidualDescription" on integer constant
1.c:417:4: error: invalid suffix "_initial_residual" on integer constant
1.c:420:4: error: invalid suffix "_functionInitialEquations" on integer constant
1.c:421:4: error: invalid suffix "_updateBoundParameters" on integer constant
1.c:422:4: error: invalid suffix "_checkForAsserts" on integer constant
1.c:423:4: error: invalid suffix "_function_ZeroCrossings" on integer constant
1.c:424:4: error: invalid suffix "_function_updateRelations" on integer constant
1.c:425:4: error: invalid suffix "_checkForDiscreteChanges" on integer constant
1.c:426:4: error: invalid suffix "_zeroCrossingDescription" on integer constant
1.c:427:4: error: invalid suffix "_relationDescription" on integer constant
1.c:428:4: error: invalid suffix "_function_initSample" on integer constant
1.c:429:4: error: invalid suffix "_INDEX_JAC_G" on integer constant
1.c:430:4: error: invalid suffix "_INDEX_JAC_A" on integer constant
1.c:431:4: error: invalid suffix "_INDEX_JAC_B" on integer constant
1.c:432:4: error: invalid suffix "_INDEX_JAC_C" on integer constant
1.c:433:4: error: invalid suffix "_INDEX_JAC_D" on integer constant
1.c:434:4: error: invalid suffix "_initialAnalyticJacobianG" on integer constant
1.c:435:4: error: invalid suffix "_initialAnalyticJacobianA" on integer constant
1.c:436:4: error: invalid suffix "_initialAnalyticJacobianB" on integer constant
1.c:437:4: error: invalid suffix "_initialAnalyticJacobianC" on integer constant
1.c:438:4: error: invalid suffix "_initialAnalyticJacobianD" on integer constant
1.c:439:4: error: invalid suffix "_functionJacG_column" on integer constant
1.c:440:4: error: invalid suffix "_functionJacA_column" on integer constant
1.c:441:4: error: invalid suffix "_functionJacB_column" on integer constant
1.c:442:4: error: invalid suffix "_functionJacC_column" on integer constant
1.c:443:4: error: invalid suffix "_functionJacD_column" on integer constant
1.c:444:4: error: invalid suffix "_linear_model_frame" on integer constant
1.c:447:6: error: invalid suffix "_setupDataStruc" on integer constant
1.c:447: error: expected identifier or '(' before numeric constant
1.c:450:21: error: invalid suffix "_callback" on integer constant
1.c: In function 'main':
1.c:527: error: expected ';' before 'MMC_TRY_STACK'
1.c:529:5: error: invalid suffix "_setupDataStruc" on integer constant
1.c:534: error: expected ';' before 'rml_execution_failed'
1.c:541: error: expected ';' before 'MMC_CATCH_TOP'
In file included from 1_01exo.c:19:
1_functions.h:1:9: error: macro names must be identifiers
1_01exo.c:39:6: error: invalid suffix "_callExternalObjectConstructors" on integer constant
1_01exo.c:39: error: expected identifier or '(' before numeric constant
1_01exo.c:46:6: error: invalid suffix "_callExternalObjectDestructors" on integer constant
1_01exo.c:46: error: expected identifier or '(' before numeric constant
mingw32-make: *** [1_functions.o] Error 1
mingw32-make: *** Waiting for unfinished jobs....
In file included from 1_04set.c:19:
1_functions.h:1:9: error: macro names must be identifiers
In file included from 1_04set.c:38:
1_12jac.h:6:11: error: macro names must be identifiers
1_12jac.h:7:7: error: invalid suffix "_functionJacG_column" on integer constant
In file included from 1_04set.c:38:
1_12jac.h:7: error: expected identifier or '(' before numeric constant
1_12jac.h:8:7: error: invalid suffix "_initialAnalyticJacobianG" on integer constant
1_12jac.h:8: error: expected identifier or '(' before numeric constant
1_12jac.h:18:11: error: macro names must be identifiers
1_12jac.h:19:7: error: invalid suffix "_functionJacA_column" on integer constant
1_12jac.h:19: error: expected identifier or '(' before numeric constant
1_12jac.h:20:7: error: invalid suffix "_initialAnalyticJacobianA" on integer constant
1_12jac.h:20: error: expected identifier or '(' before numeric constant
1_12jac.h:37:11: error: macro names must be identifiers
1_12jac.h:38:7: error: invalid suffix "_functionJacB_column" on integer constant
1_12jac.h:38: error: expected identifier or '(' before numeric constant
1_12jac.h:39:7: error: invalid suffix "_initialAnalyticJacobianB" on integer constant
1_12jac.h:39: error: expected identifier or '(' before numeric constant
1_12jac.h:49:11: error: macro names must be identifiers
1_12jac.h:50:7: error: invalid suffix "_functionJacC_column" on integer constant
1_12jac.h:50: error: expected identifier or '(' before numeric constant
1_12jac.h:51:7: error: invalid suffix "_initialAnalyticJacobianC" on integer constant
1_12jac.h:51: error: expected identifier or '(' before numeric constant
1_12jac.h:61:11: error: macro names must be identifiers
1_12jac.h:62:7: error: invalid suffix "_functionJacD_column" on integer constant
1_12jac.h:62: error: expected identifier or '(' before numeric constant
1_12jac.h:63:7: error: invalid suffix "_initialAnalyticJacobianD" on integer constant
1_12jac.h:63: error: expected identifier or '(' before numeric constant
1_04set.c:40:6: error: invalid suffix "_initializeStateSets" on integer constant
1_04set.c:40: error: expected identifier or '(' before numeric constant
mingw32-make: *** [1.o] Error 1
In file included from 1_03lsy.c:19:
1_functions.h:1:9: error: macro names must be identifiers
In file included from 1_03lsy.c:37:
1_12jac.h:6:11: error: macro names must be identifiers
1_12jac.h:7:7: error: invalid suffix "_functionJacG_column" on integer constant
In file included from 1_03lsy.c:37:
1_12jac.h:7: error: expected identifier or '(' before numeric constant
1_12jac.h:8:7: error: invalid suffix "_initialAnalyticJacobianG" on integer constant
1_12jac.h:8: error: expected identifier or '(' before numeric constant
1_12jac.h:18:11: error: macro names must be identifiers
1_12jac.h:19:7: error: invalid suffix "_functionJacA_column" on integer constant
1_12jac.h:19: error: expected identifier or '(' before numeric constant
In file included from 1_02nls.c:19:
1_functions.h:1:9: error: macro names must be identifiers
In file included from 1_02nls.c:37:
1_12jac.h:6:11: error: macro names must be identifiers
1_12jac.h:7:7: error: invalid suffix "_functionJacG_column" on integer constant
In file included from 1_02nls.c:37:
1_12jac.h:7: error: expected identifier or '(' before numeric constant
1_12jac.h:20:7: error: invalid suffix "_initialAnalyticJacobianA" on integer constant
1_12jac.h:20: error: expected identifier or '(' before numeric constant
1_12jac.h:8:7: error: invalid suffix "_initialAnalyticJacobianG" on integer constant
1_12jac.h:8: error: expected identifier or '(' before numeric constant
1_12jac.h:37:11: error: macro names must be identifiers
1_12jac.h:38:7: error: invalid suffix "_functionJacB_column" on integer constant
1_12jac.h:38: error: expected identifier or '(' before numeric constant
1_12jac.h:18:11: error: macro names must be identifiers
1_12jac.h:19:7: error: invalid suffix "_functionJacA_column" on integer constant
1_12jac.h:19: error: expected identifier or '(' before numeric constant
1_12jac.h:39:7: error: invalid suffix "_initialAnalyticJacobianB" on integer constant
1_12jac.h:39: error: expected identifier or '(' before numeric constant
1_12jac.h:20:7: error: invalid suffix "_initialAnalyticJacobianA" on integer constant
1_12jac.h:20: error: expected identifier or '(' before numeric constant
1_12jac.h:49:11: error: macro names must be identifiers
1_12jac.h:50:7: error: invalid suffix "_functionJacC_column" on integer constant
1_12jac.h:50: error: expected identifier or '(' before numeric constant
1_12jac.h:51:7: error: invalid suffix "_initialAnalyticJacobianC" on integer constant
1_12jac.h:51: error: expected identifier or '(' before numeric constant
1_12jac.h:37:11: error: macro names must be identifiers
1_12jac.h:38:7: error: invalid suffix "_functionJacB_column" on integer constant
1_12jac.h:38: error: expected identifier or '(' before numeric constant
1_12jac.h:39:7: error: invalid suffix "_initialAnalyticJacobianB" on integer constant
1_12jac.h:39: error: expected identifier or '(' before numeric constant
1_12jac.h:61:11: error: macro names must be identifiers
1_12jac.h:62:7: error: invalid suffix "_functionJacD_column" on integer constant
1_12jac.h:62: error: expected identifier or '(' before numeric constant
1_12jac.h:63:7: error: invalid suffix "_initialAnalyticJacobianD" on integer constant
1_12jac.h:63: error: expected identifier or '(' before numeric constant
1_12jac.h:49:11: error: macro names must be identifiers
1_12jac.h:50:7: error: invalid suffix "_functionJacC_column" on integer constant
1_12jac.h:50: error: expected identifier or '(' before numeric constant
1_12jac.h:51:7: error: invalid suffix "_initialAnalyticJacobianC" on integer constant
1_12jac.h:51: error: expected identifier or '(' before numeric constant
1_12jac.h:61:11: error: macro names must be identifiers
1_12jac.h:62:7: error: invalid suffix "_functionJacD_column" on integer constant
1_12jac.h:62: error: expected identifier or '(' before numeric constant
1_12jac.h:63:7: error: invalid suffix "_initialAnalyticJacobianD" on integer constant
1_12jac.h:63: error: expected identifier or '(' before numeric constant
1_02nls.c:40:6: error: invalid suffix "_initialNonLinearSystem" on integer constant
1_02nls.c:40: error: expected identifier or '(' before numeric constant
1_03lsy.c:96:6: error: invalid suffix "_initialLinearSystem" on integer constant
1_03lsy.c:96: error: expected identifier or '(' before numeric constant
mingw32-make: *** [1_01exo.o] Error 1
mingw32-make: *** [1_04set.o] Error 1
mingw32-make: *** [1_02nls.o] Error 1
mingw32-make: *** [1_03lsy.o] Error 1
In file included from 1_05evt.c:19:
1_functions.h:1:9: error: macro names must be identifiers
1_05evt.c:40:6: error: invalid suffix "_function_initSample" on integer constant
1_05evt.c:40: error: expected identifier or '(' before numeric constant
1_05evt.c:46:13: error: invalid suffix "_zeroCrossingDescription" on integer constant
1_05evt.c:46: error: expected identifier or '(' before numeric constant
1_05evt.c:52:5: error: invalid suffix "_function_ZeroCrossings" on integer constant
1_05evt.c:52: error: expected identifier or '(' before numeric constant
1_05evt.c:59:13: error: invalid suffix "_relationDescription" on integer constant
1_05evt.c:59: error: expected identifier or '(' before numeric constant
1_05evt.c:64:5: error: invalid suffix "_function_updateRelations" on integer constant
1_05evt.c:64: error: expected identifier or '(' before numeric constant
1_05evt.c:77:5: error: invalid suffix "_checkForDiscreteChanges" on integer constant
1_05evt.c:77: error: expected identifier or '(' before numeric constant
mingw32-make: *** [1_05evt.o] Error 1
Compilation process exited with code 2

While right clicking a model in the working space, we get parameters and attributes. What are the functions of attributes and for what purpose its used...?Under attributes it has different options like variability, casuality. What does this refer to..?

Dec-12-13 08:28:54
How to initialize the model

Hi all...

I am trying to solve the example Simple pendulam model where I created the model using ( world,revolute,damper and body) as shown in example. But how to initialize the model (parameters like gravity..)..How to do it..? Can somebody help me..?current/sad

  • Index
  • » Users
  • » praveej
  • » Profile
You are here: