Notification: Performance of loadModel(Modelica): time 1.553/1.553, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.041e-05, allocations: 2.25 kB / 247.4 MB, free: 4.676 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06215/0.06223, allocations: 44.35 MB / 291.8 MB, free: 9.23 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/0.309, allocations: 97.47 MB / 389.3 MB, free: 1.895 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.3094, allocations: 89.97 kB / 389.3 MB, free: 1.879 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1757/0.4852, allocations: 40.31 MB / 429.6 MB, free: 4.785 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0002351/0.4855, allocations: 47.94 kB / 429.7 MB, free: 4.738 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.007098/0.4927, allocations: 1.975 MB / 431.7 MB, free: 2.836 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4929, allocations: 15.97 kB / 431.7 MB, free: 2.82 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.4944, allocations: 265.2 kB / 431.9 MB, free: 2.559 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.4984, allocations: 1.421 MB / 433.4 MB, free: 1.426 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.4986, allocations: 59.5 kB / 433.4 MB, free: 1.371 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000586/0.4993, allocations: 104 kB / 433.5 MB, free: 1.27 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004935/0.5043, allocations: 1.791 MB / 435.3 MB, free: 15.62 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006127/0.5105, allocations: 2.104 MB / 437.4 MB, free: 13.44 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.215e-05/0.5107, allocations: 11.98 kB / 437.4 MB, free: 13.43 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.511, allocations: 4 kB / 437.4 MB, free: 13.42 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.584e-05/0.5111, allocations: 83.5 kB / 437.5 MB, free: 13.34 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01627/0.5274, allocations: 7.167 MB / 444.7 MB, free: 5.973 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.5293, allocations: 0.7236 MB / 445.4 MB, free: 5.234 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.5309, allocations: 0.7514 MB / 446.2 MB, free: 4.48 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.5313, allocations: 129.8 kB / 446.3 MB, free: 4.336 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.5314, allocations: 51.33 kB / 446.3 MB, free: 4.277 MB / 344.6 MB Notification: Performance of pre-optimization done (n=87): time 6.146e-06/0.5314, allocations: 0 / 446.3 MB, free: 4.277 MB / 344.6 MB Notification: Performance of matching and sorting (n=103): time 0.01011/0.5416, allocations: 3.966 MB / 450.3 MB, free: 256 kB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.5417, allocations: 64.34 kB / 450.4 MB, free: 176 kB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.544, allocations: 1 MB / 451.4 MB, free: 15.16 MB / 360.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.5443, allocations: 25.7 kB / 451.4 MB, free: 15.13 MB / 360.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.5447, allocations: 0.7124 MB / 452.1 MB, free: 14.4 MB / 360.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.5451, allocations: 350.9 kB / 452.4 MB, free: 14.05 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.5452, allocations: 0 / 452.4 MB, free: 14.05 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.5453, allocations: 353.9 kB / 452.8 MB, free: 13.7 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.5467, allocations: 0.6039 MB / 453.4 MB, free: 13.1 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.548, allocations: 0.8844 MB / 454.3 MB, free: 12.09 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.5497, allocations: 0.7446 MB / 455 MB, free: 11.35 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.5498, allocations: 4 kB / 455 MB, free: 11.34 MB / 360.6 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005985/0.5559, allocations: 2.279 MB / 457.3 MB, free: 9.047 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.556, allocations: 8 kB / 457.3 MB, free: 9.039 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.5561, allocations: 11.94 kB / 457.3 MB, free: 9.027 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.5589, allocations: 0.7706 MB / 458.1 MB, free: 8.25 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5604, allocations: 231.7 kB / 458.3 MB, free: 8.023 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.5741, allocations: 7.775 MB / 466.1 MB, free: 16 kB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.5758, allocations: 44.02 kB / 466.1 MB, free: 15.97 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.5761, allocations: 47.92 kB / 466.2 MB, free: 15.93 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.5763, allocations: 75.28 kB / 466.3 MB, free: 15.85 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.5769, allocations: 138.4 kB / 466.4 MB, free: 15.71 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/0.5813, allocations: 1.812 MB / 468.2 MB, free: 13.88 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.5815, allocations: 8 kB / 468.2 MB, free: 13.87 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.5815, allocations: 4 kB / 468.2 MB, free: 13.87 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.5816, allocations: 11.97 kB / 468.2 MB, free: 13.86 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/0.5904, allocations: 3.682 MB / 471.9 MB, free: 10.1 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.5905, allocations: 0 / 471.9 MB, free: 10.1 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.5919, allocations: 192 kB / 472.1 MB, free: 9.91 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.5937, allocations: 462.9 kB / 472.6 MB, free: 9.445 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.594, allocations: 19.97 kB / 472.6 MB, free: 9.426 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007126/0.6011, allocations: 5.72 MB / 478.3 MB, free: 3.352 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.59e-06/0.6013, allocations: 4 kB / 478.3 MB, free: 3.348 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005378/0.6067, allocations: 2.8 MB / 481.1 MB, free: 472 kB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.6078, allocations: 351.3 kB / 481.4 MB, free: 100 kB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.6082, allocations: 15.98 kB / 481.5 MB, free: 84 kB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.6096, allocations: 47.95 kB / 481.5 MB, free: 36 kB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.6099, allocations: 64.62 kB / 481.6 MB, free: 15.97 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.6101, allocations: 35.98 kB / 481.6 MB, free: 15.94 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001692/0.6118, allocations: 0.7517 MB / 482.4 MB, free: 15.18 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002143/0.6141, allocations: 400.2 kB / 482.7 MB, free: 14.79 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004187/0.6146, allocations: 234.7 kB / 483 MB, free: 14.55 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004038/0.6187, allocations: 1.852 MB / 484.8 MB, free: 12.69 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.985e-06/0.6188, allocations: 0.625 kB / 484.8 MB, free: 12.69 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002691/0.6216, allocations: 1.248 MB / 486.1 MB, free: 11.38 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.6238, allocations: 264.2 kB / 486.3 MB, free: 11.12 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.6319, allocations: 3.259 MB / 489.6 MB, free: 7.785 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002452/0.6344, allocations: 1.808 MB / 491.4 MB, free: 5.949 MB / 392.6 MB Notification: Performance of SimCode: time 2.165e-06/0.6345, allocations: 0 / 491.4 MB, free: 5.949 MB / 392.6 MB Notification: Performance of Templates: time 0.2706/0.9052, allocations: 20.22 MB / 0.4996 GB, free: 92.67 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_AIMC_Initialize -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -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.AIMC_Initialize.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.AIMC_Initialize.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.AIMC_Initialize.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_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.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.AIMC_Initialize.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.AIMC_Initialize.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_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.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.AIMC_Initialize.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_AIMC_Initialize_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.AIMC_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.c:1571:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_eqFunction_204(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.c:1572:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_eqFunction_206(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.c:1573:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_eqFunction_207(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.c:1574:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_eqFunction_209(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.c:1575:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_eqFunction_212(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.AIMC_Initialize.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.o] Error 1