Notification: Performance of loadModel(Modelica): time 1.552/1.552, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.94e-06, allocations: 0 / 247.5 MB, free: 4.617 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06288/0.06296, allocations: 44.36 MB / 291.8 MB, free: 9.199 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.2996, allocations: 82.66 MB / 374.5 MB, free: 6.461 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.2999, allocations: 86.06 kB / 374.6 MB, free: 6.445 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1873/0.4873, allocations: 52.95 MB / 427.5 MB, free: 6.125 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001907/0.4876, allocations: 71.31 kB / 427.6 MB, free: 6.059 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.009407/0.4971, allocations: 2.737 MB / 430.3 MB, free: 3.266 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4972, allocations: 8.031 kB / 430.3 MB, free: 3.258 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005364/0.5026, allocations: 0.5937 MB / 430.9 MB, free: 2.66 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00501/0.5078, allocations: 1.836 MB / 432.8 MB, free: 0.7852 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.508, allocations: 91.91 kB / 432.8 MB, free: 0.6953 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007677/0.5088, allocations: 152 kB / 433 MB, free: 0.5469 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006963/0.5158, allocations: 2.697 MB / 435.7 MB, free: 13.84 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008098/0.524, allocations: 3.134 MB / 438.8 MB, free: 10.59 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.223e-05/0.5242, allocations: 0 / 438.8 MB, free: 10.59 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003247/0.5246, allocations: 7.984 kB / 438.8 MB, free: 10.58 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.904e-05/0.5247, allocations: 109.2 kB / 438.9 MB, free: 10.47 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.5472, allocations: 10.1 MB / 449 MB, free: 140 kB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.549, allocations: 0.8176 MB / 449.8 MB, free: 15.3 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002031/0.5511, allocations: 0.9075 MB / 450.8 MB, free: 14.39 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00564/0.5569, allocations: 2.549 MB / 453.3 MB, free: 11.78 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.557, allocations: 47.5 kB / 453.4 MB, free: 11.73 MB / 360.6 MB Notification: Performance of pre-optimization done (n=117): time 5.518e-06/0.557, allocations: 4 kB / 453.4 MB, free: 11.72 MB / 360.6 MB Notification: Performance of matching and sorting (n=117): time 0.00416/0.5613, allocations: 1.595 MB / 455 MB, free: 10.12 MB / 360.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.5614, allocations: 90.11 kB / 455 MB, free: 10.02 MB / 360.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.5634, allocations: 1.137 MB / 456.2 MB, free: 8.867 MB / 360.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.5637, allocations: 25.7 kB / 456.2 MB, free: 8.836 MB / 360.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.5644, allocations: 0.9532 MB / 457.2 MB, free: 7.867 MB / 360.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.5648, allocations: 394.2 kB / 457.5 MB, free: 7.477 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.565, allocations: 0 / 457.5 MB, free: 7.477 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.5652, allocations: 361.8 kB / 457.9 MB, free: 7.117 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.5664, allocations: 0.6037 MB / 458.5 MB, free: 6.512 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.5677, allocations: 0.8656 MB / 459.4 MB, free: 5.535 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.5696, allocations: 0.783 MB / 460.1 MB, free: 4.75 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.499e-06/0.5696, allocations: 0 / 460.1 MB, free: 4.75 MB / 360.6 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.004939/0.5746, allocations: 1.998 MB / 462.1 MB, free: 2.75 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5748, allocations: 4 kB / 462.1 MB, free: 2.746 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.5748, allocations: 12 kB / 462.2 MB, free: 2.734 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.5764, allocations: 401.9 kB / 462.5 MB, free: 2.34 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.5779, allocations: 251.6 kB / 462.8 MB, free: 2.094 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008814/0.5868, allocations: 5.648 MB / 468.4 MB, free: 12.22 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.5885, allocations: 122.8 kB / 468.6 MB, free: 12.1 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.5887, allocations: 51.98 kB / 468.6 MB, free: 12.05 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.5889, allocations: 75.28 kB / 468.7 MB, free: 11.98 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.5894, allocations: 138.3 kB / 468.8 MB, free: 11.84 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.5937, allocations: 1.73 MB / 470.6 MB, free: 10.09 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.5939, allocations: 12 kB / 470.6 MB, free: 10.08 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/0.5939, allocations: 12 kB / 470.6 MB, free: 10.07 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.594, allocations: 7.969 kB / 470.6 MB, free: 10.06 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00847/0.6025, allocations: 3.917 MB / 474.5 MB, free: 6.074 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.289e-06/0.6026, allocations: 3.938 kB / 474.5 MB, free: 6.07 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.6039, allocations: 164 kB / 474.7 MB, free: 5.91 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.6054, allocations: 385.7 kB / 475 MB, free: 5.527 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.6056, allocations: 19.98 kB / 475.1 MB, free: 5.508 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008139/0.6138, allocations: 5.667 MB / 480.7 MB, free: 15.62 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.6139, allocations: 4 kB / 480.7 MB, free: 15.62 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005485/0.6194, allocations: 2.676 MB / 483.4 MB, free: 12.88 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.62, allocations: 239.2 kB / 483.6 MB, free: 12.62 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/0.6204, allocations: 19.89 kB / 483.7 MB, free: 12.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.6217, allocations: 83.92 kB / 483.7 MB, free: 12.52 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.622, allocations: 68.89 kB / 483.8 MB, free: 12.45 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.6222, allocations: 39.98 kB / 483.8 MB, free: 12.41 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.00138/0.6236, allocations: 0.8607 MB / 484.7 MB, free: 11.54 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002668/0.6264, allocations: 0.6336 MB / 485.3 MB, free: 10.91 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.6266, allocations: 113.3 kB / 485.5 MB, free: 10.79 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003374/0.6301, allocations: 1.725 MB / 487.2 MB, free: 9.051 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.473e-06/0.6302, allocations: 3.938 kB / 487.2 MB, free: 9.047 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.6325, allocations: 1.052 MB / 488.2 MB, free: 7.973 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.6343, allocations: 232.3 kB / 488.5 MB, free: 7.742 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008617/0.643, allocations: 3.781 MB / 492.2 MB, free: 3.879 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002792/0.6459, allocations: 2.298 MB / 494.5 MB, free: 1.547 MB / 392.6 MB Notification: Performance of SimCode: time 3.492e-06/0.646, allocations: 0 / 494.5 MB, free: 1.547 MB / 392.6 MB Notification: Performance of Templates: time 0.2135/0.8596, allocations: 20.28 MB / 0.5028 GB, free: 130.1 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