Notification: Performance of loadModel(Modelica): time 1.506/1.506, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.87e-06/8.87e-06, allocations: 2.375 kB / 247.6 MB, free: 4.449 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05762/0.05771, allocations: 44.37 MB / 292 MB, free: 9.027 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2695/0.3273, allocations: 118.2 MB / 410.2 MB, free: 1.758 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.3276, allocations: 87.06 kB / 410.3 MB, free: 1.715 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.5667/0.8943, allocations: 113 MB / 0.511 GB, free: 54 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004135/0.8948, allocations: 134.1 kB / 0.5111 GB, free: 53.98 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01591/0.9108, allocations: 4.833 MB / 0.5158 GB, free: 52.13 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.9109, allocations: 8.969 kB / 0.5158 GB, free: 52.13 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007629/0.9186, allocations: 0.9468 MB / 0.5168 GB, free: 51.82 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.9323, allocations: 4.377 MB / 0.521 GB, free: 51.08 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/0.9327, allocations: 164.5 kB / 0.5212 GB, free: 51.08 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/0.9344, allocations: 306 kB / 0.5215 GB, free: 51.07 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01317/0.9477, allocations: 4.961 MB / 0.5263 GB, free: 51.05 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.9642, allocations: 5.843 MB / 0.532 GB, free: 50.41 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002111/0.9645, allocations: 8.656 kB / 0.532 GB, free: 50.41 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.9657, allocations: 7.719 kB / 0.532 GB, free: 50.4 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002093/0.966, allocations: 239.7 kB / 0.5323 GB, free: 50.39 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04393/1.01, allocations: 20.11 MB / 0.5519 GB, free: 44.61 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/1.014, allocations: 1.702 MB / 0.5536 GB, free: 43.97 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004143/1.018, allocations: 2.065 MB / 0.5556 GB, free: 43.21 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/1.034, allocations: 6.145 MB / 0.5616 GB, free: 40.19 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/1.034, allocations: 57.75 kB / 0.5617 GB, free: 40.14 MB / 392.6 MB Notification: Performance of pre-optimization done (n=245): time 1.362e-05/1.034, allocations: 1.125 kB / 0.5617 GB, free: 40.14 MB / 392.6 MB Notification: Performance of matching and sorting (n=269): time 0.02463/1.059, allocations: 8.662 MB / 0.5701 GB, free: 36.35 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/1.059, allocations: 79.81 kB / 0.5702 GB, free: 36.29 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00492/1.064, allocations: 2.034 MB / 0.5722 GB, free: 35.46 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004316/1.065, allocations: 26.89 kB / 0.5722 GB, free: 35.43 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/1.066, allocations: 1.856 MB / 0.574 GB, free: 34.09 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009322/1.067, allocations: 0.8903 MB / 0.5749 GB, free: 33.38 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.067, allocations: 0 / 0.5749 GB, free: 33.38 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0002039/1.067, allocations: 435.4 kB / 0.5753 GB, free: 33.02 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002887/1.07, allocations: 1.371 MB / 0.5766 GB, free: 31.79 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003437/1.074, allocations: 2.259 MB / 0.5788 GB, free: 29.32 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/1.078, allocations: 1.832 MB / 0.5806 GB, free: 27.74 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-05/1.078, allocations: 8 kB / 0.5806 GB, free: 27.73 MB / 392.6 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01142/1.09, allocations: 4.589 MB / 0.5851 GB, free: 23.71 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.09, allocations: 4.531 kB / 0.5851 GB, free: 23.71 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/1.09, allocations: 32 kB / 0.5852 GB, free: 23.68 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/1.092, allocations: 0.7063 MB / 0.5858 GB, free: 23.08 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004247/1.097, allocations: 0.7342 MB / 0.5866 GB, free: 22.45 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.109, allocations: 8.727 MB / 0.5951 GB, free: 13.91 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/1.113, allocations: 97.38 kB / 0.5952 GB, free: 13.84 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006428/1.114, allocations: 135.6 kB / 0.5953 GB, free: 13.71 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/1.114, allocations: 79.28 kB / 0.5954 GB, free: 13.63 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008546/1.115, allocations: 300.1 kB / 0.5957 GB, free: 13.34 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.126, allocations: 4.236 MB / 0.5998 GB, free: 9.668 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/1.126, allocations: 24 kB / 0.5998 GB, free: 9.645 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.57e-05/1.126, allocations: 12 kB / 0.5998 GB, free: 9.633 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-05/1.126, allocations: 13.69 kB / 0.5999 GB, free: 9.633 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/1.146, allocations: 8.738 MB / 0.6084 GB, free: 2.324 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/1.147, allocations: 0 / 0.6084 GB, free: 2.324 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002937/1.15, allocations: 424.1 kB / 0.6088 GB, free: 1.973 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003732/1.153, allocations: 0.9338 MB / 0.6097 GB, free: 1.203 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004587/1.154, allocations: 27.78 kB / 0.6097 GB, free: 1.184 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/1.175, allocations: 14.4 MB / 0.6238 GB, free: 2.949 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/1.175, allocations: 15 kB / 0.6238 GB, free: 2.938 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01588/1.191, allocations: 6.508 MB / 0.6302 GB, free: 13.27 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.193, allocations: 0.6734 MB / 0.6308 GB, free: 12.65 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009005/1.194, allocations: 19.19 kB / 0.6308 GB, free: 12.64 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.197, allocations: 93.12 kB / 0.6309 GB, free: 12.57 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/1.198, allocations: 152.8 kB / 0.6311 GB, free: 12.48 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.198, allocations: 77.3 kB / 0.6311 GB, free: 12.41 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.00317/1.201, allocations: 1.495 MB / 0.6326 GB, free: 11.05 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.005016/1.206, allocations: 0.8942 MB / 0.6335 GB, free: 10.16 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005141/1.207, allocations: 342.4 kB / 0.6338 GB, free: 9.895 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.008553/1.216, allocations: 4.109 MB / 0.6378 GB, free: 5.996 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 8.59e-06/1.216, allocations: 448 / 0.6378 GB, free: 5.996 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005867/1.222, allocations: 2.619 MB / 0.6404 GB, free: 3.516 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.226, allocations: 0.5569 MB / 0.6409 GB, free: 3.066 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1842/1.41, allocations: 8.011 MB / 0.6487 GB, free: 74.38 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005943/1.416, allocations: 3.591 MB / 0.6523 GB, free: 73.57 MB / 424.6 MB Notification: Performance of SimCode: time 2.724e-06/1.417, allocations: 3 kB / 0.6523 GB, free: 73.57 MB / 424.6 MB Notification: Performance of Templates: time 0.1357/1.552, allocations: 45.21 MB / 0.6964 GB, free: 71.08 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