Notification: Performance of loadModel(Modelica): time 1.551/1.551, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.139e-05/1.145e-05, allocations: 1.062 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.0908, allocations: 44.37 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2903/0.3813, allocations: 102.1 MB / 393.9 MB, free: 204 kB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.3817, allocations: 92.97 kB / 393.9 MB, free: 188 kB / 296.6 MB Notification: Performance of FrontEnd: time 0.2657/0.6474, allocations: 78.16 MB / 472.1 MB, free: 10.53 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002118/0.6478, allocations: 75.94 kB / 472.2 MB, free: 10.46 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.0108/0.6586, allocations: 3.16 MB / 475.3 MB, free: 7.234 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6588, allocations: 8.031 kB / 475.3 MB, free: 7.227 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006448/0.6653, allocations: 0.7219 MB / 476.1 MB, free: 6.5 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.6759, allocations: 3.28 MB / 479.3 MB, free: 3.16 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.6762, allocations: 108 kB / 479.4 MB, free: 3.055 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000932/0.6772, allocations: 187.9 kB / 479.6 MB, free: 2.871 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008787/0.686, allocations: 3.152 MB / 482.8 MB, free: 15.71 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.6975, allocations: 3.652 MB / 486.4 MB, free: 11.95 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.987e-05/0.6977, allocations: 0 / 486.4 MB, free: 11.95 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004876/0.6983, allocations: 4 kB / 486.4 MB, free: 11.94 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.6985, allocations: 146.3 kB / 486.6 MB, free: 11.8 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1528/0.8513, allocations: 12.71 MB / 499.3 MB, free: 117.3 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.8536, allocations: 1.054 MB / 0.4886 GB, free: 117.3 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.8564, allocations: 1.334 MB / 0.4899 GB, free: 117.3 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009507/0.866, allocations: 3.988 MB / 0.4938 GB, free: 116.7 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.8661, allocations: 52.47 kB / 0.4939 GB, free: 116.6 MB / 392.6 MB Notification: Performance of pre-optimization done (n=148): time 5.448e-06/0.8662, allocations: 0 / 0.4939 GB, free: 116.6 MB / 392.6 MB Notification: Performance of matching and sorting (n=151): time 0.01213/0.8784, allocations: 4.33 MB / 0.4981 GB, free: 115.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.8785, allocations: 68.31 kB / 0.4982 GB, free: 115.8 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.8809, allocations: 1.215 MB / 0.4993 GB, free: 115.6 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.8812, allocations: 25.7 kB / 0.4994 GB, free: 115.6 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/0.8819, allocations: 1.145 MB / 0.5005 GB, free: 115.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/0.8824, allocations: 0.4976 MB / 0.501 GB, free: 114.8 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.8826, allocations: 3.844 kB / 0.501 GB, free: 114.8 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8828, allocations: 382 kB / 0.5013 GB, free: 114.5 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.8842, allocations: 0.7002 MB / 0.502 GB, free: 114.5 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.886, allocations: 1.168 MB / 0.5032 GB, free: 113.9 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.8887, allocations: 0.9688 MB / 0.5041 GB, free: 113.9 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.8888, allocations: 7.703 kB / 0.5041 GB, free: 113.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006366/0.8952, allocations: 2.402 MB / 0.5065 GB, free: 113.7 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.8953, allocations: 6.594 kB / 0.5065 GB, free: 113.7 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/0.8954, allocations: 16.66 kB / 0.5065 GB, free: 113.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009952/0.8965, allocations: 272 kB / 0.5067 GB, free: 113.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.8989, allocations: 407 kB / 0.5071 GB, free: 113.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/0.9047, allocations: 5.357 MB / 0.5124 GB, free: 109.9 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.9069, allocations: 50.5 kB / 0.5124 GB, free: 109.9 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/0.9073, allocations: 75.16 kB / 0.5125 GB, free: 109.9 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.9075, allocations: 78.66 kB / 0.5126 GB, free: 109.8 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/0.908, allocations: 172.1 kB / 0.5127 GB, free: 109.7 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005479/0.9135, allocations: 2.282 MB / 0.515 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.9137, allocations: 15.5 kB / 0.515 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/0.9137, allocations: 3.969 kB / 0.515 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/0.9138, allocations: 17.41 kB / 0.515 GB, free: 109.4 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.925, allocations: 5.001 MB / 0.5199 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.9252, allocations: 3.688 kB / 0.5199 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.9267, allocations: 220.3 kB / 0.5201 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.9286, allocations: 446.6 kB / 0.5205 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/0.9289, allocations: 16.42 kB / 0.5205 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.9403, allocations: 9.454 MB / 0.5298 GB, free: 102.2 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.101e-06/0.9404, allocations: 3.875 kB / 0.5298 GB, free: 102.2 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007083/0.9476, allocations: 3.361 MB / 0.533 GB, free: 101.5 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.9489, allocations: 418 kB / 0.5334 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004981/0.9495, allocations: 18.28 kB / 0.5335 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/0.9512, allocations: 56.84 kB / 0.5335 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.9515, allocations: 76.27 kB / 0.5336 GB, free: 101.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/0.9517, allocations: 46.2 kB / 0.5336 GB, free: 101.3 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002015/0.9538, allocations: 0.9117 MB / 0.5345 GB, free: 101.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003218/0.9571, allocations: 0.5175 MB / 0.535 GB, free: 101.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004274/0.9577, allocations: 289.7 kB / 0.5353 GB, free: 101.1 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004178/0.9619, allocations: 2.152 MB / 0.5374 GB, free: 100.7 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.962, allocations: 3.75 kB / 0.5374 GB, free: 100.7 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002905/0.965, allocations: 1.468 MB / 0.5388 GB, free: 99.93 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.9677, allocations: 345.3 kB / 0.5392 GB, free: 99.84 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.9798, allocations: 4.532 MB / 0.5436 GB, free: 98.06 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00408/0.984, allocations: 2.463 MB / 0.546 GB, free: 96.97 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.9842, allocations: 0 / 0.546 GB, free: 96.97 MB / 392.6 MB Notification: Performance of Templates: time 0.1498/1.134, allocations: 26.33 MB / 0.5717 GB, free: 90.23 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