Notification: Performance of loadModel(Modelica): time 1.566/1.566, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.201e-05, allocations: 1.094 kB / 247.4 MB, free: 4.707 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06231/0.0624, allocations: 44.36 MB / 291.7 MB, free: 9.254 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2464/0.3089, allocations: 93.07 MB / 384.8 MB, free: 3.746 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.3093, allocations: 88.44 kB / 384.9 MB, free: 3.73 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1178/0.4272, allocations: 28.09 MB / 413 MB, free: 3.742 MB / 312.6 MB Notification: Performance of Transformations before backend: time 6.886e-05/0.4274, allocations: 20 kB / 413 MB, free: 3.723 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002247/0.4297, allocations: 1.16 MB / 414.2 MB, free: 2.582 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4298, allocations: 12.03 kB / 414.2 MB, free: 2.57 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.431, allocations: 194.3 kB / 414.4 MB, free: 2.379 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.4332, allocations: 0.8099 MB / 415.2 MB, free: 1.703 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.4333, allocations: 32 kB / 415.2 MB, free: 1.672 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.4335, allocations: 59.91 kB / 415.3 MB, free: 1.613 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001444/0.435, allocations: 0.5424 MB / 415.8 MB, free: 1.293 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.4369, allocations: 0.7588 MB / 416.6 MB, free: 0.7305 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/0.437, allocations: 4 kB / 416.6 MB, free: 0.7266 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-05/0.4371, allocations: 3.906 kB / 416.6 MB, free: 0.7227 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.4372, allocations: 24 kB / 416.6 MB, free: 0.6992 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00724/0.4445, allocations: 3.776 MB / 420.4 MB, free: 13.51 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.445, allocations: 193.5 kB / 420.6 MB, free: 13.38 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.4458, allocations: 252.5 kB / 420.8 MB, free: 13.2 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.4459, allocations: 8 kB / 420.8 MB, free: 13.19 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.446, allocations: 37.62 kB / 420.9 MB, free: 13.14 MB / 328.6 MB Notification: Performance of pre-optimization done (n=43): time 6.146e-06/0.446, allocations: 0 / 420.9 MB, free: 13.14 MB / 328.6 MB Notification: Performance of matching and sorting (n=48): time 0.00303/0.4491, allocations: 1.14 MB / 422 MB, free: 12.14 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.4493, allocations: 81.55 kB / 422.1 MB, free: 12.05 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.4504, allocations: 0.5923 MB / 422.7 MB, free: 11.61 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.4505, allocations: 25.7 kB / 422.7 MB, free: 11.57 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.4508, allocations: 479.6 kB / 423.2 MB, free: 11.15 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.451, allocations: 162.2 kB / 423.3 MB, free: 11.01 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.4511, allocations: 0 / 423.3 MB, free: 11.01 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4513, allocations: 389.5 kB / 423.7 MB, free: 10.66 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.4517, allocations: 151.5 kB / 423.9 MB, free: 10.57 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.4524, allocations: 426.7 kB / 424.3 MB, free: 10.09 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.4529, allocations: 216.2 kB / 424.5 MB, free: 9.953 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.914e-06/0.453, allocations: 4 kB / 424.5 MB, free: 9.949 MB / 328.6 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001662/0.4547, allocations: 0.6807 MB / 425.2 MB, free: 9.395 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.4548, allocations: 4 kB / 425.2 MB, free: 9.391 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.4549, allocations: 12 kB / 425.2 MB, free: 9.379 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/0.4553, allocations: 107.6 kB / 425.3 MB, free: 9.285 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/0.4562, allocations: 161.1 kB / 425.4 MB, free: 9.133 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.4594, allocations: 2.903 MB / 428.3 MB, free: 6.062 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009808/0.4605, allocations: 31.95 kB / 428.4 MB, free: 6.031 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.4607, allocations: 36 kB / 428.4 MB, free: 5.996 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.4608, allocations: 75.28 kB / 428.5 MB, free: 5.922 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.461, allocations: 82.97 kB / 428.6 MB, free: 5.84 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.4623, allocations: 465.2 kB / 429 MB, free: 5.367 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4623, allocations: 4 kB / 429 MB, free: 5.363 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.731e-06/0.4624, allocations: 4 kB / 429 MB, free: 5.359 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.521e-06/0.4625, allocations: 0 / 429 MB, free: 5.359 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.4653, allocations: 1.291 MB / 430.3 MB, free: 3.992 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4654, allocations: 0 / 430.3 MB, free: 3.992 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.466, allocations: 83.89 kB / 430.4 MB, free: 3.91 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003742/0.4664, allocations: 89.95 kB / 430.5 MB, free: 3.816 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/0.4665, allocations: 7.984 kB / 430.5 MB, free: 3.809 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.4694, allocations: 2.894 MB / 433.4 MB, free: 0.6836 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.661e-06/0.4695, allocations: 4 kB / 433.4 MB, free: 0.6797 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001623/0.4712, allocations: 0.8206 MB / 434.2 MB, free: 15.76 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/0.4718, allocations: 196 kB / 434.4 MB, free: 15.55 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.4721, allocations: 4 kB / 434.4 MB, free: 15.55 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007916/0.4729, allocations: 31.97 kB / 434.4 MB, free: 15.52 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.4731, allocations: 27.95 kB / 434.5 MB, free: 15.49 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.4732, allocations: 16 kB / 434.5 MB, free: 15.47 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.001075/0.4744, allocations: 455.2 kB / 434.9 MB, free: 15.04 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001435/0.4759, allocations: 192 kB / 435.1 MB, free: 14.85 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003409/0.4763, allocations: 234.7 kB / 435.3 MB, free: 14.61 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.4777, allocations: 0.633 MB / 436 MB, free: 13.96 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 7.543e-06/0.4778, allocations: 0 / 436 MB, free: 13.96 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007674/0.4786, allocations: 425.6 kB / 436.4 MB, free: 13.53 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.4801, allocations: 179.1 kB / 436.6 MB, free: 13.36 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.4836, allocations: 1.246 MB / 437.8 MB, free: 12.05 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/0.4846, allocations: 1.094 MB / 438.9 MB, free: 10.93 MB / 344.6 MB Notification: Performance of SimCode: time 2.724e-06/0.4847, allocations: 7.938 kB / 438.9 MB, free: 10.92 MB / 344.6 MB Notification: Performance of Templates: time 0.07377/0.5585, allocations: 9.572 MB / 448.5 MB, free: 1.414 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:827:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_114(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:828:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_118(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:829:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_119(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:830:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase_eqFunction_120(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.c:831:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.o] Error 1