Notification: Performance of loadModel(Modelica): time 1.558/1.558, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.299e-05/1.306e-05, allocations: 2.219 kB / 247.3 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09162, allocations: 44.36 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3245/0.4163, allocations: 112.2 MB / 403.9 MB, free: 7.789 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4166, allocations: 90.62 kB / 404 MB, free: 7.742 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.6194/1.036, allocations: 131.8 MB / 0.5233 GB, free: 52.79 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004161/1.037, allocations: 129.5 kB / 0.5234 GB, free: 52.77 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01602/1.053, allocations: 4.772 MB / 0.5281 GB, free: 50.93 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.053, allocations: 7.469 kB / 0.5281 GB, free: 50.93 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007869/1.061, allocations: 0.9836 MB / 0.529 GB, free: 50.62 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/1.075, allocations: 4.504 MB / 0.5334 GB, free: 49.89 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/1.075, allocations: 156.5 kB / 0.5336 GB, free: 49.89 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/1.077, allocations: 287.2 kB / 0.5338 GB, free: 49.89 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01322/1.09, allocations: 5.222 MB / 0.5389 GB, free: 49.87 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/1.107, allocations: 5.986 MB / 0.5448 GB, free: 49.27 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/1.107, allocations: 17.17 kB / 0.5448 GB, free: 49.27 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009973/1.108, allocations: 3.094 kB / 0.5448 GB, free: 49.27 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/1.108, allocations: 242.5 kB / 0.545 GB, free: 49.26 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0444/1.153, allocations: 20.21 MB / 0.5648 GB, free: 41.24 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/1.157, allocations: 1.991 MB / 0.5667 GB, free: 40.46 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005614/1.163, allocations: 2.603 MB / 0.5693 GB, free: 39.55 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01403/1.177, allocations: 5.475 MB / 0.5746 GB, free: 36.32 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.177, allocations: 64.56 kB / 0.5747 GB, free: 36.25 MB / 392.6 MB Notification: Performance of pre-optimization done (n=254): time 9.499e-06/1.177, allocations: 0 / 0.5747 GB, free: 36.25 MB / 392.6 MB Notification: Performance of matching and sorting (n=261): time 0.02/1.197, allocations: 7.824 MB / 0.5823 GB, free: 29.21 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/1.197, allocations: 85.41 kB / 0.5824 GB, free: 29.11 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/1.202, allocations: 2.124 MB / 0.5845 GB, free: 27.2 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004209/1.202, allocations: 29.7 kB / 0.5845 GB, free: 27.17 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008613/1.203, allocations: 1.695 MB / 0.5862 GB, free: 25.69 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008662/1.204, allocations: 0.8332 MB / 0.587 GB, free: 24.93 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/1.204, allocations: 4 kB / 0.587 GB, free: 24.92 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001977/1.205, allocations: 420.2 kB / 0.5874 GB, free: 24.54 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/1.207, allocations: 1.357 MB / 0.5887 GB, free: 23.32 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/1.211, allocations: 1.943 MB / 0.5906 GB, free: 21.32 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/1.215, allocations: 1.727 MB / 0.5923 GB, free: 19.83 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/1.215, allocations: 4 kB / 0.5923 GB, free: 19.82 MB / 392.6 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.01016/1.225, allocations: 4.265 MB / 0.5964 GB, free: 16 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.225, allocations: 4 kB / 0.5965 GB, free: 16 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/1.225, allocations: 16 kB / 0.5965 GB, free: 15.98 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/1.228, allocations: 0.6461 MB / 0.5971 GB, free: 15.44 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/1.231, allocations: 0.6113 MB / 0.5977 GB, free: 14.92 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/1.244, allocations: 9.39 MB / 0.6069 GB, free: 5.789 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/1.248, allocations: 55.41 kB / 0.6069 GB, free: 5.746 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005382/1.248, allocations: 111.9 kB / 0.607 GB, free: 5.641 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/1.249, allocations: 83.19 kB / 0.6071 GB, free: 5.559 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008552/1.25, allocations: 288.5 kB / 0.6074 GB, free: 5.273 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00948/1.259, allocations: 4.051 MB / 0.6113 GB, free: 1.762 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-05/1.259, allocations: 24 kB / 0.6114 GB, free: 1.738 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.787e-05/1.259, allocations: 12 kB / 0.6114 GB, free: 1.727 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-05/1.259, allocations: 14.83 kB / 0.6114 GB, free: 1.723 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/1.282, allocations: 8.728 MB / 0.6199 GB, free: 10.91 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.282, allocations: 9.375 kB / 0.6199 GB, free: 10.9 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/1.285, allocations: 396.9 kB / 0.6203 GB, free: 10.57 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/1.288, allocations: 0.8047 MB / 0.6211 GB, free: 9.906 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003877/1.289, allocations: 25.81 kB / 0.6211 GB, free: 9.887 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/1.308, allocations: 13.51 MB / 0.6343 GB, free: 12.62 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.308, allocations: 7.938 kB / 0.6343 GB, free: 12.61 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01282/1.321, allocations: 6.202 MB / 0.6404 GB, free: 6.914 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/1.323, allocations: 0.6936 MB / 0.641 GB, free: 6.27 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009786/1.324, allocations: 19.56 kB / 0.6411 GB, free: 6.254 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.327, allocations: 86.56 kB / 0.6411 GB, free: 6.188 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/1.328, allocations: 163.1 kB / 0.6413 GB, free: 6.09 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/1.328, allocations: 71.7 kB / 0.6414 GB, free: 6.023 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.003493/1.332, allocations: 1.597 MB / 0.6429 GB, free: 4.586 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.004652/1.337, allocations: 0.8705 MB / 0.6438 GB, free: 3.719 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005393/1.337, allocations: 353.3 kB / 0.6441 GB, free: 3.449 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.1762/1.514, allocations: 3.899 MB / 0.6479 GB, free: 76.02 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 9.569e-06/1.514, allocations: 3.969 kB / 0.6479 GB, free: 76.02 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005387/1.519, allocations: 2.54 MB / 0.6504 GB, free: 75.41 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004548/1.524, allocations: 0.5723 MB / 0.651 GB, free: 75.4 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.546, allocations: 7.976 MB / 0.6588 GB, free: 73.89 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007246/1.554, allocations: 3.701 MB / 0.6624 GB, free: 73.09 MB / 424.6 MB Notification: Performance of SimCode: time 2.934e-06/1.554, allocations: 0 / 0.6624 GB, free: 73.09 MB / 424.6 MB Notification: Performance of Templates: time 0.2344/1.788, allocations: 45.81 MB / 0.7071 GB, free: 70.2 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3582:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_407(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3583:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_408(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3584:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_409(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3585:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_410(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3586:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_411(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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o] Error 1