Notification: Performance of loadModel(Modelica): time 1.488/1.488, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.569e-06/9.708e-06, allocations: 0.875 kB / 247.5 MB, free: 4.625 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06486/0.06495, allocations: 44.36 MB / 291.8 MB, free: 9.164 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/0.3214, allocations: 103.9 MB / 395.7 MB, free: 15.26 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.3218, allocations: 96.67 kB / 395.8 MB, free: 15.24 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2097/0.5316, allocations: 54.02 MB / 449.8 MB, free: 1.172 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0002634/0.5319, allocations: 83.86 kB / 449.9 MB, free: 1.09 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.007694/0.5397, allocations: 2.617 MB / 452.5 MB, free: 14.41 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5399, allocations: 8.031 kB / 452.5 MB, free: 14.4 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.5417, allocations: 360 kB / 452.9 MB, free: 14.05 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005702/0.5475, allocations: 1.952 MB / 454.8 MB, free: 12.04 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.5477, allocations: 80 kB / 454.9 MB, free: 11.96 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006661/0.5484, allocations: 151.8 kB / 455.1 MB, free: 11.81 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006753/0.5552, allocations: 2.614 MB / 457.7 MB, free: 9.191 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007622/0.5629, allocations: 3.007 MB / 460.7 MB, free: 6.016 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.5631, allocations: 7.938 kB / 460.7 MB, free: 6.008 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/0.5635, allocations: 3.906 kB / 460.7 MB, free: 6.004 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.5637, allocations: 120.8 kB / 460.8 MB, free: 5.883 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/0.5865, allocations: 10.47 MB / 471.3 MB, free: 11.14 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.5889, allocations: 1.038 MB / 472.3 MB, free: 10.09 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002081/0.5911, allocations: 1.095 MB / 473.4 MB, free: 9 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.5915, allocations: 138.4 kB / 473.5 MB, free: 8.844 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/0.5916, allocations: 47.86 kB / 473.6 MB, free: 8.789 MB / 376.6 MB Notification: Performance of pre-optimization done (n=136): time 7.613e-06/0.5917, allocations: 0 / 473.6 MB, free: 8.789 MB / 376.6 MB Notification: Performance of matching and sorting (n=150): time 0.01229/0.6042, allocations: 5.052 MB / 478.6 MB, free: 3.688 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.6044, allocations: 98.42 kB / 478.7 MB, free: 3.574 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.6071, allocations: 1.334 MB / 480.1 MB, free: 2.238 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.6075, allocations: 25.7 kB / 480.1 MB, free: 2.207 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.6081, allocations: 0.959 MB / 481.1 MB, free: 1.23 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.6086, allocations: 488.7 kB / 481.5 MB, free: 0.7461 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.6088, allocations: 0 / 481.5 MB, free: 0.7461 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.609, allocations: 373.9 kB / 481.9 MB, free: 384 kB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.6108, allocations: 0.82 MB / 482.7 MB, free: 15.55 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.6127, allocations: 1.267 MB / 484 MB, free: 14.1 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.6148, allocations: 1.01 MB / 485 MB, free: 13.09 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.6149, allocations: 4 kB / 485 MB, free: 13.08 MB / 392.6 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.005798/0.6207, allocations: 2.667 MB / 487.7 MB, free: 10.39 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001457/0.6223, allocations: 5.515 MB / 493.2 MB, free: 4.344 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.239e-05/0.6224, allocations: 16 kB / 493.2 MB, free: 4.328 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.6248, allocations: 0.6746 MB / 493.9 MB, free: 3.641 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.627, allocations: 367.4 kB / 494.2 MB, free: 3.281 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1294/0.7565, allocations: 7.706 MB / 0.4902 GB, free: 131.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.7587, allocations: 58.34 kB / 0.4902 GB, free: 131.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/0.7591, allocations: 74.59 kB / 0.4903 GB, free: 131.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.7592, allocations: 3.906 kB / 0.4903 GB, free: 131.3 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005624/0.7649, allocations: 2.451 MB / 0.4927 GB, free: 131.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.693e-05/0.765, allocations: 13.06 kB / 0.4927 GB, free: 131.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.7674, allocations: 0.6773 MB / 0.4934 GB, free: 131.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.7697, allocations: 358.1 kB / 0.4937 GB, free: 131.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.7804, allocations: 7.719 MB / 0.5013 GB, free: 127.5 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.7827, allocations: 50.58 kB / 0.5013 GB, free: 127.5 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/0.7832, allocations: 74.3 kB / 0.5014 GB, free: 127.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.7834, allocations: 78.75 kB / 0.5014 GB, free: 127.4 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005439/0.784, allocations: 184.1 kB / 0.5016 GB, free: 127.4 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.7894, allocations: 2.467 MB / 0.504 GB, free: 127.3 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.7896, allocations: 15.03 kB / 0.504 GB, free: 127.3 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.7897, allocations: 6.312 kB / 0.5041 GB, free: 127.3 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/0.7897, allocations: 16.94 kB / 0.5041 GB, free: 127.3 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.8008, allocations: 4.905 MB / 0.5089 GB, free: 126.9 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.8009, allocations: 3.625 kB / 0.5089 GB, free: 126.9 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.8025, allocations: 226.4 kB / 0.5091 GB, free: 126.9 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.805, allocations: 0.6957 MB / 0.5098 GB, free: 126.9 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/0.8053, allocations: 22.03 kB / 0.5098 GB, free: 126.9 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/0.8174, allocations: 9.162 MB / 0.5187 GB, free: 121.9 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.8175, allocations: 2.062 kB / 0.5187 GB, free: 121.9 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007436/0.825, allocations: 3.857 MB / 0.5225 GB, free: 121.3 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/0.8266, allocations: 448.6 kB / 0.5229 GB, free: 121.2 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006391/0.8273, allocations: 14.28 kB / 0.5229 GB, free: 121.2 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.8293, allocations: 60.09 kB / 0.523 GB, free: 121.2 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004537/0.8299, allocations: 88.84 kB / 0.5231 GB, free: 121.2 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.8301, allocations: 40.81 kB / 0.5231 GB, free: 121.2 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002162/0.8323, allocations: 1.007 MB / 0.5241 GB, free: 121 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004964/0.8374, allocations: 0.8966 MB / 0.525 GB, free: 121 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005061/0.838, allocations: 339.3 kB / 0.5253 GB, free: 121 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.007816/0.8459, allocations: 4.228 MB / 0.5294 GB, free: 119 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.846, allocations: 0 / 0.5294 GB, free: 119 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003033/0.8491, allocations: 1.582 MB / 0.531 GB, free: 118.2 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/0.8528, allocations: 465.1 kB / 0.5314 GB, free: 118.1 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.8655, allocations: 4.492 MB / 0.5358 GB, free: 116.5 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003013/0.8686, allocations: 2.247 MB / 0.538 GB, free: 115.5 MB / 392.6 MB Notification: Performance of SimCode: time 2.235e-06/0.8687, allocations: 0 / 0.538 GB, free: 115.5 MB / 392.6 MB Notification: Performance of Templates: time 0.1934/1.062, allocations: 42.93 MB / 0.5799 GB, free: 86.61 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.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_SMPM_Braking -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.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.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.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.SMPM_Braking.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.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.SMPM_Braking.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_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.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.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.SMPM_Braking.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.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.SMPM_Braking.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_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.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.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.SMPM_Braking.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.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_SMPM_Braking_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.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.c:671:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_eqFunction_933(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.c:671:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_eqFunction_933(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.c:672:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_eqFunction_934(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.c:672:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_eqFunction_934(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.c:673:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Braking_eqFunction_935(DATA*,threadData_t*); ^ 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.SMPM_Braking.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.o] Error 1