Notification: Performance of loadModel(Modelica): time 1.522/1.522, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.241e-06/8.381e-06, allocations: 0.9688 kB / 247.5 MB, free: 4.566 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08157, allocations: 44.36 MB / 291.9 MB, free: 9.141 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.3147, allocations: 86.94 MB / 378.8 MB, free: 5.285 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.3151, allocations: 91.34 kB / 378.9 MB, free: 5.27 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2712/0.5863, allocations: 73.96 MB / 452.8 MB, free: 14.04 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0002575/0.5867, allocations: 87.88 kB / 452.9 MB, free: 13.96 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.00826/0.595, allocations: 2.876 MB / 455.8 MB, free: 11.02 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5951, allocations: 8.031 kB / 455.8 MB, free: 11.01 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.5973, allocations: 399.6 kB / 456.2 MB, free: 10.62 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005822/0.6032, allocations: 2.194 MB / 458.4 MB, free: 8.367 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.6034, allocations: 96 kB / 458.5 MB, free: 8.273 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008742/0.6043, allocations: 167.9 kB / 458.6 MB, free: 8.109 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007521/0.6119, allocations: 3.022 MB / 461.7 MB, free: 5.082 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0092/0.6212, allocations: 3.693 MB / 465.4 MB, free: 1.23 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/0.6214, allocations: 4 kB / 465.4 MB, free: 1.227 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003521/0.6218, allocations: 3.984 kB / 465.4 MB, free: 1.223 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.622, allocations: 141.9 kB / 465.5 MB, free: 1.082 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02336/0.6454, allocations: 10.49 MB / 476 MB, free: 6.422 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.6483, allocations: 1.516 MB / 477.5 MB, free: 4.895 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/0.6511, allocations: 1.362 MB / 478.9 MB, free: 3.531 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004026/0.6516, allocations: 138 kB / 479 MB, free: 3.375 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.6517, allocations: 51.56 kB / 479.1 MB, free: 3.316 MB / 376.6 MB Notification: Performance of pre-optimization done (n=128): time 7.124e-06/0.6518, allocations: 0 / 479.1 MB, free: 3.316 MB / 376.6 MB Notification: Performance of matching and sorting (n=133): time 0.01071/0.6626, allocations: 4.327 MB / 483.4 MB, free: 14.93 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.6627, allocations: 90.42 kB / 483.5 MB, free: 14.82 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.6654, allocations: 1.46 MB / 484.9 MB, free: 13.36 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.6658, allocations: 29.7 kB / 485 MB, free: 13.32 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007335/0.6666, allocations: 1.083 MB / 486.1 MB, free: 12.22 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/0.6671, allocations: 445.3 kB / 486.5 MB, free: 11.78 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.6673, allocations: 0 / 486.5 MB, free: 11.78 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.6674, allocations: 369.9 kB / 486.8 MB, free: 11.41 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.669, allocations: 0.7887 MB / 487.6 MB, free: 10.62 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.6706, allocations: 1.138 MB / 488.8 MB, free: 9.352 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.6727, allocations: 0.9978 MB / 489.8 MB, free: 8.352 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.6728, allocations: 7.906 kB / 489.8 MB, free: 8.344 MB / 392.6 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005244/0.6781, allocations: 2.387 MB / 492.2 MB, free: 5.945 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6782, allocations: 4 kB / 492.2 MB, free: 5.941 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.365e-05/0.6783, allocations: 12 kB / 492.2 MB, free: 5.93 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.6798, allocations: 384.7 kB / 492.6 MB, free: 5.551 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.6821, allocations: 323.5 kB / 492.9 MB, free: 5.234 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.6886, allocations: 3.962 MB / 496.8 MB, free: 1.145 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.6907, allocations: 51.92 kB / 496.9 MB, free: 1.094 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/0.6911, allocations: 63.98 kB / 496.9 MB, free: 1.031 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.6914, allocations: 79.28 kB / 497 MB, free: 0.9531 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006738/0.6921, allocations: 173.9 kB / 497.2 MB, free: 0.7812 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1259/0.8181, allocations: 2.093 MB / 499.3 MB, free: 116.3 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.8182, allocations: 15.62 kB / 499.3 MB, free: 116.3 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.8183, allocations: 3.75 kB / 499.3 MB, free: 116.3 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.8183, allocations: 6.844 kB / 499.3 MB, free: 116.3 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.8284, allocations: 4.685 MB / 0.4922 GB, free: 115.9 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/0.8285, allocations: 5.719 kB / 0.4922 GB, free: 115.9 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.8302, allocations: 219.1 kB / 0.4924 GB, free: 115.9 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.8316, allocations: 360 kB / 0.4927 GB, free: 115.9 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/0.8319, allocations: 17.95 kB / 0.4928 GB, free: 115.9 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006184/0.8381, allocations: 3.941 MB / 0.4966 GB, free: 114.6 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.775e-06/0.8382, allocations: 0 / 0.4966 GB, free: 114.6 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005929/0.8442, allocations: 3.298 MB / 0.4998 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.8455, allocations: 450.5 kB / 0.5003 GB, free: 114.2 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/0.846, allocations: 7.75 kB / 0.5003 GB, free: 114.2 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.8476, allocations: 72.09 kB / 0.5003 GB, free: 114.2 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.8479, allocations: 77.81 kB / 0.5004 GB, free: 114.2 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.8481, allocations: 38.97 kB / 0.5004 GB, free: 114.2 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001932/0.8501, allocations: 1.104 MB / 0.5015 GB, free: 114.1 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002514/0.8527, allocations: 0.5023 MB / 0.502 GB, free: 114.1 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003493/0.8531, allocations: 164.1 kB / 0.5022 GB, free: 114.1 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.8573, allocations: 2.183 MB / 0.5043 GB, free: 113.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.962e-06/0.8574, allocations: 3.906 kB / 0.5043 GB, free: 113.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.8599, allocations: 1.234 MB / 0.5055 GB, free: 113.6 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.8625, allocations: 339.6 kB / 0.5058 GB, free: 113.6 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.8743, allocations: 4.648 MB / 0.5104 GB, free: 112.6 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003584/0.878, allocations: 2.588 MB / 0.5129 GB, free: 111.9 MB / 392.6 MB Notification: Performance of SimCode: time 2.934e-06/0.8781, allocations: 3.469 kB / 0.5129 GB, free: 111.9 MB / 392.6 MB Notification: Performance of Templates: time 0.09987/0.978, allocations: 24.64 MB / 0.537 GB, free: 110.9 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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_Transformers_TransformerTestbench -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Transformers.TransformerTestbench.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Transformers.TransformerTestbench.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Transformers.TransformerTestbench.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_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.Transformers.TransformerTestbench.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Transformers.TransformerTestbench.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Transformers.TransformerTestbench.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_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.Transformers.TransformerTestbench.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Transformers.TransformerTestbench.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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_Transformers_TransformerTestbench_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.Transformers.TransformerTestbench.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1866:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_215(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1867:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_217(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1868:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_227(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1869:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_229(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1870:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_232(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.Transformers.TransformerTestbench.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.o] Error 1