Notification: Performance of loadModel(Modelica): time 1.483/1.483, allocations: 194.5 MB / 200.7 MB, free: 7.367 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.159e-05, allocations: 1.75 kB / 247.3 MB, free: 5.473 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06468/0.06476, allocations: 44.36 MB / 291.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2675/0.3324, allocations: 108.7 MB / 400.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.3328, allocations: 91.58 kB / 400.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2657/0.5985, allocations: 72.78 MB / 473.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002618/0.5989, allocations: 87.88 kB / 473.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of Generate backend data structure: time 0.009797/0.6087, allocations: 3.117 MB / 476.4 MB, free: 9.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6089, allocations: 8.031 kB / 476.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.6137, allocations: 0.5929 MB / 477 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.6239, allocations: 3.091 MB / 480.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.6242, allocations: 104 kB / 480.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008665/0.6251, allocations: 187.9 kB / 480.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008156/0.6333, allocations: 2.891 MB / 483.3 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009397/0.6428, allocations: 3.486 MB / 486.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.643, allocations: 15.89 kB / 486.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003705/0.6435, allocations: 11.94 kB / 486.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.6437, allocations: 142.2 kB / 487 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/0.6707, allocations: 12.78 MB / 499.7 MB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.6725, allocations: 0.8853 MB / 0.4889 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/0.6748, allocations: 0.9952 MB / 0.4899 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1311/0.806, allocations: 2.592 MB / 0.4924 GB, free: 119.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.8061, allocations: 45.78 kB / 0.4924 GB, free: 119 MB / 394.7 MB Notification: Performance of pre-optimization done (n=121): time 7.823e-06/0.8062, allocations: 0 / 0.4924 GB, free: 119 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.01682/0.8231, allocations: 5.31 MB / 0.4976 GB, free: 118.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.8232, allocations: 71.42 kB / 0.4977 GB, free: 118.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/0.8261, allocations: 1.371 MB / 0.499 GB, free: 118.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.8265, allocations: 25.7 kB / 0.4991 GB, free: 118.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007111/0.8272, allocations: 1.228 MB / 0.5003 GB, free: 117.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/0.8279, allocations: 0.5074 MB / 0.5008 GB, free: 117.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.8281, allocations: 0 / 0.5008 GB, free: 117.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8283, allocations: 384.8 kB / 0.5011 GB, free: 117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.8299, allocations: 0.7648 MB / 0.5019 GB, free: 117 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.832, allocations: 1.35 MB / 0.5032 GB, free: 116.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.8346, allocations: 1.04 MB / 0.5042 GB, free: 116.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.8347, allocations: 7.469 kB / 0.5042 GB, free: 116.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005789/0.8406, allocations: 2.364 MB / 0.5065 GB, free: 116.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.8407, allocations: 7.844 kB / 0.5065 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.8408, allocations: 18.47 kB / 0.5065 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.8413, allocations: 121.5 kB / 0.5067 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/0.8442, allocations: 0.4916 MB / 0.5071 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.8453, allocations: 1.253 MB / 0.5084 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.8479, allocations: 62.56 kB / 0.5084 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.8483, allocations: 88.27 kB / 0.5085 GB, free: 114.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.8486, allocations: 79.19 kB / 0.5086 GB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.8491, allocations: 188.3 kB / 0.5088 GB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/0.854, allocations: 1.975 MB / 0.5107 GB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.8541, allocations: 18.22 kB / 0.5107 GB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.8542, allocations: 3.875 kB / 0.5107 GB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.151e-05/0.8543, allocations: 7.359 kB / 0.5107 GB, free: 114.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.8648, allocations: 4.837 MB / 0.5154 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.8649, allocations: 7.406 kB / 0.5155 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/0.8671, allocations: 331.7 kB / 0.5158 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004322/0.8676, allocations: 95.64 kB / 0.5159 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/0.8679, allocations: 5.969 kB / 0.5159 GB, free: 114.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008868/0.8688, allocations: 1.237 MB / 0.5171 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-06/0.8689, allocations: 0 / 0.5171 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006179/0.8752, allocations: 3.318 MB / 0.5203 GB, free: 112.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.8765, allocations: 452.7 kB / 0.5207 GB, free: 112.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000495/0.8771, allocations: 7.672 kB / 0.5208 GB, free: 112.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.8787, allocations: 47.14 kB / 0.5208 GB, free: 112.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.879, allocations: 82.41 kB / 0.5209 GB, free: 112.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.8792, allocations: 42.84 kB / 0.5209 GB, free: 112.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001872/0.8811, allocations: 1.021 MB / 0.5219 GB, free: 112 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002599/0.8838, allocations: 0.4931 MB / 0.5224 GB, free: 112 MB / 394.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000493/0.8844, allocations: 376.7 kB / 0.5228 GB, free: 112 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004102/0.8886, allocations: 2.209 MB / 0.5249 GB, free: 111.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.146e-06/0.8887, allocations: 3.969 kB / 0.5249 GB, free: 111.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.8908, allocations: 1.203 MB / 0.5261 GB, free: 111.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/0.8937, allocations: 384.6 kB / 0.5265 GB, free: 111.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.9051, allocations: 4.421 MB / 0.5308 GB, free: 110.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003412/0.9087, allocations: 2.475 MB / 0.5332 GB, free: 109.6 MB / 394.7 MB Notification: Performance of SimCode: time 2.375e-06/0.9088, allocations: 3.031 kB / 0.5332 GB, free: 109.6 MB / 394.7 MB Notification: Performance of Templates: time 0.1179/1.027, allocations: 25.84 MB / 0.5584 GB, free: 107.4 MB / 394.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.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_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2644:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_260(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2645:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_270(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2646:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_271(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2647:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_CurrentSource_eqFunction_273(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.c:2648:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource.o] Error 1