Notification: Performance of loadModel(Modelica): time 1.525/1.525, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.869e-06/8.94e-06, allocations: 1.156 kB / 247.3 MB, free: 4.75 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06203/0.0621, allocations: 44.36 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2579/0.3201, allocations: 102.2 MB / 393.8 MB, free: 96 kB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.3205, allocations: 96.39 kB / 393.9 MB, free: 76 kB / 296.6 MB Notification: Performance of FrontEnd: time 0.2725/0.5931, allocations: 78.16 MB / 472.1 MB, free: 10.55 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002509/0.5934, allocations: 79.88 kB / 472.2 MB, free: 10.47 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01102/0.6045, allocations: 3.164 MB / 475.3 MB, free: 7.242 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6047, allocations: 15.97 kB / 475.4 MB, free: 7.227 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006645/0.6114, allocations: 0.718 MB / 476.1 MB, free: 6.504 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.6218, allocations: 3.272 MB / 479.4 MB, free: 3.168 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.622, allocations: 104 kB / 479.5 MB, free: 3.066 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.6232, allocations: 183.9 kB / 479.6 MB, free: 2.887 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008312/0.6316, allocations: 3.156 MB / 482.8 MB, free: 15.73 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.6422, allocations: 3.648 MB / 486.4 MB, free: 11.96 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.6424, allocations: 3.938 kB / 486.4 MB, free: 11.96 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006654/0.6431, allocations: 8 kB / 486.4 MB, free: 11.95 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.6433, allocations: 142.3 kB / 486.6 MB, free: 11.81 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1613/0.8047, allocations: 12.71 MB / 499.3 MB, free: 117 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.8084, allocations: 1.054 MB / 0.4886 GB, free: 116.9 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.8115, allocations: 1.341 MB / 0.4899 GB, free: 116.9 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009082/0.8206, allocations: 3.984 MB / 0.4938 GB, free: 116.3 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.8208, allocations: 50.75 kB / 0.4939 GB, free: 116.3 MB / 392.6 MB Notification: Performance of pre-optimization done (n=148): time 7.892e-06/0.8208, allocations: 0 / 0.4939 GB, free: 116.3 MB / 392.6 MB Notification: Performance of matching and sorting (n=151): time 0.0116/0.8325, allocations: 4.334 MB / 0.4981 GB, free: 115.5 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.8326, allocations: 70.56 kB / 0.4982 GB, free: 115.4 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.8351, allocations: 1.209 MB / 0.4994 GB, free: 115.3 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.8354, allocations: 29.52 kB / 0.4994 GB, free: 115.2 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/0.8362, allocations: 1.145 MB / 0.5005 GB, free: 114.7 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000528/0.8368, allocations: 0.4997 MB / 0.501 GB, free: 114.5 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.837, allocations: 3.438 kB / 0.501 GB, free: 114.5 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.8372, allocations: 376.3 kB / 0.5013 GB, free: 114.2 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.8386, allocations: 0.6987 MB / 0.502 GB, free: 114.2 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.8404, allocations: 1.176 MB / 0.5032 GB, free: 113.6 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.8429, allocations: 0.9683 MB / 0.5041 GB, free: 113.6 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/0.8431, allocations: 6.703 kB / 0.5041 GB, free: 113.6 MB / 392.6 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006043/0.8492, allocations: 2.396 MB / 0.5065 GB, free: 113.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8493, allocations: 5.562 kB / 0.5065 GB, free: 113.3 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.8494, allocations: 14.06 kB / 0.5065 GB, free: 113.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/0.8504, allocations: 272.4 kB / 0.5067 GB, free: 113.3 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/0.8528, allocations: 409.1 kB / 0.5071 GB, free: 113.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/0.8587, allocations: 5.36 MB / 0.5124 GB, free: 109.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.861, allocations: 51.92 kB / 0.5124 GB, free: 109.5 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/0.8614, allocations: 77.56 kB / 0.5125 GB, free: 109.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.8616, allocations: 82.84 kB / 0.5126 GB, free: 109.5 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.8621, allocations: 174 kB / 0.5127 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/0.868, allocations: 2.272 MB / 0.515 GB, free: 109 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.8681, allocations: 14.41 kB / 0.515 GB, free: 109 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.8682, allocations: 11.5 kB / 0.515 GB, free: 109 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/0.8683, allocations: 10.19 kB / 0.515 GB, free: 109 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.8792, allocations: 5.01 MB / 0.5199 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.8793, allocations: 0 / 0.5199 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.8808, allocations: 222.7 kB / 0.5201 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.8826, allocations: 442.1 kB / 0.5205 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/0.8829, allocations: 20.72 kB / 0.5205 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/0.8946, allocations: 9.467 MB / 0.5298 GB, free: 101.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.892e-06/0.8947, allocations: 3.656 kB / 0.5298 GB, free: 101.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006898/0.9016, allocations: 3.368 MB / 0.5331 GB, free: 101.1 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.9029, allocations: 424.8 kB / 0.5335 GB, free: 101 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/0.9033, allocations: 10.34 kB / 0.5335 GB, free: 101 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.9049, allocations: 54.59 kB / 0.5335 GB, free: 101 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.9052, allocations: 82.62 kB / 0.5336 GB, free: 101 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.9054, allocations: 41.97 kB / 0.5337 GB, free: 101 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001666/0.9071, allocations: 0.9105 MB / 0.5346 GB, free: 100.8 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002917/0.9101, allocations: 0.5192 MB / 0.5351 GB, free: 100.8 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003975/0.9106, allocations: 284.7 kB / 0.5353 GB, free: 100.8 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003911/0.9145, allocations: 2.153 MB / 0.5374 GB, free: 100.4 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.076e-06/0.9146, allocations: 0 / 0.5374 GB, free: 100.4 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002776/0.9175, allocations: 1.47 MB / 0.5389 GB, free: 99.65 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.9199, allocations: 343.3 kB / 0.5392 GB, free: 99.57 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.9314, allocations: 4.525 MB / 0.5436 GB, free: 97.78 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003284/0.9348, allocations: 2.469 MB / 0.546 GB, free: 96.69 MB / 392.6 MB Notification: Performance of SimCode: time 2.864e-06/0.9349, allocations: 3.25 kB / 0.546 GB, free: 96.69 MB / 392.6 MB Notification: Performance of Templates: time 0.1276/1.063, allocations: 26.32 MB / 0.5717 GB, free: 90.21 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2301:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_261(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2302:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_262(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2303:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_263(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2304:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter_eqFunction_289(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.c:2305:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.o] Error 1