Notification: Performance of loadModel(Modelica): time 1.532/1.532, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.152e-05/1.166e-05, allocations: 2.094 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06196/0.06205, allocations: 44.36 MB / 291.7 MB, free: 9.309 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/0.3426, allocations: 124.3 MB / 416 MB, free: 12.09 MB / 328.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.343, allocations: 95.62 kB / 416.1 MB, free: 12.04 MB / 328.6 MB Notification: Performance of FrontEnd: time 0.4831/0.8262, allocations: 93.99 MB / 0.4981 GB, free: 70.27 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0002896/0.8266, allocations: 94.3 kB / 0.4982 GB, free: 70.27 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01213/0.8388, allocations: 3.714 MB / 0.5019 GB, free: 68.96 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8389, allocations: 13.94 kB / 0.5019 GB, free: 68.96 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008088/0.847, allocations: 0.918 MB / 0.5028 GB, free: 68.74 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.8588, allocations: 3.595 MB / 0.5063 GB, free: 68.16 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.8591, allocations: 125.6 kB / 0.5064 GB, free: 68.15 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.8602, allocations: 217.2 kB / 0.5066 GB, free: 68.15 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009459/0.8698, allocations: 3.532 MB / 0.5101 GB, free: 68.13 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.882, allocations: 4.039 MB / 0.514 GB, free: 67.69 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.8822, allocations: 11.66 kB / 0.514 GB, free: 67.69 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006101/0.8829, allocations: 3.438 kB / 0.514 GB, free: 67.69 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.8831, allocations: 151.3 kB / 0.5142 GB, free: 67.68 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03288/0.916, allocations: 15.18 MB / 0.529 GB, free: 64.19 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.9191, allocations: 1.437 MB / 0.5304 GB, free: 64.16 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/0.9226, allocations: 1.72 MB / 0.5321 GB, free: 64.12 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/0.9359, allocations: 5.3 MB / 0.5372 GB, free: 61.67 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.936, allocations: 55.47 kB / 0.5373 GB, free: 61.62 MB / 392.6 MB Notification: Performance of pre-optimization done (n=209): time 9.009e-06/0.9361, allocations: 0 / 0.5373 GB, free: 61.62 MB / 392.6 MB Notification: Performance of matching and sorting (n=212): time 0.0144/0.9506, allocations: 5.565 MB / 0.5427 GB, free: 58.93 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.9507, allocations: 180.7 kB / 0.5429 GB, free: 58.75 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.9541, allocations: 1.561 MB / 0.5444 GB, free: 58.07 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003327/0.9545, allocations: 29.64 kB / 0.5445 GB, free: 58.04 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007384/0.9553, allocations: 1.298 MB / 0.5457 GB, free: 57.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000715/0.9561, allocations: 0.6852 MB / 0.5464 GB, free: 56.56 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.9563, allocations: 4 kB / 0.5464 GB, free: 56.55 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.9566, allocations: 406.5 kB / 0.5468 GB, free: 56.21 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.9587, allocations: 0.922 MB / 0.5477 GB, free: 55.83 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/0.9613, allocations: 1.55 MB / 0.5492 GB, free: 54.67 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.9648, allocations: 1.224 MB / 0.5504 GB, free: 54.19 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-05/0.9649, allocations: 7.406 kB / 0.5504 GB, free: 54.19 MB / 392.6 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.008068/0.9731, allocations: 3.118 MB / 0.5534 GB, free: 53.02 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001434/0.9746, allocations: 7.435 MB / 0.5607 GB, free: 45.06 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.158e-05/0.9748, allocations: 19.22 kB / 0.5607 GB, free: 45.06 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.9764, allocations: 480.4 kB / 0.5612 GB, free: 44.9 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.9795, allocations: 0.5272 MB / 0.5617 GB, free: 44.88 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008196/0.9878, allocations: 7.599 MB / 0.5691 GB, free: 38.79 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.9908, allocations: 51.11 kB / 0.5692 GB, free: 38.79 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/0.9914, allocations: 109.7 kB / 0.5693 GB, free: 38.77 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.9915, allocations: 3.094 kB / 0.5693 GB, free: 38.77 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007835/0.9994, allocations: 2.842 MB / 0.5721 GB, free: 37.75 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.507e-05/0.9996, allocations: 22.69 kB / 0.5721 GB, free: 37.75 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/1.001, allocations: 481.8 kB / 0.5725 GB, free: 37.59 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/1.005, allocations: 0.5189 MB / 0.573 GB, free: 37.57 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009245/1.014, allocations: 7.604 MB / 0.5805 GB, free: 31.48 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/1.017, allocations: 36.48 kB / 0.5805 GB, free: 31.48 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/1.017, allocations: 101.7 kB / 0.5806 GB, free: 31.46 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/1.018, allocations: 80.58 kB / 0.5807 GB, free: 31.38 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006856/1.018, allocations: 240 kB / 0.5809 GB, free: 31.26 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007847/1.026, allocations: 2.977 MB / 0.5838 GB, free: 29.99 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/1.026, allocations: 21.19 kB / 0.5838 GB, free: 29.99 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/1.026, allocations: 4.5 kB / 0.5838 GB, free: 29.99 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/1.027, allocations: 11.19 kB / 0.5838 GB, free: 29.99 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/1.04, allocations: 6.135 MB / 0.5898 GB, free: 25.35 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.04, allocations: 0 / 0.5898 GB, free: 25.35 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.043, allocations: 313.3 kB / 0.5901 GB, free: 25.11 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/1.045, allocations: 0.6511 MB / 0.5908 GB, free: 24.57 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002878/1.046, allocations: 15.52 kB / 0.5908 GB, free: 24.55 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/1.06, allocations: 11.87 MB / 0.6024 GB, free: 12.78 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.219e-06/1.06, allocations: 6.562 kB / 0.6024 GB, free: 12.78 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008757/1.069, allocations: 4.404 MB / 0.6067 GB, free: 8.656 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.071, allocations: 0.522 MB / 0.6072 GB, free: 8.168 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/1.071, allocations: 12 kB / 0.6072 GB, free: 8.156 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/1.073, allocations: 50.88 kB / 0.6073 GB, free: 8.117 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/1.074, allocations: 122.2 kB / 0.6074 GB, free: 8.047 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.074, allocations: 48 kB / 0.6074 GB, free: 8 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002264/1.076, allocations: 1.167 MB / 0.6086 GB, free: 6.93 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.006854/1.083, allocations: 1.186 MB / 0.6097 GB, free: 5.75 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005868/1.084, allocations: 377.9 kB / 0.6101 GB, free: 5.449 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.009045/1.093, allocations: 4.916 MB / 0.6149 GB, free: 0.7266 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 9.359e-06/1.093, allocations: 7.953 kB / 0.6149 GB, free: 0.7188 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004834/1.098, allocations: 1.959 MB / 0.6168 GB, free: 15.01 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.101, allocations: 467.6 kB / 0.6172 GB, free: 14.65 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.118, allocations: 5.766 MB / 0.6229 GB, free: 9.473 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004821/1.123, allocations: 2.72 MB / 0.6255 GB, free: 7.324 MB / 408.6 MB Notification: Performance of SimCode: time 2.933e-06/1.123, allocations: 0 / 0.6255 GB, free: 7.324 MB / 408.6 MB Notification: Performance of Templates: time 0.3096/1.433, allocations: 50.96 MB / 0.6753 GB, free: 109.4 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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_SMEE_Rectifier -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -DOMC_NUM_NONLINEAR_SYSTEMS=9 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.SMEE_Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.SMEE_Rectifier.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.SMEE_Rectifier.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_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.SMEE_Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.SMEE_Rectifier.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.SMEE_Rectifier.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_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.SMEE_Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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.SMEE_Rectifier.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.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_SMEE_Rectifier_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.SMEE_Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.c:630:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_eqFunction_1217(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.c:630:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_eqFunction_1217(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.c:631:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_eqFunction_1218(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.c:631:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_eqFunction_1218(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.c:632:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier_eqFunction_1219(DATA*,threadData_t*); ^ 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.SMEE_Rectifier.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier.o] Error 1