Notification: Performance of loadModel(Modelica): time 1.524/1.524, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.02e-05, allocations: 1.031 kB / 247.3 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06297/0.06304, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/0.344, allocations: 114 MB / 405.7 MB, free: 6.172 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.3444, allocations: 90.84 kB / 405.8 MB, free: 6.125 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.5791/0.9235, allocations: 100 MB / 0.494 GB, free: 54 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004992/0.9242, allocations: 102.6 kB / 0.4941 GB, free: 53.99 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.02246/0.9467, allocations: 4.171 MB / 0.4982 GB, free: 52.58 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.9469, allocations: 9.875 kB / 0.4982 GB, free: 52.58 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/0.9618, allocations: 0.9693 MB / 0.4991 GB, free: 52.34 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/0.9826, allocations: 3.926 MB / 0.503 GB, free: 51.7 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005758/0.9834, allocations: 349.6 kB / 0.5033 GB, free: 51.5 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/0.9852, allocations: 238 kB / 0.5035 GB, free: 51.49 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01111/0.9964, allocations: 3.978 MB / 0.5074 GB, free: 51.47 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/1.011, allocations: 4.619 MB / 0.5119 GB, free: 50.98 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001862/1.011, allocations: 3.188 kB / 0.5119 GB, free: 50.98 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/1.012, allocations: 3.844 kB / 0.5119 GB, free: 50.98 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/1.013, allocations: 182.3 kB / 0.5121 GB, free: 50.96 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03845/1.051, allocations: 17.02 MB / 0.5287 GB, free: 47.25 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/1.054, allocations: 1.539 MB / 0.5302 GB, free: 47.21 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/1.058, allocations: 1.859 MB / 0.532 GB, free: 47.17 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/1.072, allocations: 5.69 MB / 0.5376 GB, free: 46.05 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002634/1.075, allocations: 1.338 MB / 0.5389 GB, free: 45.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=212): time 1.006e-05/1.075, allocations: 0 / 0.5389 GB, free: 45.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=245): time 0.02249/1.097, allocations: 7.497 MB / 0.5462 GB, free: 43.04 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/1.098, allocations: 346.7 kB / 0.5466 GB, free: 42.66 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/1.101, allocations: 1.793 MB / 0.5483 GB, free: 41.92 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000391/1.102, allocations: 44.45 kB / 0.5484 GB, free: 41.89 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.103, allocations: 1.489 MB / 0.5498 GB, free: 40.83 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000882/1.104, allocations: 0.7826 MB / 0.5506 GB, free: 40.21 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/1.104, allocations: 0 / 0.5506 GB, free: 40.21 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000172/1.105, allocations: 414.9 kB / 0.551 GB, free: 39.86 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/1.107, allocations: 1.167 MB / 0.5521 GB, free: 39.38 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/1.11, allocations: 1.921 MB / 0.554 GB, free: 37.99 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003521/1.114, allocations: 1.514 MB / 0.5555 GB, free: 37.37 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/1.114, allocations: 13.66 kB / 0.5555 GB, free: 37.36 MB / 392.6 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.009876/1.124, allocations: 4.057 MB / 0.5594 GB, free: 35.79 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001511/1.126, allocations: 8.069 MB / 0.5673 GB, free: 27.26 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.37e-05/1.126, allocations: 20 kB / 0.5673 GB, free: 27.26 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/1.129, allocations: 1.038 MB / 0.5683 GB, free: 26.95 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/1.133, allocations: 0.5202 MB / 0.5689 GB, free: 26.93 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/1.153, allocations: 13.57 MB / 0.5821 GB, free: 16.67 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.156, allocations: 119.5 kB / 0.5822 GB, free: 16.65 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005395/1.157, allocations: 110.9 kB / 0.5823 GB, free: 16.63 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.157, allocations: 3.312 kB / 0.5823 GB, free: 16.63 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01012/1.167, allocations: 3.765 MB / 0.586 GB, free: 15.22 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.038e-05/1.167, allocations: 19.62 kB / 0.586 GB, free: 15.22 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003829/1.171, allocations: 1.029 MB / 0.587 GB, free: 14.73 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003356/1.175, allocations: 0.5184 MB / 0.5875 GB, free: 14.31 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/1.194, allocations: 13.58 MB / 0.6008 GB, free: 1.129 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/1.197, allocations: 112.6 kB / 0.6009 GB, free: 1.035 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005668/1.198, allocations: 115.5 kB / 0.601 GB, free: 0.9297 MB / 392.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0003279/1.198, allocations: 78.84 kB / 0.6011 GB, free: 0.8555 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/1.199, allocations: 268.8 kB / 0.6013 GB, free: 0.5898 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/1.214, allocations: 3.742 MB / 0.605 GB, free: 14.22 MB / 408.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/1.214, allocations: 24 kB / 0.605 GB, free: 14.2 MB / 408.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/1.214, allocations: 0 / 0.605 GB, free: 14.2 MB / 408.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/1.214, allocations: 18.3 kB / 0.605 GB, free: 14.19 MB / 408.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.232, allocations: 7.217 MB / 0.6121 GB, free: 8.266 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.232, allocations: 0 / 0.6121 GB, free: 8.266 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.234, allocations: 344.3 kB / 0.6124 GB, free: 7.996 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/1.238, allocations: 1.053 MB / 0.6134 GB, free: 7.145 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003968/1.238, allocations: 27.73 kB / 0.6135 GB, free: 7.125 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/1.257, allocations: 10.99 MB / 0.6242 GB, free: 12.68 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/1.257, allocations: 9.5 kB / 0.6242 GB, free: 12.67 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01132/1.268, allocations: 5.208 MB / 0.6293 GB, free: 7.93 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/1.27, allocations: 0.6149 MB / 0.6299 GB, free: 7.359 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009154/1.271, allocations: 27.75 kB / 0.6299 GB, free: 7.336 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.274, allocations: 88.81 kB / 0.63 GB, free: 7.27 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005908/1.275, allocations: 166.8 kB / 0.6302 GB, free: 7.18 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/1.275, allocations: 69.91 kB / 0.6302 GB, free: 7.117 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.002984/1.278, allocations: 1.335 MB / 0.6315 GB, free: 5.902 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.008129/1.287, allocations: 1.34 MB / 0.6328 GB, free: 4.566 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004554/1.287, allocations: 330.7 kB / 0.6332 GB, free: 4.297 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.1786/1.466, allocations: 6.687 MB / 0.6397 GB, free: 73.6 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.466, allocations: 4.625 kB / 0.6397 GB, free: 73.6 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004515/1.47, allocations: 2.064 MB / 0.6417 GB, free: 73.19 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/1.474, allocations: 457.3 kB / 0.6421 GB, free: 73.18 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/1.493, allocations: 6.613 MB / 0.6486 GB, free: 71.86 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005138/1.499, allocations: 3.061 MB / 0.6516 GB, free: 71.08 MB / 424.6 MB Notification: Performance of SimCode: time 2.165e-06/1.499, allocations: 0 / 0.6516 GB, free: 71.08 MB / 424.6 MB Notification: Performance of Templates: time 0.1638/1.663, allocations: 60.83 MB / 0.711 GB, free: 65.6 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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_BasicMachines_SMEE_LoadDump -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=8 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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.BasicMachines.SMEE_LoadDump.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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.BasicMachines.SMEE_LoadDump.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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.BasicMachines.SMEE_LoadDump.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_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.BasicMachines.SMEE_LoadDump.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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.BasicMachines.SMEE_LoadDump.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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.BasicMachines.SMEE_LoadDump.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_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.BasicMachines.SMEE_LoadDump.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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.BasicMachines.SMEE_LoadDump.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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_BasicMachines_SMEE_LoadDump_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.BasicMachines.SMEE_LoadDump.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.c:564:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_eqFunction_1380(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.c:564:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_eqFunction_1380(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.c:573:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_eqFunction_1383(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.c:573:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_eqFunction_1383(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.c:668:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_eqFunction_1390(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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.o] Error 1