Notification: Performance of loadModel(Modelica): time 1.52/1.52, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.777e-06/9.848e-06, allocations: 2.281 kB / 247.3 MB, free: 4.75 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06246/0.06254, allocations: 44.36 MB / 291.7 MB, free: 9.312 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2678/0.3305, allocations: 111.8 MB / 403.5 MB, free: 8.359 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.3308, allocations: 97.7 kB / 403.6 MB, free: 8.309 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2837/0.6145, allocations: 78.13 MB / 481.7 MB, free: 0.9766 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.000279/0.6149, allocations: 95.81 kB / 481.8 MB, free: 0.8828 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01097/0.6259, allocations: 3.396 MB / 485.2 MB, free: 13.42 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6261, allocations: 16.03 kB / 485.2 MB, free: 13.4 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/0.6313, allocations: 0.6432 MB / 485.8 MB, free: 12.75 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.643, allocations: 3.374 MB / 489.2 MB, free: 9.324 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.6434, allocations: 112 kB / 489.3 MB, free: 9.215 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.6446, allocations: 199.9 kB / 489.5 MB, free: 9.02 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009423/0.6541, allocations: 3.232 MB / 492.8 MB, free: 5.785 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.6658, allocations: 3.849 MB / 496.6 MB, free: 1.793 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.666, allocations: 7.906 kB / 496.6 MB, free: 1.785 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004789/0.6666, allocations: 4 kB / 496.6 MB, free: 1.781 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.6668, allocations: 162.7 kB / 496.8 MB, free: 1.621 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1545/0.8214, allocations: 13.87 MB / 0.4987 GB, free: 112.8 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.8239, allocations: 1.172 MB / 0.4998 GB, free: 112.8 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.8266, allocations: 1.267 MB / 0.5011 GB, free: 112.8 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009299/0.8359, allocations: 3.986 MB / 0.505 GB, free: 112.2 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.8361, allocations: 56.88 kB / 0.505 GB, free: 112.2 MB / 392.6 MB Notification: Performance of pre-optimization done (n=154): time 7.892e-06/0.8361, allocations: 0 / 0.505 GB, free: 112.2 MB / 392.6 MB Notification: Performance of matching and sorting (n=158): time 0.01076/0.8469, allocations: 4.632 MB / 0.5095 GB, free: 111.1 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.8471, allocations: 68.34 kB / 0.5096 GB, free: 111 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.8502, allocations: 1.547 MB / 0.5111 GB, free: 110.8 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.8506, allocations: 25.7 kB / 0.5111 GB, free: 110.8 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006967/0.8513, allocations: 1.318 MB / 0.5124 GB, free: 110.2 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005556/0.852, allocations: 0.5193 MB / 0.5129 GB, free: 109.9 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.8522, allocations: 2.906 kB / 0.5129 GB, free: 109.9 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.8523, allocations: 382.4 kB / 0.5133 GB, free: 109.6 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.8539, allocations: 0.7773 MB / 0.514 GB, free: 109.6 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.8559, allocations: 1.396 MB / 0.5154 GB, free: 108.9 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.8584, allocations: 1.074 MB / 0.5165 GB, free: 108.9 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.8586, allocations: 7.469 kB / 0.5165 GB, free: 108.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.005875/0.8645, allocations: 2.572 MB / 0.519 GB, free: 108.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.8646, allocations: 3.406 kB / 0.519 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.8647, allocations: 20.72 kB / 0.519 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.8652, allocations: 149.1 kB / 0.5191 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/0.8681, allocations: 485.2 kB / 0.5196 GB, free: 108.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.8708, allocations: 2.945 MB / 0.5225 GB, free: 106.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.8734, allocations: 62.11 kB / 0.5225 GB, free: 106.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004111/0.8739, allocations: 90.25 kB / 0.5226 GB, free: 106.1 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.8742, allocations: 84.67 kB / 0.5227 GB, free: 106 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/0.8748, allocations: 204.2 kB / 0.5229 GB, free: 105.9 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/0.8799, allocations: 2.336 MB / 0.5252 GB, free: 105.5 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.88, allocations: 18.12 kB / 0.5252 GB, free: 105.5 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.8801, allocations: 5.469 kB / 0.5252 GB, free: 105.5 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-05/0.8802, allocations: 9.422 kB / 0.5252 GB, free: 105.5 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.8915, allocations: 5.282 MB / 0.5304 GB, free: 104.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.8916, allocations: 3.375 kB / 0.5304 GB, free: 104.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.8934, allocations: 268.5 kB / 0.5306 GB, free: 104.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.8945, allocations: 265.9 kB / 0.5309 GB, free: 104.7 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.8947, allocations: 16.42 kB / 0.5309 GB, free: 104.7 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006992/0.9018, allocations: 6.713 MB / 0.5375 GB, free: 99.29 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.9019, allocations: 0 / 0.5375 GB, free: 99.29 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006996/0.909, allocations: 3.719 MB / 0.5411 GB, free: 97.37 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.9104, allocations: 485.4 kB / 0.5416 GB, free: 97.05 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005791/0.9111, allocations: 3.406 kB / 0.5416 GB, free: 97.05 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.9129, allocations: 45.23 kB / 0.5416 GB, free: 97.05 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.9132, allocations: 86.06 kB / 0.5417 GB, free: 97.04 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.9134, allocations: 44.94 kB / 0.5417 GB, free: 97.03 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.00227/0.9157, allocations: 1.149 MB / 0.5428 GB, free: 96.53 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003012/0.9188, allocations: 0.5434 MB / 0.5434 GB, free: 96.5 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004678/0.9193, allocations: 382.5 kB / 0.5437 GB, free: 96.42 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004077/0.9235, allocations: 2.235 MB / 0.5459 GB, free: 95.47 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.9236, allocations: 3.188 kB / 0.5459 GB, free: 95.47 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002717/0.9264, allocations: 1.403 MB / 0.5473 GB, free: 94.72 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/0.9294, allocations: 411.3 kB / 0.5477 GB, free: 94.62 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.9424, allocations: 4.993 MB / 0.5526 GB, free: 92.66 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004001/0.9465, allocations: 2.64 MB / 0.5551 GB, free: 91.58 MB / 392.6 MB Notification: Performance of SimCode: time 2.724e-06/0.9466, allocations: 0 / 0.5551 GB, free: 91.58 MB / 392.6 MB Notification: Performance of Templates: time 0.1094/1.056, allocations: 27.84 MB / 0.5823 GB, free: 80.67 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