Notification: Performance of loadModel(Modelica): time 1.532/1.532, allocations: 194.5 MB / 200.7 MB, free: 5.148 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.708e-06, allocations: 1.031 kB / 247.5 MB, free: 4.602 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06234/0.06242, allocations: 44.36 MB / 291.8 MB, free: 9.18 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2415/0.3041, allocations: 82.66 MB / 374.5 MB, free: 6.449 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.3044, allocations: 93.25 kB / 374.6 MB, free: 6.43 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1871/0.4915, allocations: 52.94 MB / 427.5 MB, free: 6.156 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001762/0.4918, allocations: 63.94 kB / 427.6 MB, free: 6.094 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.009431/0.5013, allocations: 2.741 MB / 430.3 MB, free: 3.297 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.5014, allocations: 8.031 kB / 430.3 MB, free: 3.289 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.5069, allocations: 0.5975 MB / 430.9 MB, free: 2.688 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005119/0.5121, allocations: 1.832 MB / 432.7 MB, free: 0.8164 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.5123, allocations: 87.91 kB / 432.8 MB, free: 0.7305 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007606/0.5131, allocations: 152 kB / 433 MB, free: 0.582 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007061/0.5203, allocations: 2.705 MB / 435.7 MB, free: 13.87 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007976/0.5283, allocations: 3.134 MB / 438.8 MB, free: 10.61 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.152e-05/0.5285, allocations: 0 / 438.8 MB, free: 10.61 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003234/0.5289, allocations: 11.94 kB / 438.8 MB, free: 10.6 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.529, allocations: 109.3 kB / 438.9 MB, free: 10.49 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02289/0.552, allocations: 10.08 MB / 449 MB, free: 176 kB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.5539, allocations: 0.8214 MB / 449.8 MB, free: 15.34 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.5561, allocations: 0.9189 MB / 450.8 MB, free: 14.41 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005761/0.562, allocations: 2.554 MB / 453.3 MB, free: 11.8 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5621, allocations: 43.56 kB / 453.4 MB, free: 11.75 MB / 360.6 MB Notification: Performance of pre-optimization done (n=117): time 5.797e-06/0.5622, allocations: 0 / 453.4 MB, free: 11.75 MB / 360.6 MB Notification: Performance of matching and sorting (n=117): time 0.00437/0.5666, allocations: 1.599 MB / 455 MB, free: 10.14 MB / 360.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.5667, allocations: 94.11 kB / 455 MB, free: 10.04 MB / 360.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.5688, allocations: 1.133 MB / 456.2 MB, free: 8.891 MB / 360.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003979/0.5693, allocations: 25.7 kB / 456.2 MB, free: 8.859 MB / 360.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/0.57, allocations: 0.9571 MB / 457.2 MB, free: 7.887 MB / 360.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.5705, allocations: 386.2 kB / 457.5 MB, free: 7.504 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.5706, allocations: 4 kB / 457.5 MB, free: 7.5 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5708, allocations: 361.8 kB / 457.9 MB, free: 7.141 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.5722, allocations: 0.5999 MB / 458.5 MB, free: 6.539 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.5736, allocations: 0.8655 MB / 459.4 MB, free: 5.562 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.5758, allocations: 0.783 MB / 460.1 MB, free: 4.777 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.5759, allocations: 0 / 460.1 MB, free: 4.777 MB / 360.6 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005054/0.581, allocations: 1.997 MB / 462.1 MB, free: 2.781 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5811, allocations: 8 kB / 462.2 MB, free: 2.773 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.5812, allocations: 11.98 kB / 462.2 MB, free: 2.762 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.5826, allocations: 405.2 kB / 462.6 MB, free: 2.367 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.5842, allocations: 247.6 kB / 462.8 MB, free: 2.125 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008775/0.5931, allocations: 5.628 MB / 468.4 MB, free: 12.27 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.5948, allocations: 118.8 kB / 468.5 MB, free: 12.15 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003971/0.5953, allocations: 52 kB / 468.6 MB, free: 12.1 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.5955, allocations: 79.86 kB / 468.7 MB, free: 12.02 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/0.5959, allocations: 138.3 kB / 468.8 MB, free: 11.88 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.6004, allocations: 1.734 MB / 470.5 MB, free: 10.13 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.6005, allocations: 12 kB / 470.6 MB, free: 10.12 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.6006, allocations: 8 kB / 470.6 MB, free: 10.11 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.6007, allocations: 3.984 kB / 470.6 MB, free: 10.11 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009323/0.61, allocations: 3.92 MB / 474.5 MB, free: 6.117 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.6101, allocations: 4 kB / 474.5 MB, free: 6.113 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.6113, allocations: 159.8 kB / 474.6 MB, free: 5.957 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.6128, allocations: 385.3 kB / 475 MB, free: 5.578 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.6131, allocations: 27.98 kB / 475.1 MB, free: 5.551 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008569/0.6217, allocations: 5.639 MB / 480.7 MB, free: 15.69 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/0.6218, allocations: 7.938 kB / 480.7 MB, free: 15.68 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005912/0.6278, allocations: 2.68 MB / 483.4 MB, free: 12.94 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/0.6285, allocations: 239.2 kB / 483.6 MB, free: 12.68 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004543/0.629, allocations: 19.89 kB / 483.6 MB, free: 12.66 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.6307, allocations: 79.92 kB / 483.7 MB, free: 12.59 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.6311, allocations: 76.89 kB / 483.8 MB, free: 12.51 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.6313, allocations: 35.98 kB / 483.8 MB, free: 12.47 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001566/0.6329, allocations: 0.8647 MB / 484.7 MB, free: 11.6 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002829/0.6358, allocations: 0.6258 MB / 485.3 MB, free: 10.97 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.6361, allocations: 105.4 kB / 485.4 MB, free: 10.86 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.6399, allocations: 1.726 MB / 487.1 MB, free: 9.121 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.6401, allocations: 4.062 kB / 487.1 MB, free: 9.117 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.6424, allocations: 1.055 MB / 488.2 MB, free: 8.039 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.6446, allocations: 232.3 kB / 488.4 MB, free: 7.809 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.6549, allocations: 3.776 MB / 492.2 MB, free: 3.953 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003559/0.6586, allocations: 2.305 MB / 494.5 MB, free: 1.613 MB / 392.6 MB Notification: Performance of SimCode: time 3.003e-06/0.6587, allocations: 0 / 494.5 MB, free: 1.613 MB / 392.6 MB Notification: Performance of Templates: time 0.3022/0.9609, allocations: 20.25 MB / 0.5027 GB, free: 129.9 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:1737:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_eqFunction_284(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:1738:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_eqFunction_294(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:1739:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_eqFunction_295(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:1740:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_eqFunction_296(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.c:1741:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_eqFunction_339(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.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.o] Error 1