Notification: Performance of loadModel(Modelica): time 1.495/1.495, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.208e-05, allocations: 3.031 kB / 247.5 MB, free: 4.602 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06213/0.06221, allocations: 44.37 MB / 291.8 MB, free: 9.16 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2599/0.3222, allocations: 103.9 MB / 395.7 MB, free: 15.26 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.3226, allocations: 89.78 kB / 395.8 MB, free: 15.24 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2191/0.5418, allocations: 54.02 MB / 449.8 MB, free: 1.168 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.000263/0.5421, allocations: 71.92 kB / 449.9 MB, free: 1.098 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.007962/0.5502, allocations: 2.621 MB / 452.5 MB, free: 14.41 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5503, allocations: 8.031 kB / 452.5 MB, free: 14.41 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.5524, allocations: 372 kB / 452.9 MB, free: 14.04 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006168/0.5587, allocations: 1.944 MB / 454.8 MB, free: 12.04 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.5589, allocations: 91.94 kB / 454.9 MB, free: 11.95 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008373/0.5598, allocations: 151.8 kB / 455.1 MB, free: 11.8 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007293/0.5672, allocations: 2.614 MB / 457.7 MB, free: 9.18 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008541/0.5758, allocations: 3.003 MB / 460.7 MB, free: 6.008 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.576, allocations: 4 kB / 460.7 MB, free: 6.004 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005648/0.5767, allocations: 7.906 kB / 460.7 MB, free: 5.996 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.5768, allocations: 112.8 kB / 460.8 MB, free: 5.883 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/0.6006, allocations: 10.47 MB / 471.3 MB, free: 11.14 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002206/0.6029, allocations: 1.045 MB / 472.3 MB, free: 10.09 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/0.6054, allocations: 1.095 MB / 473.4 MB, free: 8.992 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003649/0.6058, allocations: 134.4 kB / 473.5 MB, free: 8.84 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.6059, allocations: 51.88 kB / 473.6 MB, free: 8.781 MB / 376.6 MB Notification: Performance of pre-optimization done (n=136): time 9.498e-06/0.606, allocations: 0 / 473.6 MB, free: 8.781 MB / 376.6 MB Notification: Performance of matching and sorting (n=150): time 0.01275/0.6188, allocations: 5.045 MB / 478.6 MB, free: 3.688 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.6189, allocations: 94.42 kB / 478.7 MB, free: 3.578 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.6217, allocations: 1.334 MB / 480.1 MB, free: 2.242 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002793/0.6221, allocations: 29.7 kB / 480.1 MB, free: 2.207 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.6228, allocations: 0.9512 MB / 481 MB, free: 1.238 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007229/0.6236, allocations: 0.4928 MB / 481.5 MB, free: 0.7383 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.6238, allocations: 0 / 481.5 MB, free: 0.7383 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.6241, allocations: 369.9 kB / 481.9 MB, free: 380 kB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.6259, allocations: 0.82 MB / 482.7 MB, free: 15.55 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/0.6282, allocations: 1.259 MB / 484 MB, free: 14.1 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.6306, allocations: 1.01 MB / 485 MB, free: 13.09 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/0.6307, allocations: 8 kB / 485 MB, free: 13.08 MB / 392.6 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006141/0.6369, allocations: 2.671 MB / 487.7 MB, free: 10.39 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001456/0.6384, allocations: 5.511 MB / 493.2 MB, free: 4.344 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-05/0.6386, allocations: 16 kB / 493.2 MB, free: 4.328 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.641, allocations: 0.6747 MB / 493.9 MB, free: 3.641 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.6432, allocations: 367.4 kB / 494.2 MB, free: 3.281 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1276/0.7709, allocations: 7.503 MB / 0.49 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.7732, allocations: 55.3 kB / 0.49 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/0.7736, allocations: 78.34 kB / 0.4901 GB, free: 131.4 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.7737, allocations: 3.719 kB / 0.4901 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005255/0.779, allocations: 2.455 MB / 0.4925 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/0.7791, allocations: 19.02 kB / 0.4925 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.7811, allocations: 0.6703 MB / 0.4932 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/0.7832, allocations: 359.4 kB / 0.4935 GB, free: 131.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009844/0.7932, allocations: 7.501 MB / 0.5008 GB, free: 127.8 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.7954, allocations: 52.58 kB / 0.5009 GB, free: 127.8 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/0.7958, allocations: 71.28 kB / 0.501 GB, free: 127.8 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.796, allocations: 75.28 kB / 0.501 GB, free: 127.7 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005002/0.7966, allocations: 193.7 kB / 0.5012 GB, free: 127.7 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/0.8022, allocations: 2.463 MB / 0.5036 GB, free: 127.6 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.8023, allocations: 18.95 kB / 0.5036 GB, free: 127.6 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.8024, allocations: 4.906 kB / 0.5036 GB, free: 127.6 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.8024, allocations: 11.39 kB / 0.5037 GB, free: 127.6 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.8133, allocations: 4.91 MB / 0.5084 GB, free: 127.1 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.8134, allocations: 3.969 kB / 0.5085 GB, free: 127.1 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.815, allocations: 221.1 kB / 0.5087 GB, free: 127.1 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/0.8175, allocations: 0.7083 MB / 0.5094 GB, free: 127.1 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002352/0.8178, allocations: 17.61 kB / 0.5094 GB, free: 127.1 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.8292, allocations: 8.952 MB / 0.5181 GB, free: 122.3 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.359e-06/0.8293, allocations: 6.656 kB / 0.5181 GB, free: 122.3 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006991/0.8364, allocations: 3.857 MB / 0.5219 GB, free: 121.7 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.8378, allocations: 454.4 kB / 0.5223 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005397/0.8384, allocations: 13.7 kB / 0.5223 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.84, allocations: 57.7 kB / 0.5224 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.8403, allocations: 88.81 kB / 0.5225 GB, free: 121.5 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.8405, allocations: 41.44 kB / 0.5225 GB, free: 121.5 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001999/0.8426, allocations: 1.007 MB / 0.5235 GB, free: 121.4 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004269/0.847, allocations: 0.8978 MB / 0.5244 GB, free: 121.4 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004748/0.8475, allocations: 334.5 kB / 0.5247 GB, free: 121.3 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.007354/0.855, allocations: 4.196 MB / 0.5288 GB, free: 119.5 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 9.219e-06/0.8551, allocations: 0 / 0.5288 GB, free: 119.5 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002947/0.8581, allocations: 1.568 MB / 0.5303 GB, free: 118.7 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/0.8615, allocations: 464 kB / 0.5308 GB, free: 118.6 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.8739, allocations: 4.494 MB / 0.5352 GB, free: 117 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003024/0.877, allocations: 2.243 MB / 0.5373 GB, free: 116 MB / 392.6 MB Notification: Performance of SimCode: time 2.445e-06/0.8771, allocations: 0 / 0.5373 GB, free: 116 MB / 392.6 MB Notification: Performance of Templates: time 0.1172/0.9943, allocations: 42.79 MB / 0.5791 GB, free: 87.45 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