Notification: Performance of loadModel(Modelica): time 1.517/1.517, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.076e-05/1.09e-05, allocations: 1.094 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06315/0.06323, allocations: 44.36 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2665/0.3298, allocations: 111.8 MB / 403.5 MB, free: 8.359 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.3302, allocations: 95.31 kB / 403.6 MB, free: 8.312 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2889/0.6192, allocations: 78.12 MB / 481.7 MB, free: 0.9844 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002947/0.6196, allocations: 95.81 kB / 481.8 MB, free: 0.8906 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01135/0.631, allocations: 3.408 MB / 485.2 MB, free: 13.41 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6312, allocations: 8.031 kB / 485.2 MB, free: 13.41 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/0.6365, allocations: 0.6509 MB / 485.8 MB, free: 12.75 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.6478, allocations: 3.363 MB / 489.2 MB, free: 9.332 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.6481, allocations: 112 kB / 489.3 MB, free: 9.223 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.6493, allocations: 203.9 kB / 489.5 MB, free: 9.023 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008825/0.6582, allocations: 3.232 MB / 492.8 MB, free: 5.789 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.6697, allocations: 3.849 MB / 496.6 MB, free: 1.801 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/0.67, allocations: 7.891 kB / 496.6 MB, free: 1.793 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008116/0.6708, allocations: 4 kB / 496.6 MB, free: 1.789 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.6711, allocations: 162.7 kB / 496.8 MB, free: 1.629 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1847/0.8558, allocations: 13.88 MB / 0.4987 GB, free: 60.5 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.8583, allocations: 1.171 MB / 0.4998 GB, free: 60.46 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.8609, allocations: 1.267 MB / 0.5011 GB, free: 60.45 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009696/0.8706, allocations: 3.989 MB / 0.505 GB, free: 59.89 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.8708, allocations: 53.06 kB / 0.505 GB, free: 59.85 MB / 392.6 MB Notification: Performance of pre-optimization done (n=154): time 7.892e-06/0.8708, allocations: 3.906 kB / 0.505 GB, free: 59.85 MB / 392.6 MB Notification: Performance of matching and sorting (n=158): time 0.01115/0.882, allocations: 4.62 MB / 0.5095 GB, free: 58.78 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.8822, allocations: 68.06 kB / 0.5096 GB, free: 58.72 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.8853, allocations: 1.559 MB / 0.5111 GB, free: 58.51 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.8857, allocations: 25.7 kB / 0.5111 GB, free: 58.48 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/0.8864, allocations: 1.315 MB / 0.5124 GB, free: 57.91 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/0.8869, allocations: 0.517 MB / 0.5129 GB, free: 57.6 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.8871, allocations: 0 / 0.5129 GB, free: 57.6 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8874, allocations: 388.2 kB / 0.5133 GB, free: 57.3 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.889, allocations: 0.7863 MB / 0.5141 GB, free: 57.29 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.891, allocations: 1.392 MB / 0.5154 GB, free: 56.55 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.8936, allocations: 1.076 MB / 0.5165 GB, free: 56.53 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/0.8937, allocations: 6 kB / 0.5165 GB, free: 56.53 MB / 392.6 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00609/0.8999, allocations: 2.567 MB / 0.519 GB, free: 56.22 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.9, allocations: 3.812 kB / 0.519 GB, free: 56.22 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.9001, allocations: 20.25 kB / 0.519 GB, free: 56.22 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004898/0.9006, allocations: 151.8 kB / 0.5192 GB, free: 56.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.9034, allocations: 485.3 kB / 0.5196 GB, free: 56.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.9061, allocations: 2.947 MB / 0.5225 GB, free: 53.73 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.9088, allocations: 55.41 kB / 0.5225 GB, free: 53.73 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/0.9093, allocations: 88.59 kB / 0.5226 GB, free: 53.73 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.9095, allocations: 79.19 kB / 0.5227 GB, free: 53.66 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/0.91, allocations: 207.1 kB / 0.5229 GB, free: 53.55 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/0.9157, allocations: 2.338 MB / 0.5252 GB, free: 53.23 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.9158, allocations: 14.34 kB / 0.5252 GB, free: 53.23 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.9159, allocations: 5.375 kB / 0.5252 GB, free: 53.23 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.916, allocations: 11.02 kB / 0.5252 GB, free: 53.23 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.9281, allocations: 5.281 MB / 0.5304 GB, free: 52.43 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.9282, allocations: 3.75 kB / 0.5304 GB, free: 52.43 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/0.9302, allocations: 263.2 kB / 0.5306 GB, free: 52.43 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.9314, allocations: 268.1 kB / 0.5309 GB, free: 52.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/0.9317, allocations: 16.64 kB / 0.5309 GB, free: 52.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007025/0.9388, allocations: 6.7 MB / 0.5374 GB, free: 47.39 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.9389, allocations: 9.469 kB / 0.5375 GB, free: 47.39 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007198/0.9461, allocations: 3.708 MB / 0.5411 GB, free: 45.49 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.9477, allocations: 477 kB / 0.5415 GB, free: 45.18 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005593/0.9483, allocations: 16.36 kB / 0.5415 GB, free: 45.18 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.9501, allocations: 45.92 kB / 0.5416 GB, free: 45.17 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.9505, allocations: 83.47 kB / 0.5417 GB, free: 45.16 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.9507, allocations: 42.84 kB / 0.5417 GB, free: 45.15 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002244/0.953, allocations: 1.154 MB / 0.5428 GB, free: 44.64 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003185/0.9563, allocations: 0.5408 MB / 0.5434 GB, free: 44.62 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005005/0.9569, allocations: 380 kB / 0.5437 GB, free: 44.54 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.9611, allocations: 2.233 MB / 0.5459 GB, free: 43.58 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.356e-06/0.9612, allocations: 2.406 kB / 0.5459 GB, free: 43.58 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.9639, allocations: 1.396 MB / 0.5473 GB, free: 42.84 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.9671, allocations: 422.5 kB / 0.5477 GB, free: 42.73 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.98, allocations: 4.992 MB / 0.5525 GB, free: 40.73 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004907/0.9851, allocations: 2.64 MB / 0.5551 GB, free: 39.64 MB / 392.6 MB Notification: Performance of SimCode: time 2.095e-06/0.9852, allocations: 0 / 0.5551 GB, free: 39.64 MB / 392.6 MB Notification: Performance of Templates: time 0.1564/1.142, allocations: 27.86 MB / 0.5823 GB, free: 29.32 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_VoltageSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -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_VoltageSource.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_VoltageSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_VoltageSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_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_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_VoltageSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_VoltageSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_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_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_VoltageSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_VoltageSource_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_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2388:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_280(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2389:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_281(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2390:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_300(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2391:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_324(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2392:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_327(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_VoltageSource.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.o] Error 1