Notification: Performance of loadModel(Modelica): time 1.501/1.501, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.359e-06, allocations: 1.281 kB / 247.3 MB, free: 4.762 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06035/0.06043, allocations: 44.37 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.3372, allocations: 108.7 MB / 400.4 MB, free: 11.38 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.3375, allocations: 95.64 kB / 400.5 MB, free: 11.34 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.26/0.5976, allocations: 72.79 MB / 473.3 MB, free: 9.484 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002301/0.5979, allocations: 87.88 kB / 473.3 MB, free: 9.398 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.009739/0.6077, allocations: 3.113 MB / 476.5 MB, free: 6.219 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6079, allocations: 8.031 kB / 476.5 MB, free: 6.211 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004651/0.6126, allocations: 0.589 MB / 477.1 MB, free: 5.617 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.6229, allocations: 3.087 MB / 480.1 MB, free: 2.473 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.6232, allocations: 107.9 kB / 480.2 MB, free: 2.367 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007951/0.624, allocations: 183.9 kB / 480.4 MB, free: 2.188 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008151/0.6322, allocations: 2.898 MB / 483.3 MB, free: 15.29 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009353/0.6417, allocations: 3.486 MB / 486.8 MB, free: 11.66 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.6419, allocations: 7.906 kB / 486.8 MB, free: 11.65 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.6423, allocations: 0 / 486.8 MB, free: 11.65 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.6425, allocations: 146.2 kB / 487 MB, free: 11.5 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1799/0.8225, allocations: 12.79 MB / 499.8 MB, free: 65.39 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.8243, allocations: 0.8898 MB / 0.4889 GB, free: 65.38 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.8265, allocations: 0.9899 MB / 0.4899 GB, free: 65.36 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00598/0.8326, allocations: 2.592 MB / 0.4924 GB, free: 64.88 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.8328, allocations: 51.28 kB / 0.4925 GB, free: 64.84 MB / 392.6 MB Notification: Performance of pre-optimization done (n=121): time 5.447e-06/0.8328, allocations: 0 / 0.4925 GB, free: 64.84 MB / 392.6 MB Notification: Performance of matching and sorting (n=157): time 0.01519/0.8481, allocations: 5.314 MB / 0.4976 GB, free: 64.2 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.8482, allocations: 66.41 kB / 0.4977 GB, free: 64.14 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00281/0.8511, allocations: 1.362 MB / 0.499 GB, free: 63.98 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.8514, allocations: 25.7 kB / 0.4991 GB, free: 63.95 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006515/0.8521, allocations: 1.229 MB / 0.5003 GB, free: 63.41 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004756/0.8527, allocations: 0.5117 MB / 0.5008 GB, free: 63.1 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.8529, allocations: 0 / 0.5008 GB, free: 63.1 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8531, allocations: 384.9 kB / 0.5011 GB, free: 62.79 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.8547, allocations: 0.7619 MB / 0.5019 GB, free: 62.79 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.8566, allocations: 1.346 MB / 0.5032 GB, free: 62.1 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.8591, allocations: 1.045 MB / 0.5042 GB, free: 62.09 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/0.8592, allocations: 7.656 kB / 0.5042 GB, free: 62.09 MB / 392.6 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005566/0.8648, allocations: 2.365 MB / 0.5065 GB, free: 61.9 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.8649, allocations: 9.344 kB / 0.5065 GB, free: 61.9 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/0.865, allocations: 24 kB / 0.5066 GB, free: 61.9 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.8655, allocations: 124.7 kB / 0.5067 GB, free: 61.88 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.8685, allocations: 490.6 kB / 0.5071 GB, free: 61.88 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.8697, allocations: 1.264 MB / 0.5084 GB, free: 60.69 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.8723, allocations: 61.47 kB / 0.5084 GB, free: 60.68 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003877/0.8728, allocations: 84.2 kB / 0.5085 GB, free: 60.68 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.8731, allocations: 75.8 kB / 0.5086 GB, free: 60.61 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005263/0.8737, allocations: 188.2 kB / 0.5088 GB, free: 60.51 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/0.8782, allocations: 1.98 MB / 0.5107 GB, free: 60.39 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.8783, allocations: 19.22 kB / 0.5107 GB, free: 60.39 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.8784, allocations: 3.938 kB / 0.5107 GB, free: 60.39 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.8785, allocations: 6.469 kB / 0.5107 GB, free: 60.39 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.8891, allocations: 4.842 MB / 0.5155 GB, free: 59.86 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.8892, allocations: 0 / 0.5155 GB, free: 59.86 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/0.8914, allocations: 334.7 kB / 0.5158 GB, free: 59.85 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.8919, allocations: 100.3 kB / 0.5159 GB, free: 59.83 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.8921, allocations: 7.406 kB / 0.5159 GB, free: 59.83 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008722/0.893, allocations: 1.224 MB / 0.5171 GB, free: 58.64 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.8931, allocations: 8.062 kB / 0.5171 GB, free: 58.64 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00613/0.8993, allocations: 3.308 MB / 0.5203 GB, free: 58.1 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.9007, allocations: 458.1 kB / 0.5208 GB, free: 57.91 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/0.9013, allocations: 6.609 kB / 0.5208 GB, free: 57.91 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.9031, allocations: 41.34 kB / 0.5208 GB, free: 57.91 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.9034, allocations: 92.19 kB / 0.5209 GB, free: 57.91 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.9036, allocations: 39.56 kB / 0.5209 GB, free: 57.91 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002054/0.9057, allocations: 1.018 MB / 0.5219 GB, free: 57.8 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002779/0.9086, allocations: 0.5019 MB / 0.5224 GB, free: 57.8 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005005/0.9092, allocations: 373.8 kB / 0.5228 GB, free: 57.73 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004262/0.9135, allocations: 2.21 MB / 0.5249 GB, free: 57.4 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.9136, allocations: 0 / 0.5249 GB, free: 57.4 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.9158, allocations: 1.199 MB / 0.5261 GB, free: 57.1 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/0.9187, allocations: 374.8 kB / 0.5265 GB, free: 57.09 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.931, allocations: 4.44 MB / 0.5308 GB, free: 56.1 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00383/0.9349, allocations: 2.472 MB / 0.5332 GB, free: 55.36 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.935, allocations: 0 / 0.5332 GB, free: 55.36 MB / 392.6 MB Notification: Performance of Templates: time 0.107/1.042, allocations: 25.85 MB / 0.5585 GB, free: 50.86 MB / 392.6 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