Notification: Performance of loadModel(Modelica): time 1.608/1.608, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.138e-05, allocations: 1.125 kB / 247.4 MB, free: 4.707 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0605/0.06058, allocations: 44.36 MB / 291.7 MB, free: 9.258 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/0.3018, allocations: 93.07 MB / 384.8 MB, free: 3.77 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.3022, allocations: 85.19 kB / 384.9 MB, free: 3.754 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1141/0.4163, allocations: 28.08 MB / 413 MB, free: 3.738 MB / 312.6 MB Notification: Performance of Transformations before backend: time 6.244e-05/0.4165, allocations: 24 kB / 413 MB, free: 3.715 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002291/0.4189, allocations: 1.161 MB / 414.2 MB, free: 2.574 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.419, allocations: 8.031 kB / 414.2 MB, free: 2.566 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.4202, allocations: 198.3 kB / 414.4 MB, free: 2.371 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.4224, allocations: 0.8052 MB / 415.2 MB, free: 1.699 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.4225, allocations: 32 kB / 415.2 MB, free: 1.668 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.4228, allocations: 71.83 kB / 415.3 MB, free: 1.598 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001514/0.4243, allocations: 0.5373 MB / 415.8 MB, free: 1.281 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.4262, allocations: 0.7641 MB / 416.6 MB, free: 0.7148 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/0.4264, allocations: 3.938 kB / 416.6 MB, free: 0.7109 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-05/0.4265, allocations: 3.906 kB / 416.6 MB, free: 0.707 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.4266, allocations: 28 kB / 416.6 MB, free: 0.6797 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007301/0.434, allocations: 3.76 MB / 420.4 MB, free: 13.5 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.4345, allocations: 186.4 kB / 420.6 MB, free: 13.38 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.4352, allocations: 259.2 kB / 420.8 MB, free: 13.19 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.4353, allocations: 4 kB / 420.8 MB, free: 13.19 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4354, allocations: 41.62 kB / 420.9 MB, free: 13.14 MB / 328.6 MB Notification: Performance of pre-optimization done (n=43): time 6.286e-06/0.4355, allocations: 0 / 420.9 MB, free: 13.14 MB / 328.6 MB Notification: Performance of matching and sorting (n=48): time 0.002925/0.4384, allocations: 1.135 MB / 422 MB, free: 12.14 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.4386, allocations: 85.55 kB / 422.1 MB, free: 12.04 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.4397, allocations: 0.5886 MB / 422.7 MB, free: 11.61 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.4398, allocations: 29.7 kB / 422.7 MB, free: 11.57 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.4401, allocations: 477.4 kB / 423.2 MB, free: 11.15 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4403, allocations: 165.9 kB / 423.3 MB, free: 11.01 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.4403, allocations: 0 / 423.3 MB, free: 11.01 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4405, allocations: 390.1 kB / 423.7 MB, free: 10.65 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.441, allocations: 146.4 kB / 423.8 MB, free: 10.57 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.4416, allocations: 424.9 kB / 424.3 MB, free: 10.09 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.4422, allocations: 213.7 kB / 424.5 MB, free: 9.957 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.892e-06/0.4423, allocations: 4 kB / 424.5 MB, free: 9.953 MB / 328.6 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001674/0.444, allocations: 0.6801 MB / 425.1 MB, free: 9.398 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4441, allocations: 4.625 kB / 425.2 MB, free: 9.395 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.4442, allocations: 12 kB / 425.2 MB, free: 9.383 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.4447, allocations: 112.1 kB / 425.3 MB, free: 9.285 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.4455, allocations: 164.9 kB / 425.4 MB, free: 9.129 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.4486, allocations: 2.905 MB / 428.3 MB, free: 6.055 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000973/0.4496, allocations: 31.95 kB / 428.4 MB, free: 6.023 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.4498, allocations: 36 kB / 428.4 MB, free: 5.988 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/0.4499, allocations: 75.28 kB / 428.5 MB, free: 5.914 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.4501, allocations: 82.97 kB / 428.6 MB, free: 5.828 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.4513, allocations: 465.1 kB / 429 MB, free: 5.355 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.429e-06/0.4514, allocations: 7.984 kB / 429 MB, free: 5.348 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.892e-06/0.4514, allocations: 0 / 429 MB, free: 5.348 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4515, allocations: 4 kB / 429 MB, free: 5.344 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002678/0.4542, allocations: 1.291 MB / 430.3 MB, free: 3.977 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.844e-06/0.4543, allocations: 0 / 430.3 MB, free: 3.977 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.4549, allocations: 75.89 kB / 430.4 MB, free: 3.902 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003664/0.4553, allocations: 97.77 kB / 430.5 MB, free: 3.801 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.4554, allocations: 3.984 kB / 430.5 MB, free: 3.797 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00273/0.4582, allocations: 2.886 MB / 433.4 MB, free: 0.6797 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.241e-06/0.4583, allocations: 7.984 kB / 433.4 MB, free: 0.6719 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001574/0.4599, allocations: 0.8284 MB / 434.2 MB, free: 15.75 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.4604, allocations: 192 kB / 434.4 MB, free: 15.54 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.4607, allocations: 4 kB / 434.4 MB, free: 15.54 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.4614, allocations: 31.97 kB / 434.4 MB, free: 15.51 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.4616, allocations: 27.97 kB / 434.5 MB, free: 15.48 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.4617, allocations: 15.98 kB / 434.5 MB, free: 15.46 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.0008424/0.4626, allocations: 455.2 kB / 434.9 MB, free: 15.03 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001409/0.464, allocations: 196 kB / 435.1 MB, free: 14.84 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000317/0.4644, allocations: 234.8 kB / 435.3 MB, free: 14.6 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.4658, allocations: 0.6369 MB / 436 MB, free: 13.95 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 5.588e-06/0.4659, allocations: 3.938 kB / 436 MB, free: 13.95 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007342/0.4667, allocations: 425.6 kB / 436.4 MB, free: 13.51 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.468, allocations: 171.1 kB / 436.6 MB, free: 13.34 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.4713, allocations: 1.25 MB / 437.8 MB, free: 12.04 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009331/0.4724, allocations: 1.09 MB / 438.9 MB, free: 10.92 MB / 344.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4724, allocations: 4 kB / 438.9 MB, free: 10.92 MB / 344.6 MB Notification: Performance of Templates: time 0.08838/0.5609, allocations: 9.562 MB / 448.5 MB, free: 1.426 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_DCSE_SinglePhase -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_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.DCSE_SinglePhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_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.DCSE_SinglePhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_DCSE_SinglePhase_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.DCSE_SinglePhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:827:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_114(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:828:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_118(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:829:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_119(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:830:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_120(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:831:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_122(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_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.o] Error 1