Notification: Performance of loadModel(Modelica): time 1.565/1.565, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.013e-05, allocations: 2 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06091/0.06099, allocations: 44.36 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.269/0.3301, allocations: 111.8 MB / 403.5 MB, free: 8.375 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.3304, allocations: 91.44 kB / 403.6 MB, free: 8.332 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2943/0.6248, allocations: 78.13 MB / 481.7 MB, free: 1.004 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002868/0.6252, allocations: 95.81 kB / 481.8 MB, free: 0.9102 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01072/0.636, allocations: 3.4 MB / 485.2 MB, free: 13.44 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.6361, allocations: 8.031 kB / 485.2 MB, free: 13.43 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.6413, allocations: 0.6471 MB / 485.8 MB, free: 12.78 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.6522, allocations: 3.363 MB / 489.2 MB, free: 9.363 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.6525, allocations: 116 kB / 489.3 MB, free: 9.25 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.6537, allocations: 203.9 kB / 489.5 MB, free: 9.051 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008708/0.6625, allocations: 3.235 MB / 492.8 MB, free: 5.812 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.673, allocations: 3.845 MB / 496.6 MB, free: 1.828 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.6732, allocations: 3.906 kB / 496.6 MB, free: 1.824 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000435/0.6737, allocations: 11.94 kB / 496.6 MB, free: 1.812 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.6739, allocations: 166.7 kB / 496.8 MB, free: 1.648 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1502/0.8241, allocations: 13.87 MB / 0.4987 GB, free: 112.5 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.8267, allocations: 1.172 MB / 0.4998 GB, free: 112.4 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/0.8294, allocations: 1.264 MB / 0.5011 GB, free: 112.4 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009387/0.8389, allocations: 3.986 MB / 0.505 GB, free: 111.9 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.839, allocations: 49.59 kB / 0.505 GB, free: 111.8 MB / 392.6 MB Notification: Performance of pre-optimization done (n=154): time 7.752e-06/0.8391, allocations: 2.781 kB / 0.505 GB, free: 111.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=158): time 0.01073/0.8499, allocations: 4.628 MB / 0.5095 GB, free: 110.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.85, allocations: 70.06 kB / 0.5096 GB, free: 110.7 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.8531, allocations: 1.545 MB / 0.5111 GB, free: 110.5 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.8534, allocations: 25.7 kB / 0.5111 GB, free: 110.4 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007028/0.8542, allocations: 1.322 MB / 0.5124 GB, free: 109.9 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005422/0.8548, allocations: 0.5196 MB / 0.5129 GB, free: 109.6 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.855, allocations: 0 / 0.5129 GB, free: 109.6 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8552, allocations: 384.3 kB / 0.5133 GB, free: 109.3 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.8568, allocations: 0.7767 MB / 0.514 GB, free: 109.3 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.8587, allocations: 1.394 MB / 0.5154 GB, free: 108.5 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.8612, allocations: 1.076 MB / 0.5165 GB, free: 108.5 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/0.8613, allocations: 3.969 kB / 0.5165 GB, free: 108.5 MB / 392.6 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005933/0.8673, allocations: 2.576 MB / 0.519 GB, free: 108.2 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8674, allocations: 3.906 kB / 0.519 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/0.8675, allocations: 19.56 kB / 0.519 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004833/0.8681, allocations: 155.6 kB / 0.5191 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.8709, allocations: 482.3 kB / 0.5196 GB, free: 108.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.8736, allocations: 2.95 MB / 0.5225 GB, free: 105.7 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.8763, allocations: 56.47 kB / 0.5225 GB, free: 105.7 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/0.8768, allocations: 92.3 kB / 0.5226 GB, free: 105.7 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.877, allocations: 79.19 kB / 0.5227 GB, free: 105.6 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/0.8776, allocations: 202.8 kB / 0.5229 GB, free: 105.5 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/0.883, allocations: 2.343 MB / 0.5252 GB, free: 105.2 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.851e-05/0.8831, allocations: 17.09 kB / 0.5252 GB, free: 105.2 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.8832, allocations: 3.938 kB / 0.5252 GB, free: 105.2 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.8832, allocations: 6.75 kB / 0.5252 GB, free: 105.2 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.8955, allocations: 5.286 MB / 0.5304 GB, free: 104.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.8956, allocations: 3.906 kB / 0.5304 GB, free: 104.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.8977, allocations: 269.5 kB / 0.5306 GB, free: 104.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.8988, allocations: 269 kB / 0.5309 GB, free: 104.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.8991, allocations: 12.28 kB / 0.5309 GB, free: 104.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/0.9065, allocations: 6.716 MB / 0.5375 GB, free: 99 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.102e-06/0.9066, allocations: 4.375 kB / 0.5375 GB, free: 99 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006921/0.9136, allocations: 3.707 MB / 0.5411 GB, free: 97.09 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.915, allocations: 481.6 kB / 0.5415 GB, free: 96.77 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/0.9156, allocations: 13.86 kB / 0.5416 GB, free: 96.77 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.9174, allocations: 45.88 kB / 0.5416 GB, free: 96.77 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.9178, allocations: 79.36 kB / 0.5417 GB, free: 96.75 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.918, allocations: 41.98 kB / 0.5417 GB, free: 96.75 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002236/0.9202, allocations: 1.156 MB / 0.5428 GB, free: 96.24 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003336/0.9237, allocations: 0.5391 MB / 0.5434 GB, free: 96.22 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005255/0.9243, allocations: 380.6 kB / 0.5437 GB, free: 96.14 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004143/0.9285, allocations: 2.24 MB / 0.5459 GB, free: 95.18 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.216e-06/0.9286, allocations: 3.188 kB / 0.5459 GB, free: 95.18 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002618/0.9313, allocations: 1.402 MB / 0.5473 GB, free: 94.43 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.9345, allocations: 417.2 kB / 0.5477 GB, free: 94.33 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.9492, allocations: 4.995 MB / 0.5526 GB, free: 92.37 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004692/0.954, allocations: 2.642 MB / 0.5552 GB, free: 91.28 MB / 392.6 MB Notification: Performance of SimCode: time 2.584e-06/0.9541, allocations: 0 / 0.5552 GB, free: 91.28 MB / 392.6 MB Notification: Performance of Templates: time 0.1259/1.08, allocations: 27.84 MB / 0.5823 GB, free: 80.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