Notification: Performance of loadModel(Modelica): time 1.583/1.583, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.569e-06/9.987e-06, allocations: 1.906 kB / 247.6 MB, free: 4.426 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06425/0.06433, allocations: 44.36 MB / 292 MB, free: 9.004 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2985/0.3629, allocations: 123 MB / 415 MB, free: 13.13 MB / 328.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.3633, allocations: 92.62 kB / 415.1 MB, free: 13.08 MB / 328.6 MB Notification: Performance of FrontEnd: time 0.5853/0.9486, allocations: 121 MB / 0.5236 GB, free: 70.73 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004869/0.9492, allocations: 138 kB / 0.5237 GB, free: 70.71 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01765/0.9669, allocations: 5.068 MB / 0.5286 GB, free: 68.72 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9671, allocations: 10.38 kB / 0.5287 GB, free: 68.72 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008262/0.9754, allocations: 1.011 MB / 0.5296 GB, free: 68.4 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/0.9905, allocations: 4.557 MB / 0.5341 GB, free: 67.63 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.9909, allocations: 172.1 kB / 0.5343 GB, free: 67.63 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.9927, allocations: 323.4 kB / 0.5346 GB, free: 67.62 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01405/1.007, allocations: 5.135 MB / 0.5396 GB, free: 67.6 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/1.025, allocations: 6.078 MB / 0.5455 GB, free: 66.91 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/1.025, allocations: 14.42 kB / 0.5455 GB, free: 66.91 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/1.027, allocations: 7.875 kB / 0.5455 GB, free: 66.91 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/1.027, allocations: 254 kB / 0.5458 GB, free: 66.89 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04807/1.075, allocations: 21.47 MB / 0.5667 GB, free: 55.83 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/1.08, allocations: 1.787 MB / 0.5685 GB, free: 55.14 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004671/1.085, allocations: 2.159 MB / 0.5706 GB, free: 54.16 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/1.101, allocations: 6.446 MB / 0.5769 GB, free: 48.77 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.101, allocations: 60.62 kB / 0.577 GB, free: 48.7 MB / 392.6 MB Notification: Performance of pre-optimization done (n=262): time 8.8e-06/1.101, allocations: 0 / 0.577 GB, free: 48.7 MB / 392.6 MB Notification: Performance of matching and sorting (n=289): time 0.02348/1.125, allocations: 9.089 MB / 0.5858 GB, free: 40.54 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/1.125, allocations: 85.62 kB / 0.5859 GB, free: 40.44 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004509/1.129, allocations: 2.197 MB / 0.5881 GB, free: 38.45 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004209/1.13, allocations: 29.55 kB / 0.5881 GB, free: 38.42 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009437/1.131, allocations: 1.956 MB / 0.59 GB, free: 36.71 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009821/1.132, allocations: 0.9455 MB / 0.5909 GB, free: 35.84 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.132, allocations: 0 / 0.5909 GB, free: 35.84 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0002109/1.132, allocations: 451.8 kB / 0.5913 GB, free: 35.44 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/1.135, allocations: 1.439 MB / 0.5928 GB, free: 34.12 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003625/1.139, allocations: 2.402 MB / 0.5951 GB, free: 31.46 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/1.144, allocations: 1.934 MB / 0.597 GB, free: 29.76 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.723e-05/1.144, allocations: 11.91 kB / 0.597 GB, free: 29.75 MB / 392.6 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01191/1.156, allocations: 4.842 MB / 0.6017 GB, free: 25.39 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.156, allocations: 8.094 kB / 0.6017 GB, free: 25.39 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-05/1.156, allocations: 35.14 kB / 0.6018 GB, free: 25.36 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/1.158, allocations: 0.7224 MB / 0.6025 GB, free: 24.74 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004643/1.163, allocations: 0.7999 MB / 0.6033 GB, free: 24.05 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.176, allocations: 9.007 MB / 0.6121 GB, free: 15.26 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/1.18, allocations: 102.7 kB / 0.6122 GB, free: 15.18 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006513/1.181, allocations: 156.4 kB / 0.6123 GB, free: 15.04 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003001/1.181, allocations: 79.94 kB / 0.6124 GB, free: 14.96 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008572/1.182, allocations: 327.7 kB / 0.6127 GB, free: 14.64 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.193, allocations: 4.425 MB / 0.617 GB, free: 10.8 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.193, allocations: 28 kB / 0.617 GB, free: 10.77 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/1.193, allocations: 15.7 kB / 0.6171 GB, free: 10.76 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-05/1.193, allocations: 14.5 kB / 0.6171 GB, free: 10.76 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.214, allocations: 9.237 MB / 0.6261 GB, free: 1.801 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.214, allocations: 4 kB / 0.6261 GB, free: 1.797 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/1.217, allocations: 459.8 kB / 0.6265 GB, free: 1.348 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003627/1.221, allocations: 0.9335 MB / 0.6274 GB, free: 404 kB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000452/1.221, allocations: 35.91 kB / 0.6275 GB, free: 368 kB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.241, allocations: 14.85 MB / 0.642 GB, free: 0.7344 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.241, allocations: 7.938 kB / 0.642 GB, free: 0.7266 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1535/1.395, allocations: 6.802 MB / 0.6486 GB, free: 113.5 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002574/1.398, allocations: 0.7169 MB / 0.6493 GB, free: 113.4 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.399, allocations: 20.12 kB / 0.6493 GB, free: 113.4 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/1.403, allocations: 98.56 kB / 0.6494 GB, free: 113.4 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006431/1.403, allocations: 155 kB / 0.6496 GB, free: 113.4 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/1.404, allocations: 83.16 kB / 0.6497 GB, free: 113.4 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.003851/1.408, allocations: 1.622 MB / 0.6513 GB, free: 113.2 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.005483/1.413, allocations: 0.9514 MB / 0.6522 GB, free: 113.2 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006416/1.414, allocations: 410.3 kB / 0.6526 GB, free: 113.2 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.009036/1.423, allocations: 4.282 MB / 0.6568 GB, free: 112.5 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/1.423, allocations: 5.312 kB / 0.6568 GB, free: 112.5 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.006049/1.429, allocations: 2.713 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.004919/1.434, allocations: 0.6524 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.02393/1.458, allocations: 8.393 MB / 0.6682 GB, free: 110 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007794/1.466, allocations: 3.739 MB / 0.6719 GB, free: 109.1 MB / 408.6 MB Notification: Performance of SimCode: time 2.445e-06/1.466, allocations: 0 / 0.6719 GB, free: 109.1 MB / 408.6 MB Notification: Performance of Templates: time 0.1694/1.636, allocations: 49.24 MB / 0.72 GB, free: 98.93 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