Notification: Performance of loadModel(Modelica): time 1.499/1.499, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.118e-05, allocations: 1.531 kB / 247.5 MB, free: 4.531 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05953/0.05961, allocations: 44.35 MB / 291.9 MB, free: 9.133 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2535/0.3133, allocations: 105 MB / 396.8 MB, free: 14.69 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.3136, allocations: 90.28 kB / 396.9 MB, free: 14.67 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2511/0.5648, allocations: 64.4 MB / 461.3 MB, free: 5.609 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0003077/0.5652, allocations: 87.94 kB / 461.4 MB, free: 5.523 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.009585/0.5748, allocations: 3.241 MB / 464.6 MB, free: 2.223 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.575, allocations: 8.031 kB / 464.6 MB, free: 2.215 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.5774, allocations: 443.2 kB / 465.1 MB, free: 1.777 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007623/0.5851, allocations: 2.398 MB / 467.5 MB, free: 15.33 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.5854, allocations: 103.9 kB / 467.6 MB, free: 15.23 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.5866, allocations: 183.9 kB / 467.7 MB, free: 15.05 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008887/0.5956, allocations: 3.374 MB / 471.1 MB, free: 11.67 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.6069, allocations: 3.858 MB / 475 MB, free: 7.645 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.6071, allocations: 7.906 kB / 475 MB, free: 7.637 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007733/0.608, allocations: 8 kB / 475 MB, free: 7.629 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.6082, allocations: 141.9 kB / 475.1 MB, free: 7.488 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03054/0.6388, allocations: 13.08 MB / 488.2 MB, free: 10.07 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.6415, allocations: 1.325 MB / 489.5 MB, free: 8.738 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003284/0.6449, allocations: 1.585 MB / 491.1 MB, free: 7.156 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003848/0.6453, allocations: 147 kB / 491.3 MB, free: 6.996 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.6455, allocations: 60.48 kB / 491.3 MB, free: 6.926 MB / 392.6 MB Notification: Performance of pre-optimization done (n=167): time 8.8e-06/0.6455, allocations: 4 kB / 491.3 MB, free: 6.922 MB / 392.6 MB Notification: Performance of matching and sorting (n=183): time 0.01606/0.6616, allocations: 6.419 MB / 497.7 MB, free: 440 kB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.6618, allocations: 81.41 kB / 497.8 MB, free: 344 kB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1609/0.8227, allocations: 1.722 MB / 499.5 MB, free: 48.18 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003137/0.8231, allocations: 25.7 kB / 499.6 MB, free: 48.14 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.8238, allocations: 1.12 MB / 0.4889 GB, free: 48.05 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005736/0.8244, allocations: 0.5903 MB / 0.4895 GB, free: 47.83 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.8246, allocations: 0 / 0.4895 GB, free: 47.83 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8248, allocations: 386.1 kB / 0.4899 GB, free: 47.52 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.8268, allocations: 1.083 MB / 0.4909 GB, free: 47.52 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.829, allocations: 1.473 MB / 0.4924 GB, free: 47.11 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.8315, allocations: 1.302 MB / 0.4937 GB, free: 47.1 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.8316, allocations: 3.438 kB / 0.4937 GB, free: 47.1 MB / 392.6 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007176/0.8389, allocations: 3.376 MB / 0.497 GB, free: 46.84 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.839, allocations: 9.281 kB / 0.497 GB, free: 46.84 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.8391, allocations: 14.03 kB / 0.497 GB, free: 46.84 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/0.8418, allocations: 0.8104 MB / 0.4978 GB, free: 46.79 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/0.8445, allocations: 453.5 kB / 0.4982 GB, free: 46.79 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.8567, allocations: 10.13 MB / 0.5081 GB, free: 40.47 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.8594, allocations: 72.2 kB / 0.5082 GB, free: 40.46 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.8597, allocations: 76.16 kB / 0.5082 GB, free: 40.46 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.8601, allocations: 79 kB / 0.5083 GB, free: 40.39 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009297/0.8611, allocations: 227.6 kB / 0.5085 GB, free: 40.27 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/0.8684, allocations: 3.176 MB / 0.5116 GB, free: 40.08 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.8685, allocations: 17.38 kB / 0.5116 GB, free: 40.08 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.8686, allocations: 7.812 kB / 0.5117 GB, free: 40.08 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-05/0.8687, allocations: 7.453 kB / 0.5117 GB, free: 40.08 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.8833, allocations: 6.48 MB / 0.518 GB, free: 39.54 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.8834, allocations: 3.906 kB / 0.518 GB, free: 39.54 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/0.8855, allocations: 302.3 kB / 0.5183 GB, free: 39.54 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/0.8891, allocations: 0.9055 MB / 0.5192 GB, free: 39.47 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/0.8895, allocations: 25.7 kB / 0.5192 GB, free: 39.46 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/0.9027, allocations: 12.64 MB / 0.5315 GB, free: 30.98 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.985e-06/0.9028, allocations: 0 / 0.5315 GB, free: 30.98 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009043/0.9119, allocations: 4.933 MB / 0.5364 GB, free: 30.29 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/0.9136, allocations: 0.5466 MB / 0.5369 GB, free: 29.95 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004876/0.9141, allocations: 9.375 kB / 0.5369 GB, free: 29.95 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.916, allocations: 89 kB / 0.537 GB, free: 29.95 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003341/0.9164, allocations: 124.3 kB / 0.5371 GB, free: 29.93 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/0.9167, allocations: 51.89 kB / 0.5371 GB, free: 29.92 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002304/0.919, allocations: 1.31 MB / 0.5384 GB, free: 29.37 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00313/0.9223, allocations: 0.6377 MB / 0.539 GB, free: 29.36 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003906/0.9227, allocations: 265.5 kB / 0.5393 GB, free: 29.3 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005517/0.9283, allocations: 3.391 MB / 0.5426 GB, free: 27.7 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.565e-06/0.9284, allocations: 3.875 kB / 0.5426 GB, free: 27.7 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003823/0.9323, allocations: 2.318 MB / 0.5449 GB, free: 26.42 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/0.9356, allocations: 0.5078 MB / 0.5454 GB, free: 26.3 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.9484, allocations: 5.558 MB / 0.5508 GB, free: 24.32 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003676/0.9522, allocations: 2.715 MB / 0.5535 GB, free: 23.23 MB / 392.6 MB Notification: Performance of SimCode: time 2.514e-06/0.9523, allocations: 0 / 0.5535 GB, free: 23.23 MB / 392.6 MB Notification: Performance of Templates: time 0.1591/1.111, allocations: 35.06 MB / 0.5877 GB, free: 20.8 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2695:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_300(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2696:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_301(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2697:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_302(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2698:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_eqFunction_305(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.c:2699:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.o] Error 1