Notification: Performance of loadModel(Modelica): time 1.559/1.559, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.048e-05, allocations: 1.156 kB / 247.4 MB, free: 4.602 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06773/0.06781, allocations: 44.36 MB / 291.8 MB, free: 9.199 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.3421, allocations: 102.9 MB / 394.7 MB, free: 15.35 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.3425, allocations: 88.5 kB / 394.8 MB, free: 15.34 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2062/0.5487, allocations: 50.02 MB / 444.8 MB, free: 6.207 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0001854/0.549, allocations: 67.94 kB / 444.8 MB, free: 6.141 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.00646/0.5555, allocations: 2.422 MB / 447.3 MB, free: 3.652 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5557, allocations: 11.97 kB / 447.3 MB, free: 3.641 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.5573, allocations: 328.3 kB / 447.6 MB, free: 3.316 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.562, allocations: 1.775 MB / 449.4 MB, free: 1.492 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.5621, allocations: 64 kB / 449.4 MB, free: 1.43 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004186/0.5626, allocations: 127.9 kB / 449.5 MB, free: 1.305 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005133/0.5678, allocations: 1.972 MB / 451.5 MB, free: 15.33 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005875/0.5738, allocations: 2.326 MB / 453.8 MB, free: 12.89 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.697e-05/0.5739, allocations: 11.84 kB / 453.9 MB, free: 12.88 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.5742, allocations: 4 kB / 453.9 MB, free: 12.88 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-05/0.5744, allocations: 91.89 kB / 454 MB, free: 12.79 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01828/0.5927, allocations: 7.963 MB / 461.9 MB, free: 4.633 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.5949, allocations: 0.8969 MB / 462.8 MB, free: 3.73 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.5968, allocations: 0.8745 MB / 463.7 MB, free: 2.855 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/0.5972, allocations: 134 kB / 463.8 MB, free: 2.707 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.5973, allocations: 51.56 kB / 463.9 MB, free: 2.648 MB / 360.6 MB Notification: Performance of pre-optimization done (n=115): time 6.495e-06/0.5974, allocations: 0 / 463.9 MB, free: 2.648 MB / 360.6 MB Notification: Performance of matching and sorting (n=131): time 0.01288/0.6103, allocations: 4.816 MB / 468.7 MB, free: 13.75 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.6104, allocations: 68.72 kB / 468.8 MB, free: 13.68 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.6137, allocations: 1.668 MB / 470.4 MB, free: 12 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.614, allocations: 25.7 kB / 470.4 MB, free: 11.97 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.6145, allocations: 0.7902 MB / 471.2 MB, free: 11.17 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/0.615, allocations: 433.4 kB / 471.7 MB, free: 10.74 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.6151, allocations: 0 / 471.7 MB, free: 10.74 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0002793/0.6155, allocations: 365.8 kB / 472 MB, free: 10.38 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.6168, allocations: 0.699 MB / 472.7 MB, free: 9.676 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.6183, allocations: 0.9472 MB / 473.7 MB, free: 8.637 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.6202, allocations: 0.8416 MB / 474.5 MB, free: 7.797 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.289e-06/0.6203, allocations: 4 kB / 474.5 MB, free: 7.793 MB / 376.6 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006416/0.6268, allocations: 2.587 MB / 477.1 MB, free: 5.188 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6269, allocations: 11.94 kB / 477.1 MB, free: 5.176 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/0.627, allocations: 8 kB / 477.1 MB, free: 5.168 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/0.6302, allocations: 0.8347 MB / 477.9 MB, free: 4.328 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.632, allocations: 267.6 kB / 478.2 MB, free: 4.066 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.6469, allocations: 8.43 MB / 486.6 MB, free: 11.39 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.649, allocations: 51.94 kB / 486.7 MB, free: 11.34 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/0.6494, allocations: 63.98 kB / 486.8 MB, free: 11.28 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.6496, allocations: 79.28 kB / 486.8 MB, free: 11.2 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/0.6503, allocations: 189.6 kB / 487 MB, free: 11.01 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/0.656, allocations: 2.368 MB / 489.4 MB, free: 8.621 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.6562, allocations: 12 kB / 489.4 MB, free: 8.609 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.6562, allocations: 8 kB / 489.4 MB, free: 8.602 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.6563, allocations: 3.984 kB / 489.4 MB, free: 8.598 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.668, allocations: 4.614 MB / 494 MB, free: 3.902 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/0.6681, allocations: 4 kB / 494 MB, free: 3.898 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.6699, allocations: 211.9 kB / 494.2 MB, free: 3.688 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.6727, allocations: 0.6988 MB / 494.9 MB, free: 2.977 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/0.6731, allocations: 19.97 kB / 494.9 MB, free: 2.957 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1644/0.8375, allocations: 7.813 MB / 0.491 GB, free: 60.75 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.381e-06/0.8376, allocations: 11.05 kB / 0.491 GB, free: 60.75 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007428/0.8451, allocations: 3.482 MB / 0.4944 GB, free: 60.42 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.8465, allocations: 452.7 kB / 0.4948 GB, free: 60.32 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/0.847, allocations: 13.2 kB / 0.4948 GB, free: 60.32 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.8487, allocations: 62.38 kB / 0.4949 GB, free: 60.32 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/0.8491, allocations: 73.28 kB / 0.495 GB, free: 60.32 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.8493, allocations: 38.84 kB / 0.495 GB, free: 60.32 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002205/0.8515, allocations: 1.274 MB / 0.4962 GB, free: 60.21 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002637/0.8543, allocations: 0.4937 MB / 0.4967 GB, free: 60.21 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000828/0.8552, allocations: 393.1 kB / 0.4971 GB, free: 60.14 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004763/0.86, allocations: 2.226 MB / 0.4993 GB, free: 59.81 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.822e-06/0.8601, allocations: 0 / 0.4993 GB, free: 59.81 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.8634, allocations: 1.521 MB / 0.5008 GB, free: 59.33 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.8659, allocations: 311.7 kB / 0.5011 GB, free: 59.31 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.8763, allocations: 4.225 MB / 0.5052 GB, free: 58.47 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/0.8794, allocations: 2.08 MB / 0.5072 GB, free: 57.74 MB / 392.6 MB Notification: Performance of SimCode: time 2.654e-06/0.8795, allocations: 0 / 0.5072 GB, free: 57.74 MB / 392.6 MB Notification: Performance of Templates: time 0.1145/0.994, allocations: 25.97 MB / 0.5326 GB, free: 55.97 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1782:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_231(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1783:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_233(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1784:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_234(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1785:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_236(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1786:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.o] Error 1