Notification: Performance of loadModel(Modelica): time 1.641/1.641, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.264e-05/1.278e-05, allocations: 5.094 kB / 247.6 MB, free: 4.457 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06377/0.06385, allocations: 44.36 MB / 292 MB, free: 9.027 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2704/0.3344, allocations: 118.2 MB / 410.2 MB, free: 1.746 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.3347, allocations: 94.38 kB / 410.3 MB, free: 1.699 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.5679/0.9027, allocations: 112.9 MB / 0.511 GB, free: 54.17 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004041/0.9032, allocations: 142.9 kB / 0.5111 GB, free: 54.15 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01605/0.9193, allocations: 4.838 MB / 0.5158 GB, free: 52.3 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.9194, allocations: 7.188 kB / 0.5158 GB, free: 52.3 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007492/0.927, allocations: 0.9452 MB / 0.5168 GB, free: 52 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.9406, allocations: 4.378 MB / 0.521 GB, free: 51.25 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.941, allocations: 165.1 kB / 0.5212 GB, free: 51.25 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.9426, allocations: 305.3 kB / 0.5215 GB, free: 51.24 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01294/0.9556, allocations: 4.967 MB / 0.5263 GB, free: 51.22 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.9723, allocations: 5.837 MB / 0.532 GB, free: 50.57 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001936/0.9726, allocations: 11.28 kB / 0.532 GB, free: 50.57 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/0.9737, allocations: 7.719 kB / 0.5321 GB, free: 50.57 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/0.974, allocations: 236.4 kB / 0.5323 GB, free: 50.56 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/1.019, allocations: 20.12 MB / 0.5519 GB, free: 44.84 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/1.022, allocations: 1.707 MB / 0.5536 GB, free: 44.2 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004252/1.027, allocations: 2.055 MB / 0.5556 GB, free: 43.45 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01544/1.042, allocations: 6.15 MB / 0.5616 GB, free: 40.42 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.043, allocations: 60.91 kB / 0.5617 GB, free: 40.37 MB / 392.6 MB Notification: Performance of pre-optimization done (n=245): time 8.8e-06/1.043, allocations: 0 / 0.5617 GB, free: 40.37 MB / 392.6 MB Notification: Performance of matching and sorting (n=269): time 0.02411/1.067, allocations: 8.66 MB / 0.5701 GB, free: 36.58 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/1.067, allocations: 79.97 kB / 0.5702 GB, free: 36.52 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004845/1.072, allocations: 2.031 MB / 0.5722 GB, free: 35.7 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004394/1.072, allocations: 26.73 kB / 0.5722 GB, free: 35.66 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/1.073, allocations: 1.858 MB / 0.574 GB, free: 34.23 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009042/1.074, allocations: 0.8875 MB / 0.5749 GB, free: 33.42 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/1.075, allocations: 0 / 0.5749 GB, free: 33.42 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000186/1.075, allocations: 436.2 kB / 0.5753 GB, free: 33.02 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/1.078, allocations: 1.379 MB / 0.5766 GB, free: 31.76 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003281/1.081, allocations: 2.249 MB / 0.5788 GB, free: 29.3 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/1.085, allocations: 1.831 MB / 0.5806 GB, free: 27.72 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-05/1.085, allocations: 8 kB / 0.5806 GB, free: 27.71 MB / 392.6 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.0115/1.097, allocations: 4.593 MB / 0.5851 GB, free: 23.69 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.097, allocations: 4 kB / 0.5851 GB, free: 23.69 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/1.097, allocations: 28.53 kB / 0.5852 GB, free: 23.66 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/1.1, allocations: 0.7075 MB / 0.5858 GB, free: 23.06 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/1.104, allocations: 0.7408 MB / 0.5866 GB, free: 22.43 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/1.116, allocations: 8.691 MB / 0.5951 GB, free: 13.92 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/1.12, allocations: 102.6 kB / 0.5952 GB, free: 13.84 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006277/1.12, allocations: 143.7 kB / 0.5953 GB, free: 13.71 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/1.121, allocations: 75.28 kB / 0.5954 GB, free: 13.63 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008542/1.122, allocations: 296.3 kB / 0.5956 GB, free: 13.34 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.132, allocations: 4.237 MB / 0.5998 GB, free: 9.672 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/1.132, allocations: 24 kB / 0.5998 GB, free: 9.648 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/1.132, allocations: 12 kB / 0.5998 GB, free: 9.637 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.805e-05/1.132, allocations: 10.78 kB / 0.5998 GB, free: 9.637 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.153, allocations: 8.721 MB / 0.6083 GB, free: 2.34 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/1.153, allocations: 7.062 kB / 0.6084 GB, free: 2.336 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003236/1.156, allocations: 430 kB / 0.6088 GB, free: 1.977 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003953/1.161, allocations: 0.9346 MB / 0.6097 GB, free: 1.207 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004445/1.161, allocations: 31.69 kB / 0.6097 GB, free: 1.184 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/1.18, allocations: 14.36 MB / 0.6237 GB, free: 2.984 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.18, allocations: 4 kB / 0.6237 GB, free: 2.98 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01571/1.196, allocations: 6.497 MB / 0.6301 GB, free: 13.27 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/1.198, allocations: 0.6717 MB / 0.6307 GB, free: 12.64 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.2, allocations: 21.3 kB / 0.6308 GB, free: 12.63 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002959/1.203, allocations: 92.7 kB / 0.6308 GB, free: 12.56 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005675/1.203, allocations: 147.7 kB / 0.631 GB, free: 12.47 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.204, allocations: 77.2 kB / 0.6311 GB, free: 12.4 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.003393/1.207, allocations: 1.495 MB / 0.6325 GB, free: 11.05 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.00518/1.212, allocations: 0.8945 MB / 0.6334 GB, free: 10.16 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005279/1.213, allocations: 351 kB / 0.6337 GB, free: 9.887 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.00865/1.222, allocations: 4.097 MB / 0.6377 GB, free: 5.992 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 8.311e-06/1.222, allocations: 1.188 kB / 0.6377 GB, free: 5.992 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.006052/1.228, allocations: 2.625 MB / 0.6403 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.004349/1.232, allocations: 0.5593 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.1907/1.423, allocations: 8.01 MB / 0.6487 GB, free: 74.46 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007037/1.43, allocations: 3.595 MB / 0.6522 GB, free: 73.66 MB / 424.6 MB Notification: Performance of SimCode: time 2.375e-06/1.43, allocations: 0 / 0.6522 GB, free: 73.66 MB / 424.6 MB Notification: Performance of Templates: time 0.1246/1.555, allocations: 45.2 MB / 0.6963 GB, free: 71.17 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_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_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3868:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_467(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3869:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_468(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3870:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_474(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3871:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_eqFunction_475(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.c:3872:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter.o] Error 1