Notification: Performance of loadModel(Modelica): time 1.498/1.498, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.02e-05, allocations: 0.9375 kB / 247.6 MB, free: 4.461 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06347/0.06356, allocations: 44.37 MB / 292 MB, free: 9.012 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2816/0.3453, allocations: 123 MB / 415 MB, free: 12.62 MB / 328.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.3456, allocations: 97.36 kB / 415.1 MB, free: 12.57 MB / 328.6 MB Notification: Performance of FrontEnd: time 0.598/0.9436, allocations: 121 MB / 0.5236 GB, free: 70.76 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004369/0.9442, allocations: 145.7 kB / 0.5237 GB, free: 70.74 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01674/0.961, allocations: 5.06 MB / 0.5286 GB, free: 68.76 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.9611, allocations: 13.45 kB / 0.5286 GB, free: 68.76 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008056/0.9693, allocations: 1.014 MB / 0.5296 GB, free: 68.44 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/0.9839, allocations: 4.555 MB / 0.5341 GB, free: 67.66 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.9843, allocations: 176.2 kB / 0.5343 GB, free: 67.66 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.986, allocations: 328 kB / 0.5346 GB, free: 67.65 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01466/1.001, allocations: 5.135 MB / 0.5396 GB, free: 67.62 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/1.02, allocations: 6.081 MB / 0.5455 GB, free: 66.94 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000255/1.02, allocations: 11.53 kB / 0.5455 GB, free: 66.94 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/1.022, allocations: 3.938 kB / 0.5455 GB, free: 66.94 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002599/1.022, allocations: 251.4 kB / 0.5458 GB, free: 66.93 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05041/1.073, allocations: 21.47 MB / 0.5667 GB, free: 55.86 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/1.077, allocations: 1.793 MB / 0.5685 GB, free: 55.16 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004961/1.082, allocations: 2.154 MB / 0.5706 GB, free: 54.01 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01736/1.1, allocations: 6.452 MB / 0.5769 GB, free: 48.62 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/1.1, allocations: 60.62 kB / 0.577 GB, free: 48.55 MB / 392.6 MB Notification: Performance of pre-optimization done (n=262): time 1.089e-05/1.1, allocations: 0 / 0.577 GB, free: 48.55 MB / 392.6 MB Notification: Performance of matching and sorting (n=289): time 0.02579/1.126, allocations: 9.093 MB / 0.5858 GB, free: 40.39 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.126, allocations: 81.69 kB / 0.5859 GB, free: 40.29 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004893/1.131, allocations: 2.195 MB / 0.5881 GB, free: 38.31 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004636/1.132, allocations: 29.55 kB / 0.5881 GB, free: 38.28 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001103/1.133, allocations: 1.964 MB / 0.59 GB, free: 36.56 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.134, allocations: 0.945 MB / 0.5909 GB, free: 35.69 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/1.134, allocations: 0 / 0.5909 GB, free: 35.69 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0002353/1.135, allocations: 447.5 kB / 0.5914 GB, free: 35.29 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/1.138, allocations: 1.441 MB / 0.5928 GB, free: 33.97 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003756/1.142, allocations: 2.411 MB / 0.5951 GB, free: 31.3 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/1.146, allocations: 1.932 MB / 0.597 GB, free: 29.61 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.764e-05/1.147, allocations: 11.91 kB / 0.597 GB, free: 29.6 MB / 392.6 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01196/1.159, allocations: 4.833 MB / 0.6017 GB, free: 25.25 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.159, allocations: 11.75 kB / 0.6017 GB, free: 25.24 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.238e-05/1.159, allocations: 28 kB / 0.6018 GB, free: 25.21 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002507/1.161, allocations: 0.7199 MB / 0.6025 GB, free: 24.59 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004697/1.166, allocations: 0.7944 MB / 0.6033 GB, free: 23.91 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.179, allocations: 8.998 MB / 0.612 GB, free: 15.13 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/1.183, allocations: 103.2 kB / 0.6121 GB, free: 15.05 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007803/1.184, allocations: 156.5 kB / 0.6123 GB, free: 14.91 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003426/1.185, allocations: 75.28 kB / 0.6124 GB, free: 14.83 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009533/1.186, allocations: 328.6 kB / 0.6127 GB, free: 14.51 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.198, allocations: 4.422 MB / 0.617 GB, free: 10.68 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.477e-05/1.198, allocations: 28 kB / 0.617 GB, free: 10.65 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-05/1.198, allocations: 11.56 kB / 0.617 GB, free: 10.64 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.755e-05/1.199, allocations: 20.52 kB / 0.617 GB, free: 10.63 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/1.221, allocations: 9.231 MB / 0.6261 GB, free: 1.508 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/1.221, allocations: 4 kB / 0.6261 GB, free: 1.504 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00314/1.224, allocations: 451.9 kB / 0.6265 GB, free: 1.062 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00377/1.228, allocations: 0.9534 MB / 0.6274 GB, free: 96 kB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004757/1.228, allocations: 31.97 kB / 0.6275 GB, free: 64 kB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/1.249, allocations: 14.79 MB / 0.6419 GB, free: 0.4961 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.249, allocations: 4 kB / 0.6419 GB, free: 0.4922 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1553/1.405, allocations: 6.817 MB / 0.6486 GB, free: 113.2 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/1.407, allocations: 0.7168 MB / 0.6493 GB, free: 113.1 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.409, allocations: 22.12 kB / 0.6493 GB, free: 113.1 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/1.412, allocations: 94.11 kB / 0.6494 GB, free: 113.1 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006531/1.413, allocations: 157.8 kB / 0.6495 GB, free: 113.1 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/1.414, allocations: 80.39 kB / 0.6496 GB, free: 113.1 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.003635/1.417, allocations: 1.616 MB / 0.6512 GB, free: 113 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.005641/1.423, allocations: 0.9522 MB / 0.6521 GB, free: 113 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006294/1.424, allocations: 419.5 kB / 0.6525 GB, free: 112.9 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.009009/1.433, allocations: 4.282 MB / 0.6567 GB, free: 112.2 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 9.219e-06/1.433, allocations: 0 / 0.6567 GB, free: 112.2 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.006125/1.439, allocations: 2.713 MB / 0.6593 GB, free: 111.5 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/1.444, allocations: 0.6487 MB / 0.66 GB, free: 111.5 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/1.468, allocations: 8.388 MB / 0.6682 GB, free: 109.7 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007537/1.476, allocations: 3.729 MB / 0.6718 GB, free: 108.9 MB / 408.6 MB Notification: Performance of SimCode: time 3.143e-06/1.476, allocations: 4 kB / 0.6718 GB, free: 108.9 MB / 408.6 MB Notification: Performance of Templates: time 0.1989/1.675, allocations: 49.25 MB / 0.7199 GB, free: 98.63 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