Notification: Performance of loadModel(Modelica): time 1.535/1.535, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.041e-05, allocations: 4.844 kB / 247.3 MB, free: 4.754 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05973/0.0598, allocations: 44.36 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.257/0.3169, allocations: 104.5 MB / 396.2 MB, free: 14.96 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.3173, allocations: 91.66 kB / 396.3 MB, free: 14.94 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.3072/0.6246, allocations: 86.95 MB / 483.2 MB, free: 15.35 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0003291/0.625, allocations: 87.88 kB / 483.3 MB, free: 15.27 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01286/0.638, allocations: 3.686 MB / 487 MB, free: 11.51 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6381, allocations: 12.03 kB / 487 MB, free: 11.5 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006877/0.645, allocations: 0.7952 MB / 487.8 MB, free: 10.7 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.6565, allocations: 3.665 MB / 491.4 MB, free: 6.977 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.6568, allocations: 123.9 kB / 491.6 MB, free: 6.855 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.658, allocations: 219.8 kB / 491.8 MB, free: 6.641 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00964/0.6677, allocations: 3.88 MB / 495.7 MB, free: 2.758 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1618/0.8296, allocations: 4.378 MB / 0.4883 GB, free: 58.68 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.792e-05/0.8298, allocations: 5.688 kB / 0.4883 GB, free: 58.68 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004383/0.8303, allocations: 3.375 kB / 0.4883 GB, free: 58.68 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.8305, allocations: 165 kB / 0.4885 GB, free: 58.67 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03017/0.8607, allocations: 15.39 MB / 0.5035 GB, free: 55.82 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.8633, allocations: 1.346 MB / 0.5048 GB, free: 55.8 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.8665, allocations: 1.693 MB / 0.5065 GB, free: 55.79 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009442/0.876, allocations: 4.139 MB / 0.5105 GB, free: 55.16 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.8762, allocations: 56.88 kB / 0.5106 GB, free: 55.12 MB / 392.6 MB Notification: Performance of pre-optimization done (n=193): time 8.102e-06/0.8762, allocations: 0.875 kB / 0.5106 GB, free: 55.12 MB / 392.6 MB Notification: Performance of matching and sorting (n=196): time 0.01492/0.8912, allocations: 6.078 MB / 0.5165 GB, free: 53.96 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.8914, allocations: 71.94 kB / 0.5166 GB, free: 53.9 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.8943, allocations: 1.585 MB / 0.5181 GB, free: 53.69 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.8947, allocations: 25.7 kB / 0.5182 GB, free: 53.66 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/0.8953, allocations: 1.276 MB / 0.5194 GB, free: 53.06 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/0.8959, allocations: 0.6242 MB / 0.52 GB, free: 52.65 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.8962, allocations: 2.953 kB / 0.52 GB, free: 52.65 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8964, allocations: 387.2 kB / 0.5204 GB, free: 52.34 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.8985, allocations: 1.014 MB / 0.5214 GB, free: 52.34 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.9008, allocations: 1.475 MB / 0.5228 GB, free: 51.81 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/0.9041, allocations: 1.29 MB / 0.5241 GB, free: 51.79 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.9042, allocations: 7.812 kB / 0.5241 GB, free: 51.79 MB / 392.6 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.008339/0.9126, allocations: 3.396 MB / 0.5274 GB, free: 51.45 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9128, allocations: 4.062 kB / 0.5274 GB, free: 51.45 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.9128, allocations: 14.44 kB / 0.5274 GB, free: 51.45 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.9153, allocations: 0.7286 MB / 0.5281 GB, free: 51.41 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.9179, allocations: 424.1 kB / 0.5285 GB, free: 51.41 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.9308, allocations: 9.791 MB / 0.5381 GB, free: 45.76 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.9333, allocations: 58.42 kB / 0.5382 GB, free: 45.76 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.9336, allocations: 87.47 kB / 0.5382 GB, free: 45.74 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/0.9338, allocations: 75.28 kB / 0.5383 GB, free: 45.67 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.9343, allocations: 218 kB / 0.5385 GB, free: 45.55 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009944/0.9443, allocations: 3.321 MB / 0.5418 GB, free: 44.17 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.876e-05/0.9444, allocations: 18.62 kB / 0.5418 GB, free: 44.17 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.023e-05/0.9446, allocations: 10.88 kB / 0.5418 GB, free: 44.17 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-05/0.9447, allocations: 14.23 kB / 0.5418 GB, free: 44.17 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/0.9693, allocations: 6.766 MB / 0.5484 GB, free: 41.11 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/0.9695, allocations: 7.25 kB / 0.5484 GB, free: 41.11 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002711/0.9723, allocations: 225.5 kB / 0.5486 GB, free: 41.1 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004902/0.9773, allocations: 0.9003 MB / 0.5495 GB, free: 40.83 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004146/0.9778, allocations: 15.72 kB / 0.5495 GB, free: 40.82 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02167/0.9996, allocations: 13.89 MB / 0.5631 GB, free: 30.44 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.9997, allocations: 7.219 kB / 0.5631 GB, free: 30.43 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01065/1.01, allocations: 4.95 MB / 0.5679 GB, free: 28.13 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.012, allocations: 0.5432 MB / 0.5685 GB, free: 27.77 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007423/1.013, allocations: 10.44 kB / 0.5685 GB, free: 27.77 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.015, allocations: 63.34 kB / 0.5685 GB, free: 27.77 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/1.016, allocations: 123.5 kB / 0.5686 GB, free: 27.75 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001963/1.016, allocations: 51.45 kB / 0.5687 GB, free: 27.74 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002651/1.019, allocations: 1.193 MB / 0.5699 GB, free: 27.22 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004322/1.023, allocations: 0.6642 MB / 0.5705 GB, free: 27.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004539/1.024, allocations: 274.3 kB / 0.5708 GB, free: 27.12 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.006548/1.031, allocations: 3.112 MB / 0.5738 GB, free: 25.69 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 9.01e-06/1.031, allocations: 1.062 kB / 0.5738 GB, free: 25.69 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004969/1.036, allocations: 2.133 MB / 0.5759 GB, free: 24.54 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/1.04, allocations: 446 kB / 0.5763 GB, free: 24.43 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.057, allocations: 5.761 MB / 0.5819 GB, free: 20.96 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004801/1.062, allocations: 2.863 MB / 0.5847 GB, free: 18.7 MB / 392.6 MB Notification: Performance of SimCode: time 2.374e-06/1.062, allocations: 4 kB / 0.5847 GB, free: 18.69 MB / 392.6 MB Notification: Performance of Templates: time 0.1275/1.189, allocations: 36.02 MB / 0.6199 GB, free: 11.46 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD -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_YD.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_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_YD.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_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_YD.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.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_YD_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_YD.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.c:2517:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_eqFunction_325(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.c:2518:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_eqFunction_326(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.c:2519:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_eqFunction_327(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.c:2520:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_eqFunction_328(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.c:2521:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_YD_eqFunction_329(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_YD.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.o] Error 1