Notification: Performance of loadModel(Modelica): time 1.566/1.566, allocations: 194.5 MB / 200.7 MB, free: 7.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.229e-05/1.236e-05, allocations: 1.969 kB / 247.3 MB, free: 5.512 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06357/0.06366, allocations: 44.37 MB / 291.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/0.3263, allocations: 102.2 MB / 393.9 MB, free: 2.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3266, allocations: 87.83 kB / 393.9 MB, free: 2.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.2743/0.601, allocations: 78.17 MB / 472.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002346/0.6013, allocations: 75.88 kB / 472.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of Generate backend data structure: time 0.01109/0.6125, allocations: 3.156 MB / 475.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6126, allocations: 12.03 kB / 475.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00657/0.6193, allocations: 0.7258 MB / 476.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.63, allocations: 3.272 MB / 479.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.6302, allocations: 100 kB / 479.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009561/0.6312, allocations: 191.8 kB / 479.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008717/0.64, allocations: 3.156 MB / 482.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.6506, allocations: 3.652 MB / 486.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.876e-05/0.6508, allocations: 0 / 486.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000461/0.6513, allocations: 4 kB / 486.4 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/0.6515, allocations: 150.3 kB / 486.6 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02751/0.6791, allocations: 12.71 MB / 499.3 MB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.6812, allocations: 1.047 MB / 0.4886 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/0.684, allocations: 1.338 MB / 0.4899 GB, free: 180 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1607/0.8448, allocations: 3.981 MB / 0.4938 GB, free: 69.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.8449, allocations: 50.5 kB / 0.4939 GB, free: 69.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=148): time 5.378e-06/0.845, allocations: 3.906 kB / 0.4939 GB, free: 69.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=151): time 0.01067/0.8557, allocations: 4.333 MB / 0.4981 GB, free: 69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.8558, allocations: 67.56 kB / 0.4982 GB, free: 68.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.8581, allocations: 1.213 MB / 0.4993 GB, free: 68.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.8584, allocations: 28.73 kB / 0.4994 GB, free: 68.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.859, allocations: 1.152 MB / 0.5005 GB, free: 68.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004252/0.8595, allocations: 0.494 MB / 0.501 GB, free: 67.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.8597, allocations: 0.875 kB / 0.501 GB, free: 67.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8599, allocations: 380.2 kB / 0.5013 GB, free: 67.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.8612, allocations: 0.6992 MB / 0.502 GB, free: 67.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.8628, allocations: 1.171 MB / 0.5032 GB, free: 67.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.8653, allocations: 0.9745 MB / 0.5041 GB, free: 67.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.8654, allocations: 3.281 kB / 0.5041 GB, free: 67.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.005538/0.871, allocations: 2.401 MB / 0.5065 GB, free: 66.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.8711, allocations: 5.5 kB / 0.5065 GB, free: 66.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.8712, allocations: 23.89 kB / 0.5065 GB, free: 66.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009151/0.8722, allocations: 266.9 kB / 0.5068 GB, free: 66.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/0.8745, allocations: 413.2 kB / 0.5071 GB, free: 66.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.8805, allocations: 5.35 MB / 0.5124 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.8826, allocations: 47.73 kB / 0.5124 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.883, allocations: 73.47 kB / 0.5125 GB, free: 63.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.8832, allocations: 86.06 kB / 0.5126 GB, free: 62.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/0.8837, allocations: 168.7 kB / 0.5127 GB, free: 62.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/0.8895, allocations: 2.277 MB / 0.515 GB, free: 62.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.8896, allocations: 14.09 kB / 0.515 GB, free: 62.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.8897, allocations: 13.22 kB / 0.515 GB, free: 62.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.8897, allocations: 7.078 kB / 0.515 GB, free: 62.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.9009, allocations: 5.006 MB / 0.5199 GB, free: 61.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.901, allocations: 3.781 kB / 0.5199 GB, free: 61.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.9027, allocations: 215.8 kB / 0.5201 GB, free: 61.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/0.9046, allocations: 446.1 kB / 0.5205 GB, free: 61.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.9049, allocations: 19.02 kB / 0.5205 GB, free: 61.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.9159, allocations: 9.466 MB / 0.5298 GB, free: 55.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.59e-06/0.916, allocations: 5.469 kB / 0.5298 GB, free: 55.37 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006669/0.9227, allocations: 3.364 MB / 0.5331 GB, free: 54.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.924, allocations: 419.6 kB / 0.5335 GB, free: 54.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003661/0.9244, allocations: 14.23 kB / 0.5335 GB, free: 54.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.9259, allocations: 50.64 kB / 0.5335 GB, free: 54.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.9261, allocations: 82.28 kB / 0.5336 GB, free: 54.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.9263, allocations: 44.78 kB / 0.5336 GB, free: 54.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001646/0.928, allocations: 0.9113 MB / 0.5345 GB, free: 54.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00295/0.9311, allocations: 0.5185 MB / 0.535 GB, free: 54.36 MB / 394.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004003/0.9316, allocations: 289 kB / 0.5353 GB, free: 54.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004167/0.9358, allocations: 2.15 MB / 0.5374 GB, free: 53.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.844e-06/0.9359, allocations: 0 / 0.5374 GB, free: 53.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.9388, allocations: 1.463 MB / 0.5388 GB, free: 53.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.9413, allocations: 342.3 kB / 0.5392 GB, free: 53.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.953, allocations: 4.532 MB / 0.5436 GB, free: 52.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003618/0.9567, allocations: 2.472 MB / 0.546 GB, free: 51.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.654e-06/0.9569, allocations: 2.781 kB / 0.546 GB, free: 51.48 MB / 394.7 MB Notification: Performance of Templates: time 0.1479/1.105, allocations: 26.33 MB / 0.5717 GB, free: 45.46 MB / 394.7 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