Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.359e-06/9.778e-06, allocations: 1.156 kB / 247.5 MB, free: 4.551 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06385/0.06394, allocations: 44.36 MB / 291.8 MB, free: 9.172 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.3018, allocations: 86.94 MB / 378.8 MB, free: 5.27 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.3021, allocations: 92.25 kB / 378.9 MB, free: 5.254 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2725/0.5746, allocations: 73.95 MB / 452.8 MB, free: 14.08 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0002504/0.575, allocations: 87.88 kB / 452.9 MB, free: 13.99 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.008505/0.5836, allocations: 2.876 MB / 455.8 MB, free: 11.05 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5837, allocations: 8.031 kB / 455.8 MB, free: 11.04 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.5858, allocations: 399.6 kB / 456.2 MB, free: 10.65 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.5919, allocations: 2.19 MB / 458.4 MB, free: 8.402 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.5922, allocations: 104 kB / 458.5 MB, free: 8.301 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008858/0.5931, allocations: 167.9 kB / 458.6 MB, free: 8.137 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007628/0.6008, allocations: 3.018 MB / 461.7 MB, free: 5.113 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009487/0.6104, allocations: 3.693 MB / 465.4 MB, free: 1.262 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-05/0.6106, allocations: 3.938 kB / 465.4 MB, free: 1.258 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004515/0.6111, allocations: 4 kB / 465.4 MB, free: 1.254 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.6113, allocations: 141.9 kB / 465.5 MB, free: 1.113 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02567/0.637, allocations: 10.49 MB / 476 MB, free: 6.449 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.6399, allocations: 1.523 MB / 477.5 MB, free: 4.914 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002694/0.6427, allocations: 1.359 MB / 478.9 MB, free: 3.555 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.6431, allocations: 134 kB / 479 MB, free: 3.402 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.6432, allocations: 51.55 kB / 479.1 MB, free: 3.344 MB / 376.6 MB Notification: Performance of pre-optimization done (n=128): time 7.124e-06/0.6433, allocations: 7.938 kB / 479.1 MB, free: 3.336 MB / 376.6 MB Notification: Performance of matching and sorting (n=133): time 0.01109/0.6544, allocations: 4.323 MB / 483.4 MB, free: 14.96 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.6546, allocations: 94.42 kB / 483.5 MB, free: 14.84 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/0.6578, allocations: 1.456 MB / 484.9 MB, free: 13.38 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002368/0.6581, allocations: 25.7 kB / 485 MB, free: 13.35 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005615/0.6588, allocations: 1.087 MB / 486 MB, free: 12.25 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006276/0.6594, allocations: 437.4 kB / 486.5 MB, free: 11.82 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.6596, allocations: 4 kB / 486.5 MB, free: 11.81 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6598, allocations: 365.9 kB / 486.8 MB, free: 11.45 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.6612, allocations: 0.7965 MB / 487.6 MB, free: 10.65 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.6633, allocations: 1.126 MB / 488.8 MB, free: 9.387 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.6654, allocations: 1.002 MB / 489.8 MB, free: 8.383 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/0.6655, allocations: 7.906 kB / 489.8 MB, free: 8.375 MB / 392.6 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005391/0.6709, allocations: 2.391 MB / 492.2 MB, free: 5.973 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.671, allocations: 8 kB / 492.2 MB, free: 5.965 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.6711, allocations: 12 kB / 492.2 MB, free: 5.953 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.6728, allocations: 384.7 kB / 492.6 MB, free: 5.574 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.675, allocations: 323.5 kB / 492.9 MB, free: 5.258 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006484/0.6815, allocations: 3.954 MB / 496.8 MB, free: 1.176 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.6835, allocations: 47.86 kB / 496.9 MB, free: 1.129 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.6838, allocations: 63.98 kB / 496.9 MB, free: 1.066 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.684, allocations: 75.28 kB / 497 MB, free: 0.9922 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005957/0.6847, allocations: 182 kB / 497.2 MB, free: 0.8125 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1246/0.8094, allocations: 2.089 MB / 499.3 MB, free: 116.4 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.8095, allocations: 13.5 kB / 499.3 MB, free: 116.4 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.8096, allocations: 11.38 kB / 499.3 MB, free: 116.4 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.8097, allocations: 6.469 kB / 499.3 MB, free: 116.4 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.8218, allocations: 4.686 MB / 0.4922 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/0.8219, allocations: 3.25 kB / 0.4922 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/0.8245, allocations: 217.3 kB / 0.4924 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.8262, allocations: 361.3 kB / 0.4927 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/0.8264, allocations: 14.31 kB / 0.4927 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007448/0.834, allocations: 3.925 MB / 0.4966 GB, free: 114.7 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-06/0.8341, allocations: 9.219 kB / 0.4966 GB, free: 114.7 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006955/0.8411, allocations: 3.286 MB / 0.4998 GB, free: 114.4 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.8426, allocations: 452.6 kB / 0.5002 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005162/0.8432, allocations: 7.156 kB / 0.5002 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/0.8452, allocations: 79.25 kB / 0.5003 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.8455, allocations: 67 kB / 0.5004 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/0.8458, allocations: 42.94 kB / 0.5004 GB, free: 114.3 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002338/0.8482, allocations: 1.109 MB / 0.5015 GB, free: 114.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002721/0.851, allocations: 0.5106 MB / 0.502 GB, free: 114.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000353/0.8514, allocations: 152.3 kB / 0.5021 GB, free: 114.1 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.8558, allocations: 2.188 MB / 0.5043 GB, free: 113.9 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.774e-06/0.8559, allocations: 0 / 0.5043 GB, free: 113.9 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002714/0.8586, allocations: 1.241 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.002786/0.8615, allocations: 336.2 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.01661/0.8782, allocations: 4.647 MB / 0.5104 GB, free: 112.7 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006838/0.8852, allocations: 2.599 MB / 0.5129 GB, free: 112 MB / 392.6 MB Notification: Performance of SimCode: time 3.212e-06/0.8853, allocations: 0 / 0.5129 GB, free: 112 MB / 392.6 MB Notification: Performance of Templates: time 0.1062/0.9916, 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