Notification: Performance of loadModel(Modelica): time 1.5/1.5, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.062e-05, allocations: 2.219 kB / 247.6 MB, free: 4.438 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06387/0.06396, allocations: 44.37 MB / 292 MB, free: 9.031 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/0.3433, allocations: 118.2 MB / 410.2 MB, free: 1.801 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3436, allocations: 94.56 kB / 410.3 MB, free: 1.754 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.5616/0.9052, allocations: 112.9 MB / 0.511 GB, free: 54.27 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004077/0.9057, allocations: 137 kB / 0.5111 GB, free: 54.25 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01637/0.9222, allocations: 4.844 MB / 0.5158 GB, free: 52.39 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9223, allocations: 10.25 kB / 0.5158 GB, free: 52.39 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007465/0.9298, allocations: 0.95 MB / 0.5168 GB, free: 52.09 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.9433, allocations: 4.367 MB / 0.521 GB, free: 51.34 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.9437, allocations: 165.8 kB / 0.5212 GB, free: 51.34 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/0.9455, allocations: 301.2 kB / 0.5215 GB, free: 51.34 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0134/0.9591, allocations: 4.969 MB / 0.5263 GB, free: 51.32 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.9765, allocations: 5.844 MB / 0.532 GB, free: 50.67 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.9768, allocations: 5.688 kB / 0.532 GB, free: 50.67 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/0.9782, allocations: 14 kB / 0.5321 GB, free: 50.66 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/0.9785, allocations: 235.4 kB / 0.5323 GB, free: 50.65 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04425/1.023, allocations: 20.11 MB / 0.5519 GB, free: 44.91 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/1.027, allocations: 1.7 MB / 0.5536 GB, free: 44.27 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003994/1.031, allocations: 2.064 MB / 0.5556 GB, free: 43.51 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01573/1.046, allocations: 6.148 MB / 0.5616 GB, free: 40.49 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/1.047, allocations: 58.19 kB / 0.5617 GB, free: 40.43 MB / 392.6 MB Notification: Performance of pre-optimization done (n=245): time 9.428e-06/1.047, allocations: 1.312 kB / 0.5617 GB, free: 40.43 MB / 392.6 MB Notification: Performance of matching and sorting (n=269): time 0.025/1.072, allocations: 8.661 MB / 0.5701 GB, free: 36.65 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/1.072, allocations: 78.91 kB / 0.5702 GB, free: 36.58 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/1.077, allocations: 2.031 MB / 0.5722 GB, free: 35.76 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004434/1.078, allocations: 29.45 kB / 0.5722 GB, free: 35.73 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.079, allocations: 1.858 MB / 0.574 GB, free: 34.38 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/1.08, allocations: 0.8854 MB / 0.5749 GB, free: 33.57 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/1.08, allocations: 0 / 0.5749 GB, free: 33.57 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0002361/1.081, allocations: 436.2 kB / 0.5753 GB, free: 33.17 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/1.084, allocations: 1.373 MB / 0.5766 GB, free: 31.91 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/1.088, allocations: 2.257 MB / 0.5788 GB, free: 29.45 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004281/1.092, allocations: 1.828 MB / 0.5806 GB, free: 27.87 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-05/1.092, allocations: 8 kB / 0.5806 GB, free: 27.86 MB / 392.6 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01163/1.104, allocations: 4.601 MB / 0.5851 GB, free: 23.84 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.104, allocations: 8 kB / 0.5851 GB, free: 23.83 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-05/1.104, allocations: 28 kB / 0.5852 GB, free: 23.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/1.107, allocations: 0.6993 MB / 0.5858 GB, free: 23.21 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/1.111, allocations: 0.7398 MB / 0.5866 GB, free: 22.58 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/1.122, allocations: 8.687 MB / 0.5951 GB, free: 14.08 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/1.126, allocations: 111.3 kB / 0.5952 GB, free: 13.99 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006132/1.127, allocations: 139.7 kB / 0.5953 GB, free: 13.86 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002617/1.127, allocations: 78.47 kB / 0.5954 GB, free: 13.79 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000811/1.128, allocations: 296.3 kB / 0.5956 GB, free: 13.49 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.138, allocations: 4.23 MB / 0.5998 GB, free: 9.828 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/1.139, allocations: 31.94 kB / 0.5998 GB, free: 9.797 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.801e-05/1.139, allocations: 8 kB / 0.5998 GB, free: 9.789 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.686e-05/1.139, allocations: 11.39 kB / 0.5998 GB, free: 9.789 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/1.159, allocations: 8.727 MB / 0.6084 GB, free: 2.488 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/1.159, allocations: 4 kB / 0.6084 GB, free: 2.484 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/1.162, allocations: 426.8 kB / 0.6088 GB, free: 2.129 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003562/1.166, allocations: 0.9304 MB / 0.6097 GB, free: 1.363 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004362/1.166, allocations: 31.59 kB / 0.6097 GB, free: 1.34 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/1.186, allocations: 14.37 MB / 0.6237 GB, free: 3.137 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.186, allocations: 4 kB / 0.6237 GB, free: 3.133 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01474/1.2, allocations: 6.433 MB / 0.63 GB, free: 13.27 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/1.203, allocations: 0.6736 MB / 0.6307 GB, free: 12.64 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009829/1.204, allocations: 23.41 kB / 0.6307 GB, free: 12.63 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002901/1.207, allocations: 95.3 kB / 0.6308 GB, free: 12.56 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005889/1.207, allocations: 145.4 kB / 0.6309 GB, free: 12.47 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.208, allocations: 76.73 kB / 0.631 GB, free: 12.4 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.003432/1.211, allocations: 1.495 MB / 0.6325 GB, free: 11.05 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.005158/1.217, allocations: 0.8933 MB / 0.6333 GB, free: 10.16 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005428/1.217, allocations: 350 kB / 0.6337 GB, free: 9.891 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.008296/1.226, allocations: 4.099 MB / 0.6377 GB, free: 5.992 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 6.844e-06/1.226, allocations: 4.125 kB / 0.6377 GB, free: 5.988 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005699/1.231, allocations: 2.622 MB / 0.6402 GB, free: 3.508 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/1.236, allocations: 0.5545 MB / 0.6408 GB, free: 3.059 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1853/1.421, allocations: 8.024 MB / 0.6486 GB, free: 74.48 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006344/1.428, allocations: 3.591 MB / 0.6521 GB, free: 73.69 MB / 424.6 MB Notification: Performance of SimCode: time 2.654e-06/1.428, allocations: 2.969 kB / 0.6521 GB, free: 73.69 MB / 424.6 MB Notification: Performance of Templates: time 0.1865/1.614, allocations: 45.2 MB / 0.6963 GB, free: 71.21 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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_SMR_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=13 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_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.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_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.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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.SMR_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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_SMR_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.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3868:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_467(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3869:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_468(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3870:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_474(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3871:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_475(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3872:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_476(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.SMR_Inverter.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.o] Error 1