Notification: Performance of loadModel(Modelica): time 1.539/1.539, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.097e-05, allocations: 1.125 kB / 247.4 MB, free: 4.617 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0714/0.07149, allocations: 44.37 MB / 291.8 MB, free: 9.191 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.259/0.3306, allocations: 102.9 MB / 394.7 MB, free: 15.79 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.331, allocations: 93.81 kB / 394.8 MB, free: 15.77 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2083/0.5394, allocations: 50.01 MB / 444.8 MB, free: 6.309 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0002218/0.5398, allocations: 59.94 kB / 444.8 MB, free: 6.25 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.006516/0.5463, allocations: 2.426 MB / 447.3 MB, free: 3.758 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5465, allocations: 11.97 kB / 447.3 MB, free: 3.746 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.5482, allocations: 328.3 kB / 447.6 MB, free: 3.422 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/0.5534, allocations: 1.771 MB / 449.4 MB, free: 1.602 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.5536, allocations: 64 kB / 449.4 MB, free: 1.539 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/0.5542, allocations: 127.9 kB / 449.5 MB, free: 1.414 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005338/0.5596, allocations: 1.976 MB / 451.5 MB, free: 15.43 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006271/0.566, allocations: 2.33 MB / 453.9 MB, free: 13 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.25e-05/0.5661, allocations: 7.906 kB / 453.9 MB, free: 12.99 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.5664, allocations: 0 / 453.9 MB, free: 12.99 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.5666, allocations: 91.91 kB / 454 MB, free: 12.9 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.5846, allocations: 7.963 MB / 461.9 MB, free: 4.746 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.5869, allocations: 0.8935 MB / 462.8 MB, free: 3.848 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.5886, allocations: 0.8784 MB / 463.7 MB, free: 2.969 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/0.589, allocations: 142 kB / 463.8 MB, free: 2.812 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5891, allocations: 51.5 kB / 463.9 MB, free: 2.754 MB / 360.6 MB Notification: Performance of pre-optimization done (n=115): time 5.238e-06/0.5892, allocations: 0 / 463.9 MB, free: 2.754 MB / 360.6 MB Notification: Performance of matching and sorting (n=131): time 0.01236/0.6016, allocations: 4.811 MB / 468.7 MB, free: 13.86 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.6017, allocations: 64.72 kB / 468.7 MB, free: 13.79 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/0.605, allocations: 1.672 MB / 470.4 MB, free: 12.11 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.6053, allocations: 25.7 kB / 470.4 MB, free: 12.08 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006228/0.606, allocations: 0.7823 MB / 471.2 MB, free: 11.29 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000424/0.6065, allocations: 433.4 kB / 471.7 MB, free: 10.86 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.6067, allocations: 0 / 471.7 MB, free: 10.86 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.6068, allocations: 369.8 kB / 472 MB, free: 10.49 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.6081, allocations: 0.6951 MB / 472.7 MB, free: 9.793 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.6098, allocations: 0.951 MB / 473.7 MB, free: 8.75 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.6114, allocations: 0.8417 MB / 474.5 MB, free: 7.91 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.705e-06/0.6115, allocations: 0 / 474.5 MB, free: 7.91 MB / 376.6 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006515/0.618, allocations: 2.591 MB / 477.1 MB, free: 5.301 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.6182, allocations: 12.19 kB / 477.1 MB, free: 5.289 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.6183, allocations: 11.94 kB / 477.1 MB, free: 5.277 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.6212, allocations: 0.8344 MB / 477.9 MB, free: 4.438 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.623, allocations: 267.6 kB / 478.2 MB, free: 4.176 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/0.6386, allocations: 8.433 MB / 486.6 MB, free: 11.5 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.6405, allocations: 56 kB / 486.7 MB, free: 11.44 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.6408, allocations: 51.98 kB / 486.8 MB, free: 11.39 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.641, allocations: 75.28 kB / 486.8 MB, free: 11.32 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005663/0.6417, allocations: 185.7 kB / 487 MB, free: 11.13 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005634/0.6474, allocations: 2.372 MB / 489.4 MB, free: 8.738 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.6475, allocations: 15.98 kB / 489.4 MB, free: 8.723 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.6476, allocations: 8 kB / 489.4 MB, free: 8.715 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.6476, allocations: 3.984 kB / 489.4 MB, free: 8.711 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.6595, allocations: 4.61 MB / 494 MB, free: 4.02 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/0.6596, allocations: 4 kB / 494 MB, free: 4.016 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.6612, allocations: 215.8 kB / 494.2 MB, free: 3.805 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00276/0.664, allocations: 0.6988 MB / 494.9 MB, free: 3.094 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.6644, allocations: 19.97 kB / 494.9 MB, free: 3.074 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1591/0.8235, allocations: 7.819 MB / 0.491 GB, free: 83.77 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.311e-06/0.8236, allocations: 7.25 kB / 0.491 GB, free: 83.77 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006872/0.8305, allocations: 3.472 MB / 0.4944 GB, free: 83.44 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.8318, allocations: 451.7 kB / 0.4948 GB, free: 83.34 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004555/0.8323, allocations: 16.95 kB / 0.4948 GB, free: 83.34 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.8339, allocations: 62.95 kB / 0.4949 GB, free: 83.34 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.8342, allocations: 74.69 kB / 0.495 GB, free: 83.34 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.8344, allocations: 43.64 kB / 0.495 GB, free: 83.34 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002157/0.8366, allocations: 1.271 MB / 0.4962 GB, free: 83.23 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002582/0.8393, allocations: 0.4951 MB / 0.4967 GB, free: 83.23 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0007649/0.8401, allocations: 394.9 kB / 0.4971 GB, free: 83.16 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004482/0.8447, allocations: 2.224 MB / 0.4993 GB, free: 82.83 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.495e-06/0.8448, allocations: 0 / 0.4993 GB, free: 82.83 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002916/0.8478, allocations: 1.523 MB / 0.5008 GB, free: 82.35 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.8501, allocations: 311.5 kB / 0.5011 GB, free: 82.33 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009601/0.8598, allocations: 4.22 MB / 0.5052 GB, free: 81.49 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002688/0.8626, allocations: 2.086 MB / 0.5072 GB, free: 80.76 MB / 392.6 MB Notification: Performance of SimCode: time 2.096e-06/0.8626, allocations: 0 / 0.5072 GB, free: 80.76 MB / 392.6 MB Notification: Performance of Templates: time 0.1715/1.034, allocations: 25.98 MB / 0.5326 GB, free: 78.99 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses -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_withLosses.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_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_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_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_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses_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_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1782:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_231(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1783:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_233(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1784:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_234(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1785:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_236(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1786:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_240(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_withLosses.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.o] Error 1