Notification: Performance of loadModel(Modelica): time 1.518/1.518, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.299e-05, allocations: 1.125 kB / 247.4 MB, free: 4.664 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06938/0.0695, allocations: 44.37 MB / 291.8 MB, free: 9.23 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/0.3113, allocations: 89.38 MB / 381.2 MB, free: 4.766 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.3116, allocations: 85.94 kB / 381.2 MB, free: 4.75 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.18/0.4917, allocations: 43.94 MB / 425.2 MB, free: 9.906 MB / 328.6 MB Notification: Performance of Transformations before backend: time 9.484e-05/0.4919, allocations: 39.94 kB / 425.2 MB, free: 9.867 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.003413/0.4954, allocations: 1.627 MB / 426.8 MB, free: 8.188 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4955, allocations: 8.031 kB / 426.8 MB, free: 8.18 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.4971, allocations: 297.4 kB / 427.1 MB, free: 7.887 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003394/0.5006, allocations: 1.208 MB / 428.3 MB, free: 6.621 MB / 328.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/0.5007, allocations: 55.94 kB / 428.4 MB, free: 6.566 MB / 328.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.501, allocations: 103.8 kB / 428.5 MB, free: 6.465 MB / 328.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002477/0.5035, allocations: 0.8732 MB / 429.4 MB, free: 5.59 MB / 328.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.5063, allocations: 1.217 MB / 430.6 MB, free: 4.312 MB / 328.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.614e-05/0.5065, allocations: 12 kB / 430.6 MB, free: 4.301 MB / 328.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.5067, allocations: 7.906 kB / 430.6 MB, free: 4.293 MB / 328.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.45e-05/0.5068, allocations: 36 kB / 430.6 MB, free: 4.258 MB / 328.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.518, allocations: 6.128 MB / 436.8 MB, free: 13.84 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.5188, allocations: 311 kB / 437.1 MB, free: 13.53 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/0.5197, allocations: 403.3 kB / 437.5 MB, free: 13.13 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.5199, allocations: 8.656 kB / 437.5 MB, free: 13.12 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.5199, allocations: 47.16 kB / 437.5 MB, free: 13.07 MB / 344.6 MB Notification: Performance of pre-optimization done (n=66): time 6.426e-06/0.52, allocations: 0 / 437.5 MB, free: 13.07 MB / 344.6 MB Notification: Performance of matching and sorting (n=72): time 0.004025/0.5241, allocations: 1.657 MB / 439.2 MB, free: 11.35 MB / 344.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.5242, allocations: 111.5 kB / 439.3 MB, free: 11.21 MB / 344.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.5261, allocations: 0.8975 MB / 440.2 MB, free: 10.31 MB / 344.6 MB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.5262, allocations: 29.7 kB / 440.2 MB, free: 10.27 MB / 344.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.5266, allocations: 0.6839 MB / 440.9 MB, free: 9.578 MB / 344.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.5268, allocations: 264.2 kB / 441.2 MB, free: 9.316 MB / 344.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.5269, allocations: 0 / 441.2 MB, free: 9.316 MB / 344.6 MB Notification: Performance of setup shared object (initialization): time 7.906e-05/0.5271, allocations: 341.9 kB / 441.5 MB, free: 8.977 MB / 344.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.5278, allocations: 226.6 kB / 441.7 MB, free: 8.758 MB / 344.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.5286, allocations: 0.6697 MB / 442.4 MB, free: 7.875 MB / 344.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006745/0.5293, allocations: 346.9 kB / 442.7 MB, free: 7.535 MB / 344.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.451e-06/0.5294, allocations: 4 kB / 442.7 MB, free: 7.531 MB / 344.6 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002709/0.5321, allocations: 1.075 MB / 443.8 MB, free: 6.438 MB / 344.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5322, allocations: 8 kB / 443.8 MB, free: 6.43 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.5323, allocations: 16 kB / 443.8 MB, free: 6.414 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/0.5329, allocations: 118.9 kB / 443.9 MB, free: 6.289 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.5343, allocations: 267.5 kB / 444.2 MB, free: 6.027 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.5381, allocations: 4.036 MB / 448.2 MB, free: 1.641 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.5398, allocations: 44.08 kB / 448.3 MB, free: 1.598 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.54, allocations: 60 kB / 448.3 MB, free: 1.539 MB / 344.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.5402, allocations: 75.28 kB / 448.4 MB, free: 1.465 MB / 344.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/0.5406, allocations: 130.4 kB / 448.5 MB, free: 1.336 MB / 344.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.5427, allocations: 0.7099 MB / 449.3 MB, free: 0.6055 MB / 344.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.5428, allocations: 8 kB / 449.3 MB, free: 0.5977 MB / 344.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.5428, allocations: 4 kB / 449.3 MB, free: 0.5938 MB / 344.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.5429, allocations: 7.891 kB / 449.3 MB, free: 0.5859 MB / 344.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.5479, allocations: 2.015 MB / 451.3 MB, free: 14.47 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.548, allocations: 4 kB / 451.3 MB, free: 14.46 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.5489, allocations: 139.7 kB / 451.4 MB, free: 14.33 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005334/0.5495, allocations: 110.9 kB / 451.5 MB, free: 14.21 MB / 360.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-05/0.5497, allocations: 15.94 kB / 451.6 MB, free: 14.2 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/0.554, allocations: 4.142 MB / 455.7 MB, free: 9.707 MB / 360.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.5541, allocations: 4 kB / 455.7 MB, free: 9.703 MB / 360.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002412/0.5565, allocations: 1.358 MB / 457.1 MB, free: 8.203 MB / 360.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/0.5573, allocations: 263.3 kB / 457.3 MB, free: 7.926 MB / 360.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.5577, allocations: 11.98 kB / 457.3 MB, free: 7.914 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.5589, allocations: 35.97 kB / 457.4 MB, free: 7.879 MB / 360.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.5591, allocations: 52.34 kB / 457.4 MB, free: 7.828 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.5592, allocations: 20 kB / 457.4 MB, free: 7.809 MB / 360.6 MB Notification: Performance of sort global known variables: time 0.001213/0.5605, allocations: 0.6595 MB / 458.1 MB, free: 7.145 MB / 360.6 MB Notification: Performance of remove unused functions: time 0.001836/0.5624, allocations: 304 kB / 458.4 MB, free: 6.848 MB / 360.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004159/0.5629, allocations: 308.7 kB / 458.7 MB, free: 6.547 MB / 360.6 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.565, allocations: 0.9666 MB / 459.7 MB, free: 5.551 MB / 360.6 MB Notification: Performance of simCode: created event and clocks part: time 7.543e-06/0.565, allocations: 1 kB / 459.7 MB, free: 5.551 MB / 360.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.566, allocations: 0.5936 MB / 460.2 MB, free: 4.93 MB / 360.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.5681, allocations: 284.8 kB / 460.5 MB, free: 4.648 MB / 360.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006362/0.5745, allocations: 2.288 MB / 462.8 MB, free: 2.27 MB / 360.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.5758, allocations: 1.337 MB / 464.2 MB, free: 0.9023 MB / 360.6 MB Notification: Performance of SimCode: time 2.096e-06/0.5759, allocations: 0 / 464.2 MB, free: 0.9023 MB / 360.6 MB Notification: Performance of Templates: time 0.08616/0.6622, allocations: 15.36 MB / 479.5 MB, free: 1.641 MB / 376.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.makefile clang -fPIC -O2 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:331:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_181(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:331:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_181(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:332:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_182(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:332:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_182(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.c:333:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_withLosses_eqFunction_183(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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.o] Error 1