Notification: Performance of loadModel(Modelica): time 1.53/1.53, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.499e-06, allocations: 1.375 kB / 247.4 MB, free: 4.609 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06178/0.06186, allocations: 44.37 MB / 291.8 MB, free: 9.199 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2523/0.3142, allocations: 99.78 MB / 391.6 MB, free: 1.141 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.3146, allocations: 90.75 kB / 391.7 MB, free: 1.125 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.179/0.4937, allocations: 44.48 MB / 436.2 MB, free: 14.98 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.000226/0.494, allocations: 63.81 kB / 436.2 MB, free: 14.91 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.006556/0.5006, allocations: 2.223 MB / 438.4 MB, free: 12.63 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5008, allocations: 8.031 kB / 438.5 MB, free: 12.62 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.5023, allocations: 292.8 kB / 438.7 MB, free: 12.34 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/0.5068, allocations: 1.572 MB / 440.3 MB, free: 10.7 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/0.507, allocations: 72 kB / 440.4 MB, free: 10.63 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004584/0.5075, allocations: 123.9 kB / 440.5 MB, free: 10.51 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005134/0.5127, allocations: 2.023 MB / 442.5 MB, free: 8.48 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006033/0.5188, allocations: 2.424 MB / 444.9 MB, free: 5.918 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.613e-05/0.519, allocations: 4 kB / 445 MB, free: 5.914 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.5193, allocations: 0 / 445 MB, free: 5.914 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.5195, allocations: 100.1 kB / 445 MB, free: 5.812 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.5383, allocations: 8.194 MB / 453.2 MB, free: 13.39 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.5403, allocations: 0.8301 MB / 454.1 MB, free: 12.55 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.5422, allocations: 0.8394 MB / 454.9 MB, free: 11.71 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/0.5426, allocations: 134 kB / 455 MB, free: 11.56 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.5427, allocations: 43.56 kB / 455.1 MB, free: 11.51 MB / 360.6 MB Notification: Performance of pre-optimization done (n=104): time 4.54e-06/0.5427, allocations: 0 / 455.1 MB, free: 11.51 MB / 360.6 MB Notification: Performance of matching and sorting (n=125): time 0.0125/0.5553, allocations: 4.756 MB / 459.8 MB, free: 6.695 MB / 360.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.5554, allocations: 64.41 kB / 459.9 MB, free: 6.621 MB / 360.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.5576, allocations: 1.02 MB / 460.9 MB, free: 5.594 MB / 360.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002331/0.5579, allocations: 25.7 kB / 461 MB, free: 5.562 MB / 360.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.5584, allocations: 0.8136 MB / 461.8 MB, free: 4.734 MB / 360.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.5589, allocations: 421.7 kB / 462.2 MB, free: 4.316 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.559, allocations: 0 / 462.2 MB, free: 4.316 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 0.0002731/0.5593, allocations: 373.8 kB / 462.5 MB, free: 3.945 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.5607, allocations: 0.6873 MB / 463.2 MB, free: 3.258 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/0.5626, allocations: 1.057 MB / 464.3 MB, free: 2.039 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.5646, allocations: 0.8729 MB / 465.2 MB, free: 1.164 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.5647, allocations: 4 kB / 465.2 MB, free: 1.16 MB / 360.6 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.006124/0.5709, allocations: 2.374 MB / 467.5 MB, free: 14.77 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.571, allocations: 8 kB / 467.5 MB, free: 14.76 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.5711, allocations: 12 kB / 467.6 MB, free: 14.75 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.5732, allocations: 0.5765 MB / 468.1 MB, free: 14.16 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/0.5753, allocations: 327.5 kB / 468.5 MB, free: 13.84 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00943/0.5848, allocations: 5.767 MB / 474.2 MB, free: 7.836 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.5868, allocations: 63.78 kB / 474.3 MB, free: 7.773 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/0.5872, allocations: 59.98 kB / 474.3 MB, free: 7.715 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/0.5874, allocations: 83.28 kB / 474.4 MB, free: 7.633 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.5879, allocations: 146.1 kB / 474.6 MB, free: 7.488 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/0.5935, allocations: 2.183 MB / 476.7 MB, free: 5.289 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.5937, allocations: 15.91 kB / 476.8 MB, free: 5.273 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/0.5937, allocations: 4 kB / 476.8 MB, free: 5.27 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.5938, allocations: 11.97 kB / 476.8 MB, free: 5.258 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.6045, allocations: 4.294 MB / 481.1 MB, free: 0.8711 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.6046, allocations: 0 / 481.1 MB, free: 0.8711 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.6062, allocations: 215.9 kB / 481.3 MB, free: 0.6602 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002754/0.6091, allocations: 0.6237 MB / 481.9 MB, free: 28 kB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/0.6094, allocations: 11.98 kB / 481.9 MB, free: 16 kB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.6209, allocations: 7.367 MB / 489.3 MB, free: 8.305 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.621, allocations: 4 kB / 489.3 MB, free: 8.301 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006601/0.6276, allocations: 3.371 MB / 492.7 MB, free: 4.84 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.6292, allocations: 383.2 kB / 493 MB, free: 4.445 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006905/0.63, allocations: 15.98 kB / 493.1 MB, free: 4.43 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/0.6326, allocations: 55.94 kB / 493.1 MB, free: 4.375 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/0.6332, allocations: 80.73 kB / 493.2 MB, free: 4.297 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/0.6336, allocations: 35.98 kB / 493.2 MB, free: 4.262 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.00239/0.636, allocations: 0.7658 MB / 494 MB, free: 3.492 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003615/0.6398, allocations: 444 kB / 494.4 MB, free: 3.059 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005704/0.6405, allocations: 242.6 kB / 494.7 MB, free: 2.816 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.00583/0.6464, allocations: 2.146 MB / 496.8 MB, free: 0.625 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.962e-06/0.6465, allocations: 0.9375 kB / 496.8 MB, free: 0.625 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.1549/0.8015, allocations: 1.338 MB / 498.1 MB, free: 91.27 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/0.8037, allocations: 281.7 kB / 498.4 MB, free: 91.26 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009043/0.8128, allocations: 3.656 MB / 0.4903 GB, free: 90.49 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002465/0.8153, allocations: 1.934 MB / 0.4922 GB, free: 89.76 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.8155, allocations: 3.906 kB / 0.4922 GB, free: 89.76 MB / 392.6 MB Notification: Performance of Templates: time 0.06935/0.8849, allocations: 22.52 MB / 0.5142 GB, free: 88.42 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:1708:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_eqFunction_235(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:1709:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_eqFunction_236(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:1710:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_eqFunction_237(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:1711:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_eqFunction_238(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.c:1712:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter_eqFunction_239(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.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.o] Error 1