Notification: Performance of loadModel(Modelica): time 1.582/1.582, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.848e-06, allocations: 1.156 kB / 247.6 MB, free: 4.418 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06028/0.06036, allocations: 44.36 MB / 292 MB, free: 8.996 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2801/0.3406, allocations: 123 MB / 415 MB, free: 13.14 MB / 328.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3409, allocations: 93.19 kB / 415.1 MB, free: 13.09 MB / 328.6 MB Notification: Performance of FrontEnd: time 0.5712/0.9121, allocations: 121 MB / 0.5236 GB, free: 70.86 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004268/0.9126, allocations: 135.1 kB / 0.5237 GB, free: 70.84 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01673/0.9294, allocations: 5.062 MB / 0.5286 GB, free: 68.87 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.9296, allocations: 18.34 kB / 0.5287 GB, free: 68.87 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007999/0.9376, allocations: 1 MB / 0.5296 GB, free: 68.55 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/0.9516, allocations: 4.559 MB / 0.5341 GB, free: 67.77 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.952, allocations: 185.1 kB / 0.5343 GB, free: 67.77 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001764/0.9538, allocations: 317.9 kB / 0.5346 GB, free: 67.76 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01421/0.9681, allocations: 5.139 MB / 0.5396 GB, free: 67.74 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.9864, allocations: 6.075 MB / 0.5455 GB, free: 67.05 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002241/0.9867, allocations: 13.12 kB / 0.5455 GB, free: 67.05 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001336/0.9881, allocations: 3.844 kB / 0.5455 GB, free: 67.05 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/0.9884, allocations: 256.8 kB / 0.5458 GB, free: 67.04 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04875/1.037, allocations: 21.47 MB / 0.5667 GB, free: 55.91 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/1.042, allocations: 1.789 MB / 0.5685 GB, free: 55.22 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004941/1.047, allocations: 2.162 MB / 0.5706 GB, free: 54.25 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/1.064, allocations: 6.447 MB / 0.5769 GB, free: 48.87 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/1.064, allocations: 68.62 kB / 0.577 GB, free: 48.79 MB / 392.6 MB Notification: Performance of pre-optimization done (n=262): time 9.289e-06/1.064, allocations: 0 / 0.577 GB, free: 48.79 MB / 392.6 MB Notification: Performance of matching and sorting (n=289): time 0.02483/1.089, allocations: 9.082 MB / 0.5858 GB, free: 40.63 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/1.089, allocations: 85.69 kB / 0.5859 GB, free: 40.53 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004414/1.094, allocations: 2.2 MB / 0.5881 GB, free: 38.54 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004434/1.094, allocations: 29.55 kB / 0.5881 GB, free: 38.51 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.095, allocations: 1.961 MB / 0.59 GB, free: 36.8 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009555/1.096, allocations: 0.9375 MB / 0.5909 GB, free: 35.94 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/1.096, allocations: 0 / 0.5909 GB, free: 35.94 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0002095/1.097, allocations: 450.6 kB / 0.5913 GB, free: 35.54 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/1.1, allocations: 1.443 MB / 0.5928 GB, free: 34.21 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/1.103, allocations: 2.406 MB / 0.5951 GB, free: 31.55 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/1.108, allocations: 1.93 MB / 0.597 GB, free: 29.86 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.318e-05/1.108, allocations: 15.91 kB / 0.597 GB, free: 29.84 MB / 392.6 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01131/1.119, allocations: 4.832 MB / 0.6017 GB, free: 25.49 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.119, allocations: 8 kB / 0.6017 GB, free: 25.48 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-05/1.119, allocations: 28 kB / 0.6018 GB, free: 25.46 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/1.122, allocations: 0.731 MB / 0.6025 GB, free: 24.83 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/1.127, allocations: 0.7945 MB / 0.6033 GB, free: 24.15 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.139, allocations: 9.014 MB / 0.6121 GB, free: 15.35 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004327/1.144, allocations: 106.4 kB / 0.6122 GB, free: 15.27 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007011/1.145, allocations: 152.5 kB / 0.6123 GB, free: 15.13 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002907/1.145, allocations: 79.28 kB / 0.6124 GB, free: 15.05 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008783/1.146, allocations: 320.6 kB / 0.6127 GB, free: 14.73 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.157, allocations: 4.431 MB / 0.617 GB, free: 10.89 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/1.157, allocations: 28 kB / 0.617 GB, free: 10.87 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.808e-05/1.157, allocations: 12 kB / 0.617 GB, free: 10.86 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-05/1.157, allocations: 24.5 kB / 0.6171 GB, free: 10.85 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/1.178, allocations: 9.233 MB / 0.6261 GB, free: 1.738 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.178, allocations: 4 kB / 0.6261 GB, free: 1.734 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/1.181, allocations: 463.4 kB / 0.6265 GB, free: 1.281 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003662/1.185, allocations: 0.942 MB / 0.6275 GB, free: 332 kB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004552/1.185, allocations: 31.97 kB / 0.6275 GB, free: 300 kB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/1.205, allocations: 14.83 MB / 0.642 GB, free: 0.6758 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/1.206, allocations: 11.98 kB / 0.642 GB, free: 0.6641 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1482/1.354, allocations: 6.808 MB / 0.6486 GB, free: 113.5 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/1.356, allocations: 0.7151 MB / 0.6493 GB, free: 113.4 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.357, allocations: 25.45 kB / 0.6493 GB, free: 113.4 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/1.361, allocations: 103.1 kB / 0.6494 GB, free: 113.4 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/1.361, allocations: 150.6 kB / 0.6496 GB, free: 113.4 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/1.362, allocations: 78.89 kB / 0.6497 GB, free: 113.4 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.003297/1.365, allocations: 1.622 MB / 0.6512 GB, free: 113.3 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.004925/1.37, allocations: 0.9496 MB / 0.6522 GB, free: 113.3 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005795/1.371, allocations: 411.5 kB / 0.6526 GB, free: 113.2 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.008228/1.379, allocations: 4.291 MB / 0.6568 GB, free: 112.5 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/1.379, allocations: 0 / 0.6568 GB, free: 112.5 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005743/1.385, allocations: 2.71 MB / 0.6594 GB, free: 111.8 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004799/1.39, allocations: 0.6421 MB / 0.66 GB, free: 111.8 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/1.411, allocations: 8.398 MB / 0.6682 GB, free: 110 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005941/1.417, allocations: 3.731 MB / 0.6719 GB, free: 109.2 MB / 408.6 MB Notification: Performance of SimCode: time 2.654e-06/1.417, allocations: 0.8438 kB / 0.6719 GB, free: 109.2 MB / 408.6 MB Notification: Performance of Templates: time 0.1545/1.572, allocations: 49.25 MB / 0.72 GB, free: 98.9 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.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_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4148:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_505(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4149:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_506(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4150:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_512(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4151:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_eqFunction_513(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.c:4152:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter.o] Error 1