Notification: Performance of loadModel(Modelica): time 1.536/1.536, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.359e-06, allocations: 1.094 kB / 247.3 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06343/0.0635, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.257/0.3206, allocations: 102.1 MB / 393.9 MB, free: 156 kB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.321, allocations: 92.38 kB / 393.9 MB, free: 140 kB / 296.6 MB Notification: Performance of FrontEnd: time 0.275/0.596, allocations: 78.16 MB / 472.1 MB, free: 10.55 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002702/0.5964, allocations: 75.88 kB / 472.2 MB, free: 10.47 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01184/0.6083, allocations: 3.16 MB / 475.3 MB, free: 7.25 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6084, allocations: 12.03 kB / 475.3 MB, free: 7.238 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006667/0.6152, allocations: 0.7296 MB / 476.1 MB, free: 6.504 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.6261, allocations: 3.268 MB / 479.3 MB, free: 3.172 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.6264, allocations: 104 kB / 479.4 MB, free: 3.07 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.6275, allocations: 183.9 kB / 479.6 MB, free: 2.891 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009382/0.6369, allocations: 3.156 MB / 482.8 MB, free: 15.73 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.6488, allocations: 3.648 MB / 486.4 MB, free: 11.96 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.649, allocations: 4 kB / 486.4 MB, free: 11.96 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000821/0.6499, allocations: 0 / 486.4 MB, free: 11.96 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.6501, allocations: 154.3 kB / 486.6 MB, free: 11.81 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1535/0.8037, allocations: 12.7 MB / 499.3 MB, free: 117.3 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.8059, allocations: 1.054 MB / 0.4886 GB, free: 117.3 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/0.8088, allocations: 1.338 MB / 0.4899 GB, free: 117.3 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008746/0.8176, allocations: 3.983 MB / 0.4938 GB, free: 116.7 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.8178, allocations: 51.81 kB / 0.4939 GB, free: 116.6 MB / 392.6 MB Notification: Performance of pre-optimization done (n=148): time 5.238e-06/0.8178, allocations: 2.812 kB / 0.4939 GB, free: 116.6 MB / 392.6 MB Notification: Performance of matching and sorting (n=151): time 0.01196/0.8298, allocations: 4.331 MB / 0.4981 GB, free: 115.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.83, allocations: 70.41 kB / 0.4982 GB, free: 115.8 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.8323, allocations: 1.217 MB / 0.4993 GB, free: 115.6 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.8326, allocations: 29.3 kB / 0.4994 GB, free: 115.6 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/0.8333, allocations: 1.141 MB / 0.5005 GB, free: 115.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004897/0.8338, allocations: 0.496 MB / 0.501 GB, free: 114.8 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.834, allocations: 0 / 0.501 GB, free: 114.8 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8342, allocations: 375.5 kB / 0.5013 GB, free: 114.5 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.8356, allocations: 0.7038 MB / 0.502 GB, free: 114.5 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.8374, allocations: 1.173 MB / 0.5032 GB, free: 114 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/0.8399, allocations: 0.9684 MB / 0.5041 GB, free: 114 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.84, allocations: 3.656 kB / 0.5041 GB, free: 114 MB / 392.6 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.005957/0.846, allocations: 2.398 MB / 0.5065 GB, free: 113.7 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.8461, allocations: 3.969 kB / 0.5065 GB, free: 113.7 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/0.8462, allocations: 18.38 kB / 0.5065 GB, free: 113.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009562/0.8472, allocations: 273.7 kB / 0.5067 GB, free: 113.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.8496, allocations: 407.8 kB / 0.5071 GB, free: 113.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/0.8553, allocations: 5.377 MB / 0.5124 GB, free: 109.9 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.8575, allocations: 46.83 kB / 0.5124 GB, free: 109.9 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/0.8579, allocations: 76 kB / 0.5125 GB, free: 109.9 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.8582, allocations: 79.19 kB / 0.5126 GB, free: 109.8 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/0.8586, allocations: 167.4 kB / 0.5127 GB, free: 109.7 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005391/0.8641, allocations: 2.276 MB / 0.515 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.8642, allocations: 15.09 kB / 0.515 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.8643, allocations: 7.891 kB / 0.515 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.8644, allocations: 11.16 kB / 0.515 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.8752, allocations: 5.01 MB / 0.5199 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.8753, allocations: 3.594 kB / 0.5199 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.8769, allocations: 218.2 kB / 0.5201 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.8789, allocations: 450.5 kB / 0.5205 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.8792, allocations: 23.38 kB / 0.5205 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/0.8907, allocations: 9.458 MB / 0.5298 GB, free: 102.2 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/0.8909, allocations: 3.906 kB / 0.5298 GB, free: 102.2 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006768/0.8977, allocations: 3.361 MB / 0.5331 GB, free: 101.5 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.899, allocations: 421.9 kB / 0.5335 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000519/0.8996, allocations: 17.08 kB / 0.5335 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.9012, allocations: 51.08 kB / 0.5335 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.9016, allocations: 87.33 kB / 0.5336 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.9018, allocations: 47.62 kB / 0.5337 GB, free: 101.3 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001793/0.9036, allocations: 0.9129 MB / 0.5346 GB, free: 101.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003076/0.9068, allocations: 0.5152 MB / 0.5351 GB, free: 101.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004049/0.9073, allocations: 283.5 kB / 0.5353 GB, free: 101.1 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.9115, allocations: 2.146 MB / 0.5374 GB, free: 100.7 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.914e-06/0.9116, allocations: 0 / 0.5374 GB, free: 100.7 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002765/0.9144, allocations: 1.471 MB / 0.5389 GB, free: 99.81 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.9169, allocations: 345.2 kB / 0.5392 GB, free: 99.72 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.9281, allocations: 4.544 MB / 0.5436 GB, free: 97.93 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003241/0.9315, allocations: 2.459 MB / 0.546 GB, free: 96.85 MB / 392.6 MB Notification: Performance of SimCode: time 2.374e-06/0.9316, allocations: 0 / 0.546 GB, free: 96.85 MB / 392.6 MB Notification: Performance of Templates: time 0.1302/1.062, allocations: 26.35 MB / 0.5718 GB, free: 90.11 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_AIMC_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -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.AIMC_Inverter.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.AIMC_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.AIMC_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_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.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.AIMC_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.AIMC_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_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.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.AIMC_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_AIMC_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.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2301:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_261(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2302:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_262(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2303:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_263(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2304:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_289(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2305:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_311(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.AIMC_Inverter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.o] Error 1