Notification: Performance of loadModel(Modelica): time 1.5/1.5, allocations: 194.5 MB / 200.7 MB, free: 7.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.069e-05, allocations: 2.531 kB / 247.3 MB, free: 5.504 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07651/0.07659, allocations: 44.37 MB / 291.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/0.3445, allocations: 108.7 MB / 400.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.3448, allocations: 88.2 kB / 400.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.268/0.6129, allocations: 72.78 MB / 473.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002482/0.6132, allocations: 83.88 kB / 473.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Generate backend data structure: time 0.009727/0.623, allocations: 3.117 MB / 476.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.6232, allocations: 12.03 kB / 476.5 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004767/0.628, allocations: 0.589 MB / 477.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.6382, allocations: 3.083 MB / 480.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.6384, allocations: 112 kB / 480.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008292/0.6393, allocations: 183.9 kB / 480.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007919/0.6473, allocations: 2.894 MB / 483.3 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00976/0.6571, allocations: 3.483 MB / 486.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.6573, allocations: 7.844 kB / 486.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004561/0.6579, allocations: 8 kB / 486.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.6581, allocations: 146.2 kB / 487 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02602/0.6842, allocations: 12.79 MB / 499.8 MB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.686, allocations: 0.8884 MB / 0.4889 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/0.6884, allocations: 0.9959 MB / 0.4899 GB, free: 156 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.126/0.8144, allocations: 2.588 MB / 0.4924 GB, free: 119.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.8146, allocations: 48.81 kB / 0.4925 GB, free: 119.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 6.705e-06/0.8146, allocations: 0 / 0.4925 GB, free: 119.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.01496/0.8296, allocations: 5.314 MB / 0.4976 GB, free: 118.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.8298, allocations: 67.69 kB / 0.4977 GB, free: 118.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.8324, allocations: 1.37 MB / 0.499 GB, free: 118.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002071/0.8327, allocations: 25.7 kB / 0.4991 GB, free: 118.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006116/0.8333, allocations: 1.225 MB / 0.5003 GB, free: 117.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000463/0.8339, allocations: 0.5126 MB / 0.5008 GB, free: 117.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.834, allocations: 0 / 0.5008 GB, free: 117.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8342, allocations: 382.6 kB / 0.5011 GB, free: 117.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.8358, allocations: 0.7642 MB / 0.5019 GB, free: 117.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.8375, allocations: 1.348 MB / 0.5032 GB, free: 116.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/0.8398, allocations: 1.04 MB / 0.5042 GB, free: 116.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.8399, allocations: 12.58 kB / 0.5042 GB, free: 116.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005512/0.8455, allocations: 2.362 MB / 0.5065 GB, free: 116.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.8456, allocations: 7.188 kB / 0.5065 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.8457, allocations: 19.31 kB / 0.5066 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.8462, allocations: 124.5 kB / 0.5067 GB, free: 116.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.8491, allocations: 495.5 kB / 0.5071 GB, free: 116.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.8502, allocations: 1.258 MB / 0.5084 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.8526, allocations: 56.59 kB / 0.5084 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/0.853, allocations: 85.88 kB / 0.5085 GB, free: 115.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.8532, allocations: 84.67 kB / 0.5086 GB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.8537, allocations: 188.8 kB / 0.5088 GB, free: 115 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/0.8581, allocations: 1.977 MB / 0.5107 GB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.8582, allocations: 14.59 kB / 0.5107 GB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.8583, allocations: 10.23 kB / 0.5107 GB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.8583, allocations: 5.391 kB / 0.5107 GB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.8688, allocations: 4.841 MB / 0.5155 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.8689, allocations: 3.875 kB / 0.5155 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/0.8713, allocations: 331.7 kB / 0.5158 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/0.8718, allocations: 93.66 kB / 0.5159 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.872, allocations: 11.03 kB / 0.5159 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008838/0.873, allocations: 1.227 MB / 0.5171 GB, free: 113.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.892e-06/0.873, allocations: 3.375 kB / 0.5171 GB, free: 113.1 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006047/0.8791, allocations: 3.313 MB / 0.5203 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.8805, allocations: 457.5 kB / 0.5207 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004035/0.881, allocations: 9 kB / 0.5208 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.8826, allocations: 53.2 kB / 0.5208 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.8829, allocations: 79.25 kB / 0.5209 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.8831, allocations: 39.22 kB / 0.5209 GB, free: 112.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001897/0.885, allocations: 1.016 MB / 0.5219 GB, free: 112.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002317/0.8874, allocations: 0.5006 MB / 0.5224 GB, free: 112.2 MB / 394.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004732/0.8879, allocations: 379.8 kB / 0.5228 GB, free: 112.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.892, allocations: 2.211 MB / 0.5249 GB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.355e-06/0.8921, allocations: 0 / 0.5249 GB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.8943, allocations: 1.201 MB / 0.5261 GB, free: 111.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.8973, allocations: 385.8 kB / 0.5265 GB, free: 111.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.9087, allocations: 4.423 MB / 0.5308 GB, free: 110.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003815/0.9127, allocations: 2.471 MB / 0.5332 GB, free: 109.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.584e-06/0.9128, allocations: 0 / 0.5332 GB, free: 109.8 MB / 394.7 MB Notification: Performance of Templates: time 0.0998/1.013, allocations: 25.85 MB / 0.5584 GB, free: 107.7 MB / 394.7 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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_SMPM_CurrentSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -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.SMPM_CurrentSource.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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.SMPM_CurrentSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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.SMPM_CurrentSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_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.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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.SMPM_CurrentSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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.SMPM_CurrentSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_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.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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.SMPM_CurrentSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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_SMPM_CurrentSource_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.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2644:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_260(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2645:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_270(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2646:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_271(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2647:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_273(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2648:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_278(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.SMPM_CurrentSource.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.o] Error 1