Notification: Performance of loadModel(Modelica): time 1.528/1.528, allocations: 194.5 MB / 200.7 MB, free: 7.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.013e-05, allocations: 1.031 kB / 247.4 MB, free: 5.492 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06259/0.06267, allocations: 44.36 MB / 291.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.3007, allocations: 87.81 MB / 379.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.301, allocations: 82.7 kB / 379.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.09095/0.3921, allocations: 22.53 MB / 402.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.775e-05/0.3923, allocations: 16.94 kB / 402.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of Generate backend data structure: time 0.001858/0.3942, allocations: 0.9913 MB / 403.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3943, allocations: 9.125 kB / 403.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007932/0.3952, allocations: 147.3 kB / 403.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.397, allocations: 0.6862 MB / 404 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.3971, allocations: 25.69 kB / 404 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.3973, allocations: 56.7 kB / 404.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001749/0.3991, allocations: 429.6 kB / 404.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.4007, allocations: 0.6279 MB / 405.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.4008, allocations: 7.906 kB / 405.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.401, allocations: 0 / 405.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.401, allocations: 20 kB / 405.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005603/0.4067, allocations: 3.315 MB / 408.5 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.4071, allocations: 121.2 kB / 408.6 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.4073, allocations: 86.3 kB / 408.7 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.4074, allocations: 4 kB / 408.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.4075, allocations: 42 kB / 408.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.911e-06/0.4076, allocations: 3.938 kB / 408.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001651/0.4093, allocations: 0.7499 MB / 409.5 MB, free: 8.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.4094, allocations: 85.28 kB / 409.6 MB, free: 8.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.4102, allocations: 0.52 MB / 410.1 MB, free: 8.316 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.4105, allocations: 29.7 kB / 410.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.4107, allocations: 429.2 kB / 410.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.4109, allocations: 104.6 kB / 410.6 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.411, allocations: 0 / 410.6 MB, free: 7.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4111, allocations: 373.6 kB / 411 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.4114, allocations: 93.19 kB / 411.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.4118, allocations: 376 kB / 411.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.4122, allocations: 164.7 kB / 411.6 MB, free: 6.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.4123, allocations: 4 kB / 411.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001119/0.4134, allocations: 0.4895 MB / 412.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4135, allocations: 4.906 kB / 412.1 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.4136, allocations: 12 kB / 412.1 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.4138, allocations: 32.3 kB / 412.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.4147, allocations: 150.1 kB / 412.3 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009299/0.4157, allocations: 1.246 MB / 413.5 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.4166, allocations: 28.14 kB / 413.6 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.4168, allocations: 27.5 kB / 413.6 MB, free: 4.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/0.4169, allocations: 90.73 kB / 413.7 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.417, allocations: 63.25 kB / 413.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006251/0.4177, allocations: 259.4 kB / 414 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.4178, allocations: 4 kB / 414 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-06/0.4179, allocations: 4 kB / 414 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.87e-06/0.4179, allocations: 3.984 kB / 414 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.4198, allocations: 0.9096 MB / 414.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.355e-06/0.4199, allocations: 4 kB / 414.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.4204, allocations: 63.77 kB / 415 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.4206, allocations: 28.08 kB / 415 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.4207, allocations: 7.906 kB / 415 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008825/0.4216, allocations: 1.221 MB / 416.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.4217, allocations: 4.031 kB / 416.3 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009803/0.4227, allocations: 0.5636 MB / 416.8 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.4231, allocations: 164.9 kB / 417 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4233, allocations: 3.938 kB / 417 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.4239, allocations: 24.08 kB / 417 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.424, allocations: 27.27 kB / 417 MB, free: 1.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.4241, allocations: 8 kB / 417 MB, free: 1.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000611/0.4247, allocations: 395.1 kB / 417.4 MB, free: 1.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001002/0.4258, allocations: 151.3 kB / 417.6 MB, free: 1.156 MB / 314.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003156/0.4262, allocations: 217.8 kB / 417.8 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00079/0.427, allocations: 391.4 kB / 418.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.238e-06/0.4271, allocations: 2.125 kB / 418.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.4275, allocations: 207.6 kB / 418.4 MB, free: 476 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.4288, allocations: 137.8 kB / 418.5 MB, free: 368 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.4315, allocations: 1.011 MB / 419.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/0.4324, allocations: 1.007 MB / 420.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of SimCode: time 2.235e-06/0.4325, allocations: 0 / 420.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of Templates: time 0.09401/0.5265, allocations: 7.201 MB / 427.7 MB, free: 7.254 MB / 330.7 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_Machines_Examples_DCMachines_DCPM_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.Machines.Examples.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.Machines.Examples.DCMachines.DCPM_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.Machines.Examples.DCMachines.DCPM_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_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.Machines.Examples.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.Machines.Examples.DCMachines.DCPM_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.Machines.Examples.DCMachines.DCPM_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_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.Machines.Examples.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.Machines.Examples.DCMachines.DCPM_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_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.Machines.Examples.DCMachines.DCPM_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:564:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_88(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:565:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_90(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:566:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_91(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:567:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_93(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.c:568:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_eqFunction_94(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.o] Error 1