Notification: Performance of loadModel(Modelica): time 1.665/1.665, allocations: 194.5 MB / 200.7 MB, free: 5.094 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.499e-06, allocations: 1.375 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06151/0.06158, allocations: 44.35 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.3218, allocations: 108.7 MB / 400.4 MB, free: 11.12 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.3222, allocations: 97.42 kB / 400.5 MB, free: 11.07 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2593/0.5815, allocations: 72.78 MB / 473.3 MB, free: 9.391 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002382/0.5819, allocations: 83.88 kB / 473.3 MB, free: 9.309 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.009663/0.5916, allocations: 3.113 MB / 476.5 MB, free: 6.129 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5917, allocations: 12.03 kB / 476.5 MB, free: 6.117 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.5963, allocations: 0.5929 MB / 477.1 MB, free: 5.52 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.6068, allocations: 3.091 MB / 480.1 MB, free: 2.371 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.6071, allocations: 100 kB / 480.2 MB, free: 2.273 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008728/0.608, allocations: 187.9 kB / 480.4 MB, free: 2.09 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008174/0.6162, allocations: 2.894 MB / 483.3 MB, free: 15.19 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009879/0.6262, allocations: 3.486 MB / 486.8 MB, free: 11.56 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.6264, allocations: 7.891 kB / 486.8 MB, free: 11.55 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.6269, allocations: 4 kB / 486.8 MB, free: 11.55 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.6271, allocations: 146.2 kB / 487 MB, free: 11.41 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1469/0.774, allocations: 12.78 MB / 499.7 MB, free: 116.8 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.7758, allocations: 0.8954 MB / 0.4889 GB, free: 116.8 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.7779, allocations: 0.99 MB / 0.4899 GB, free: 116.7 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005493/0.7834, allocations: 2.588 MB / 0.4924 GB, free: 116.3 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.7836, allocations: 45.84 kB / 0.4924 GB, free: 116.2 MB / 392.6 MB Notification: Performance of pre-optimization done (n=121): time 6.984e-06/0.7836, allocations: 3.469 kB / 0.4925 GB, free: 116.2 MB / 392.6 MB Notification: Performance of matching and sorting (n=157): time 0.0149/0.7986, allocations: 5.312 MB / 0.4976 GB, free: 115.6 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.7987, allocations: 67.72 kB / 0.4977 GB, free: 115.5 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/0.8013, allocations: 1.372 MB / 0.499 GB, free: 115.4 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.8016, allocations: 28.95 kB / 0.4991 GB, free: 115.3 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005793/0.8022, allocations: 1.219 MB / 0.5003 GB, free: 114.8 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004333/0.8027, allocations: 0.5138 MB / 0.5008 GB, free: 114.5 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.8029, allocations: 0 / 0.5008 GB, free: 114.5 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8031, allocations: 386.9 kB / 0.5011 GB, free: 114.2 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.8046, allocations: 0.7655 MB / 0.5019 GB, free: 114.2 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.8065, allocations: 1.341 MB / 0.5032 GB, free: 113.5 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.8088, allocations: 1.043 MB / 0.5042 GB, free: 113.5 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.8089, allocations: 7.125 kB / 0.5042 GB, free: 113.5 MB / 392.6 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005573/0.8145, allocations: 2.368 MB / 0.5065 GB, free: 113.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8146, allocations: 7.344 kB / 0.5065 GB, free: 113.3 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.443e-05/0.8147, allocations: 26.34 kB / 0.5066 GB, free: 113.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/0.8153, allocations: 120.1 kB / 0.5067 GB, free: 113.3 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.8181, allocations: 0.4885 MB / 0.5071 GB, free: 113.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009582/0.8191, allocations: 1.26 MB / 0.5084 GB, free: 112.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.8213, allocations: 56.09 kB / 0.5084 GB, free: 112.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.8216, allocations: 87.3 kB / 0.5085 GB, free: 112.1 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.8219, allocations: 81.03 kB / 0.5086 GB, free: 112 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004984/0.8224, allocations: 193 kB / 0.5088 GB, free: 111.9 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.8269, allocations: 1.966 MB / 0.5107 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.827, allocations: 14.66 kB / 0.5107 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.827, allocations: 6.094 kB / 0.5107 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.8271, allocations: 10.69 kB / 0.5107 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009915/0.8371, allocations: 4.844 MB / 0.5155 GB, free: 111.3 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.8372, allocations: 3.344 kB / 0.5155 GB, free: 111.3 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/0.8393, allocations: 334.9 kB / 0.5158 GB, free: 111.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.8398, allocations: 90.31 kB / 0.5159 GB, free: 111.2 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.84, allocations: 13.36 kB / 0.5159 GB, free: 111.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008574/0.841, allocations: 1.228 MB / 0.5171 GB, free: 110 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.841, allocations: 4.625 kB / 0.5171 GB, free: 110 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005905/0.847, allocations: 3.312 MB / 0.5203 GB, free: 109.5 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.8482, allocations: 458.2 kB / 0.5208 GB, free: 109.3 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/0.8487, allocations: 3.625 kB / 0.5208 GB, free: 109.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.8502, allocations: 50.17 kB / 0.5208 GB, free: 109.3 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.8504, allocations: 74.19 kB / 0.5209 GB, free: 109.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.8506, allocations: 49.61 kB / 0.5209 GB, free: 109.3 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001879/0.8526, allocations: 1.018 MB / 0.5219 GB, free: 109.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002319/0.855, allocations: 0.5051 MB / 0.5224 GB, free: 109.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004671/0.8555, allocations: 374.8 kB / 0.5228 GB, free: 109.1 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003731/0.8593, allocations: 2.203 MB / 0.5249 GB, free: 108.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.892e-06/0.8594, allocations: 3.906 kB / 0.5249 GB, free: 108.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.8613, allocations: 1.199 MB / 0.5261 GB, free: 108.5 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.8639, allocations: 377.2 kB / 0.5265 GB, free: 108.5 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.875, allocations: 4.434 MB / 0.5308 GB, free: 107.5 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003365/0.8785, allocations: 2.466 MB / 0.5332 GB, free: 106.8 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.8786, allocations: 3.75 kB / 0.5332 GB, free: 106.8 MB / 392.6 MB Notification: Performance of Templates: time 0.1112/0.9898, allocations: 25.84 MB / 0.5584 GB, free: 101.9 MB / 392.6 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