Notification: Performance of loadModel(Modelica): time 1.549/1.549, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.499e-06/9.638e-06, allocations: 1.219 kB / 247.6 MB, free: 4.438 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06547/0.06555, allocations: 44.36 MB / 292 MB, free: 9.016 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2813/0.347, allocations: 123 MB / 415 MB, free: 13.17 MB / 328.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.3473, allocations: 87.12 kB / 415.1 MB, free: 13.12 MB / 328.6 MB Notification: Performance of FrontEnd: time 0.5989/0.9463, allocations: 121 MB / 0.5236 GB, free: 70.75 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004935/0.9469, allocations: 137.8 kB / 0.5237 GB, free: 70.73 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01709/0.964, allocations: 5.064 MB / 0.5286 GB, free: 68.75 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.9642, allocations: 7.531 kB / 0.5286 GB, free: 68.75 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008255/0.9725, allocations: 1.009 MB / 0.5296 GB, free: 68.43 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.988, allocations: 4.561 MB / 0.5341 GB, free: 67.65 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/0.9884, allocations: 178.5 kB / 0.5343 GB, free: 67.65 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/0.9904, allocations: 317.3 kB / 0.5346 GB, free: 67.64 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01426/1.005, allocations: 5.146 MB / 0.5396 GB, free: 67.62 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/1.023, allocations: 6.067 MB / 0.5455 GB, free: 66.94 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002455/1.023, allocations: 16.31 kB / 0.5455 GB, free: 66.93 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/1.024, allocations: 3.906 kB / 0.5455 GB, free: 66.93 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002313/1.025, allocations: 258.1 kB / 0.5458 GB, free: 66.91 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0484/1.073, allocations: 21.47 MB / 0.5667 GB, free: 55.88 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/1.078, allocations: 1.784 MB / 0.5685 GB, free: 55.19 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004859/1.083, allocations: 2.156 MB / 0.5706 GB, free: 54.11 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/1.099, allocations: 6.456 MB / 0.5769 GB, free: 48.71 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/1.1, allocations: 68.25 kB / 0.577 GB, free: 48.64 MB / 392.6 MB Notification: Performance of pre-optimization done (n=262): time 8.939e-06/1.1, allocations: 0 / 0.577 GB, free: 48.64 MB / 392.6 MB Notification: Performance of matching and sorting (n=289): time 0.02356/1.123, allocations: 9.086 MB / 0.5858 GB, free: 40.48 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/1.123, allocations: 81.69 kB / 0.5859 GB, free: 40.39 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/1.128, allocations: 2.203 MB / 0.5881 GB, free: 38.39 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004475/1.129, allocations: 29.55 kB / 0.5881 GB, free: 38.36 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.13, allocations: 1.956 MB / 0.59 GB, free: 36.66 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009942/1.131, allocations: 0.9451 MB / 0.5909 GB, free: 35.79 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/1.131, allocations: 0 / 0.5909 GB, free: 35.79 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000234/1.131, allocations: 447 kB / 0.5914 GB, free: 35.39 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/1.135, allocations: 1.441 MB / 0.5928 GB, free: 34.06 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003743/1.138, allocations: 2.407 MB / 0.5951 GB, free: 31.4 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004622/1.143, allocations: 1.929 MB / 0.597 GB, free: 29.71 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-05/1.143, allocations: 11.91 kB / 0.597 GB, free: 29.7 MB / 392.6 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01229/1.156, allocations: 4.841 MB / 0.6017 GB, free: 25.34 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.156, allocations: 4.656 kB / 0.6017 GB, free: 25.34 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.224e-05/1.156, allocations: 32 kB / 0.6018 GB, free: 25.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/1.158, allocations: 0.7267 MB / 0.6025 GB, free: 24.68 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004655/1.163, allocations: 0.7984 MB / 0.6033 GB, free: 24 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/1.176, allocations: 8.977 MB / 0.612 GB, free: 15.23 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/1.18, allocations: 106.9 kB / 0.6121 GB, free: 15.15 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000687/1.181, allocations: 155.9 kB / 0.6123 GB, free: 15 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003009/1.181, allocations: 75.89 kB / 0.6123 GB, free: 14.93 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008819/1.182, allocations: 320.7 kB / 0.6127 GB, free: 14.61 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.193, allocations: 4.427 MB / 0.617 GB, free: 10.78 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-05/1.193, allocations: 35.94 kB / 0.617 GB, free: 10.74 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-05/1.193, allocations: 12 kB / 0.617 GB, free: 10.73 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-05/1.193, allocations: 19.56 kB / 0.617 GB, free: 10.73 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.215, allocations: 9.236 MB / 0.6261 GB, free: 1.855 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/1.216, allocations: 4 kB / 0.6261 GB, free: 1.852 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003079/1.219, allocations: 459.7 kB / 0.6265 GB, free: 1.402 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003642/1.222, allocations: 0.9413 MB / 0.6274 GB, free: 452 kB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004633/1.223, allocations: 35.72 kB / 0.6275 GB, free: 420 kB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02001/1.243, allocations: 14.8 MB / 0.6419 GB, free: 0.832 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/1.243, allocations: 4 kB / 0.6419 GB, free: 0.8281 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1541/1.397, allocations: 6.807 MB / 0.6486 GB, free: 113.1 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002486/1.4, allocations: 0.7177 MB / 0.6493 GB, free: 113 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/1.401, allocations: 22.3 kB / 0.6493 GB, free: 113 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003394/1.405, allocations: 94.64 kB / 0.6494 GB, free: 113 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000651/1.406, allocations: 160.3 kB / 0.6495 GB, free: 113 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.406, allocations: 83.25 kB / 0.6496 GB, free: 113 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.003812/1.41, allocations: 1.613 MB / 0.6512 GB, free: 112.8 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.005635/1.416, allocations: 0.9526 MB / 0.6521 GB, free: 112.8 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006324/1.416, allocations: 412.1 kB / 0.6525 GB, free: 112.8 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.008826/1.425, allocations: 4.283 MB / 0.6567 GB, free: 112.1 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 9.917e-06/1.425, allocations: 0 / 0.6567 GB, free: 112.1 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.006054/1.432, allocations: 2.714 MB / 0.6593 GB, free: 111.4 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/1.437, allocations: 0.6494 MB / 0.66 GB, free: 111.4 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/1.461, allocations: 8.395 MB / 0.6682 GB, free: 109.6 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007863/1.469, allocations: 3.736 MB / 0.6718 GB, free: 108.8 MB / 408.6 MB Notification: Performance of SimCode: time 2.654e-06/1.469, allocations: 0 / 0.6718 GB, free: 108.8 MB / 408.6 MB Notification: Performance of Templates: time 0.1963/1.665, allocations: 49.24 MB / 0.7199 GB, free: 98.89 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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_SMPM_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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.SMPM_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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.SMPM_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_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.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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.SMPM_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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.SMPM_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_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.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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.SMPM_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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_SMPM_Inverter_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.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4148:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_505(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4149:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_506(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4150:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_512(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4151:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_513(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4152:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_514(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.o] Error 1