Notification: Performance of loadModel(Modelica): time 1.481/1.481, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.499e-06/9.568e-06, allocations: 1.156 kB / 247.5 MB, free: 4.566 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06202/0.0621, allocations: 44.35 MB / 291.9 MB, free: 9.137 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2617/0.3239, allocations: 105 MB / 396.8 MB, free: 14.66 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.3243, allocations: 92.94 kB / 396.9 MB, free: 14.64 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2522/0.5766, allocations: 64.39 MB / 461.3 MB, free: 5.418 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0004951/0.5772, allocations: 83.94 kB / 461.4 MB, free: 5.336 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.009675/0.5869, allocations: 3.238 MB / 464.6 MB, free: 2.039 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5871, allocations: 8.031 kB / 464.6 MB, free: 2.031 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.5895, allocations: 451.1 kB / 465.1 MB, free: 1.582 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007673/0.5973, allocations: 2.394 MB / 467.5 MB, free: 15.13 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.5976, allocations: 100 kB / 467.6 MB, free: 15.04 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.5988, allocations: 183.8 kB / 467.7 MB, free: 14.86 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00902/0.6079, allocations: 3.382 MB / 471.1 MB, free: 11.47 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.6188, allocations: 3.854 MB / 475 MB, free: 7.453 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.619, allocations: 15.83 kB / 475 MB, free: 7.438 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004477/0.6195, allocations: 7.938 kB / 475 MB, free: 7.43 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.6197, allocations: 130 kB / 475.1 MB, free: 7.301 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03006/0.6498, allocations: 13.09 MB / 488.2 MB, free: 9.867 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.6526, allocations: 1.314 MB / 489.5 MB, free: 8.547 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/0.656, allocations: 1.596 MB / 491.1 MB, free: 6.953 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.6566, allocations: 135.1 kB / 491.3 MB, free: 6.805 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.6567, allocations: 52.56 kB / 491.3 MB, free: 6.742 MB / 392.6 MB Notification: Performance of pre-optimization done (n=167): time 8.311e-06/0.6568, allocations: 7.922 kB / 491.3 MB, free: 6.734 MB / 392.6 MB Notification: Performance of matching and sorting (n=183): time 0.01668/0.6735, allocations: 6.431 MB / 497.7 MB, free: 240 kB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.6736, allocations: 73.39 kB / 497.8 MB, free: 152 kB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1672/0.8408, allocations: 1.726 MB / 499.5 MB, free: 50.98 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003329/0.8413, allocations: 25.7 kB / 499.6 MB, free: 50.95 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007259/0.8421, allocations: 1.121 MB / 0.4889 GB, free: 50.86 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008046/0.8429, allocations: 0.5795 MB / 0.4895 GB, free: 50.64 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.8432, allocations: 3.75 kB / 0.4895 GB, free: 50.64 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8434, allocations: 389.9 kB / 0.4899 GB, free: 50.33 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.8455, allocations: 1.089 MB / 0.491 GB, free: 50.33 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.8481, allocations: 1.473 MB / 0.4924 GB, free: 49.92 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.8507, allocations: 1.299 MB / 0.4937 GB, free: 49.9 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.8508, allocations: 3.688 kB / 0.4937 GB, free: 49.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007869/0.8587, allocations: 3.377 MB / 0.497 GB, free: 49.64 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.8588, allocations: 9.375 kB / 0.497 GB, free: 49.64 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/0.8589, allocations: 11.25 kB / 0.497 GB, free: 49.64 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/0.8618, allocations: 0.8048 MB / 0.4978 GB, free: 49.59 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/0.8647, allocations: 454 kB / 0.4982 GB, free: 49.59 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.8766, allocations: 10.13 MB / 0.5081 GB, free: 43.27 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.8793, allocations: 67.44 kB / 0.5082 GB, free: 43.27 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004795/0.8799, allocations: 79.66 kB / 0.5082 GB, free: 43.27 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.8802, allocations: 79.11 kB / 0.5083 GB, free: 43.2 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007022/0.881, allocations: 227.3 kB / 0.5085 GB, free: 43.08 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007142/0.8882, allocations: 3.18 MB / 0.5116 GB, free: 42.88 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.8883, allocations: 20.97 kB / 0.5117 GB, free: 42.88 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/0.8884, allocations: 7.812 kB / 0.5117 GB, free: 42.88 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/0.8885, allocations: 6.469 kB / 0.5117 GB, free: 42.88 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.9042, allocations: 6.475 MB / 0.518 GB, free: 42.34 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.9044, allocations: 3.25 kB / 0.518 GB, free: 42.34 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/0.9067, allocations: 305.1 kB / 0.5183 GB, free: 42.34 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003717/0.9105, allocations: 0.9084 MB / 0.5192 GB, free: 42.27 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003421/0.911, allocations: 18.53 kB / 0.5192 GB, free: 42.27 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.9256, allocations: 12.65 MB / 0.5315 GB, free: 33.79 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.822e-06/0.9258, allocations: 0 / 0.5315 GB, free: 33.79 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009751/0.9356, allocations: 4.926 MB / 0.5363 GB, free: 33.14 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/0.9375, allocations: 0.5496 MB / 0.5369 GB, free: 32.82 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007898/0.9384, allocations: 9.438 kB / 0.5369 GB, free: 32.82 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/0.9407, allocations: 93.83 kB / 0.537 GB, free: 32.82 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/0.9413, allocations: 116.5 kB / 0.5371 GB, free: 32.8 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/0.9415, allocations: 52.52 kB / 0.5371 GB, free: 32.79 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002618/0.9442, allocations: 1.311 MB / 0.5384 GB, free: 32.23 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003653/0.9479, allocations: 0.6394 MB / 0.539 GB, free: 32.23 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004193/0.9485, allocations: 264 kB / 0.5393 GB, free: 32.16 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005926/0.9545, allocations: 3.387 MB / 0.5426 GB, free: 30.57 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.9546, allocations: 3.609 kB / 0.5426 GB, free: 30.57 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/0.9588, allocations: 2.32 MB / 0.5449 GB, free: 29.3 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/0.9626, allocations: 0.5014 MB / 0.5454 GB, free: 29.17 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.9765, allocations: 5.564 MB / 0.5508 GB, free: 27.19 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004215/0.9808, allocations: 2.716 MB / 0.5535 GB, free: 26.09 MB / 392.6 MB Notification: Performance of SimCode: time 2.445e-06/0.981, allocations: 0 / 0.5535 GB, free: 26.09 MB / 392.6 MB Notification: Performance of Templates: time 0.1447/1.126, allocations: 35.05 MB / 0.5877 GB, free: 23.65 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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_Machines_Examples_AsynchronousInductionMachines_AIMS_Start -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2695:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_300(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2696:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_301(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2697:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_302(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2698:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_305(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2699:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_306(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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.o] Error 1