Notification: Performance of loadModel(Modelica): time 1.501/1.501, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.027e-05/1.041e-05, allocations: 1.156 kB / 247.3 MB, free: 4.73 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06148/0.06156, allocations: 44.36 MB / 291.7 MB, free: 9.312 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.3272, allocations: 111.8 MB / 403.5 MB, free: 8.363 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.3276, allocations: 97.88 kB / 403.6 MB, free: 8.312 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2852/0.6129, allocations: 78.13 MB / 481.7 MB, free: 0.9883 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002907/0.6133, allocations: 99.8 kB / 481.8 MB, free: 0.8906 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01126/0.6246, allocations: 3.404 MB / 485.2 MB, free: 13.42 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6248, allocations: 8.031 kB / 485.2 MB, free: 13.41 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/0.6301, allocations: 0.6432 MB / 485.8 MB, free: 12.77 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.6418, allocations: 3.363 MB / 489.2 MB, free: 9.348 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.6422, allocations: 112 kB / 489.3 MB, free: 9.238 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.6434, allocations: 203.9 kB / 489.5 MB, free: 9.039 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008954/0.6525, allocations: 3.232 MB / 492.7 MB, free: 5.801 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.6641, allocations: 3.849 MB / 496.6 MB, free: 1.812 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/0.6644, allocations: 11.91 kB / 496.6 MB, free: 1.801 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008474/0.6654, allocations: 4 kB / 496.6 MB, free: 1.797 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.6656, allocations: 166.7 kB / 496.8 MB, free: 1.633 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1559/0.8215, allocations: 13.87 MB / 0.4987 GB, free: 112.6 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.8243, allocations: 1.17 MB / 0.4998 GB, free: 112.6 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00267/0.8271, allocations: 1.263 MB / 0.5011 GB, free: 112.6 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/0.8373, allocations: 3.994 MB / 0.505 GB, free: 112 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.8374, allocations: 47.59 kB / 0.505 GB, free: 111.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=154): time 9.079e-06/0.8375, allocations: 0 / 0.505 GB, free: 111.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=158): time 0.01143/0.849, allocations: 4.633 MB / 0.5095 GB, free: 110.9 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.8491, allocations: 68.69 kB / 0.5096 GB, free: 110.8 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/0.8525, allocations: 1.553 MB / 0.5111 GB, free: 110.6 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002715/0.8529, allocations: 25.7 kB / 0.5111 GB, free: 110.6 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007855/0.8538, allocations: 1.314 MB / 0.5124 GB, free: 110 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.8544, allocations: 0.5161 MB / 0.5129 GB, free: 109.7 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.8547, allocations: 0 / 0.5129 GB, free: 109.7 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.8549, allocations: 391.5 kB / 0.5133 GB, free: 109.4 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.8565, allocations: 0.7853 MB / 0.5141 GB, free: 109.4 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.8587, allocations: 1.391 MB / 0.5154 GB, free: 108.7 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.8614, allocations: 1.075 MB / 0.5165 GB, free: 108.6 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.682e-05/0.8615, allocations: 3.625 kB / 0.5165 GB, free: 108.6 MB / 392.6 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.006593/0.8682, allocations: 2.569 MB / 0.519 GB, free: 108.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.8683, allocations: 7.812 kB / 0.519 GB, free: 108.3 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/0.8684, allocations: 18.53 kB / 0.519 GB, free: 108.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.869, allocations: 148.1 kB / 0.5191 GB, free: 108.3 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/0.8718, allocations: 487.5 kB / 0.5196 GB, free: 108.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.8747, allocations: 2.943 MB / 0.5225 GB, free: 105.8 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.8774, allocations: 54.47 kB / 0.5225 GB, free: 105.8 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/0.8779, allocations: 94.19 kB / 0.5226 GB, free: 105.8 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.8781, allocations: 82.47 kB / 0.5227 GB, free: 105.8 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/0.8787, allocations: 206.7 kB / 0.5229 GB, free: 105.7 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005381/0.8841, allocations: 2.34 MB / 0.5252 GB, free: 105.3 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.8842, allocations: 13.5 kB / 0.5252 GB, free: 105.3 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.8843, allocations: 3.969 kB / 0.5252 GB, free: 105.3 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/0.8844, allocations: 14.88 kB / 0.5252 GB, free: 105.3 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.8966, allocations: 5.279 MB / 0.5304 GB, free: 104.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.8967, allocations: 0 / 0.5304 GB, free: 104.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.8986, allocations: 266.9 kB / 0.5306 GB, free: 104.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.8997, allocations: 268.1 kB / 0.5309 GB, free: 104.5 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/0.9001, allocations: 15.28 kB / 0.5309 GB, free: 104.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006995/0.9071, allocations: 6.707 MB / 0.5375 GB, free: 99.06 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-06/0.9073, allocations: 0 / 0.5375 GB, free: 99.06 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0068/0.9141, allocations: 3.708 MB / 0.5411 GB, free: 97.15 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.9157, allocations: 483.6 kB / 0.5415 GB, free: 96.83 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/0.9164, allocations: 14.02 kB / 0.5415 GB, free: 96.83 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.9184, allocations: 45.53 kB / 0.5416 GB, free: 96.83 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.9187, allocations: 79.89 kB / 0.5417 GB, free: 96.82 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.9189, allocations: 40.38 kB / 0.5417 GB, free: 96.81 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002257/0.9212, allocations: 1.16 MB / 0.5428 GB, free: 96.3 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003456/0.9248, allocations: 0.5414 MB / 0.5434 GB, free: 96.28 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005427/0.9254, allocations: 383.8 kB / 0.5437 GB, free: 96.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.9298, allocations: 2.234 MB / 0.5459 GB, free: 95.24 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.451e-06/0.9299, allocations: 2.469 kB / 0.5459 GB, free: 95.24 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002694/0.9327, allocations: 1.399 MB / 0.5473 GB, free: 94.5 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.9359, allocations: 413.9 kB / 0.5477 GB, free: 94.39 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.9497, allocations: 4.993 MB / 0.5526 GB, free: 92.45 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004367/0.9542, allocations: 2.637 MB / 0.5551 GB, free: 91.35 MB / 392.6 MB Notification: Performance of SimCode: time 2.444e-06/0.9543, allocations: 0 / 0.5551 GB, free: 91.35 MB / 392.6 MB Notification: Performance of Templates: time 0.1011/1.055, allocations: 27.85 MB / 0.5823 GB, free: 80.54 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.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_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2388:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_280(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2389:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_281(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2390:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_300(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2391:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_VoltageSource_eqFunction_324(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.c:2392:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_VoltageSource.o] Error 1