Notification: Performance of loadModel(Modelica): time 1.492/1.492, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/1.006e-05, allocations: 1.375 kB / 247.5 MB, free: 4.594 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06145/0.06153, allocations: 44.36 MB / 291.8 MB, free: 9.18 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/0.3045, allocations: 86.94 MB / 378.8 MB, free: 5.211 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.3048, allocations: 89.34 kB / 378.9 MB, free: 5.195 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2786/0.5834, allocations: 73.96 MB / 452.8 MB, free: 14.08 MB / 360.6 MB Notification: Performance of Transformations before backend: time 0.0002531/0.5838, allocations: 91.86 kB / 452.9 MB, free: 13.99 MB / 360.6 MB Notification: Performance of Generate backend data structure: time 0.009065/0.5929, allocations: 2.869 MB / 455.8 MB, free: 11.06 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5931, allocations: 12.03 kB / 455.8 MB, free: 11.05 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.5953, allocations: 399.6 kB / 456.2 MB, free: 10.66 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00625/0.6017, allocations: 2.193 MB / 458.4 MB, free: 8.406 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.6019, allocations: 99.98 kB / 458.5 MB, free: 8.309 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009402/0.6029, allocations: 171.9 kB / 458.6 MB, free: 8.141 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007973/0.611, allocations: 3.015 MB / 461.7 MB, free: 5.121 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.6215, allocations: 3.693 MB / 465.4 MB, free: 1.266 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-05/0.6217, allocations: 0 / 465.4 MB, free: 1.266 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006139/0.6224, allocations: 4 kB / 465.4 MB, free: 1.262 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/0.6226, allocations: 145.9 kB / 465.5 MB, free: 1.117 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.648, allocations: 10.49 MB / 476 MB, free: 6.457 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.6507, allocations: 1.516 MB / 477.5 MB, free: 4.93 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.6533, allocations: 1.358 MB / 478.9 MB, free: 3.57 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.6537, allocations: 146 kB / 479 MB, free: 3.406 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.6538, allocations: 51.5 kB / 479.1 MB, free: 3.348 MB / 376.6 MB Notification: Performance of pre-optimization done (n=128): time 5.168e-06/0.6539, allocations: 3.938 kB / 479.1 MB, free: 3.344 MB / 376.6 MB Notification: Performance of matching and sorting (n=133): time 0.0172/0.6712, allocations: 4.327 MB / 483.4 MB, free: 14.96 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.6714, allocations: 94.42 kB / 483.5 MB, free: 14.85 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/0.6764, allocations: 1.456 MB / 484.9 MB, free: 13.39 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002971/0.6768, allocations: 25.7 kB / 485 MB, free: 13.36 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/0.6778, allocations: 1.087 MB / 486 MB, free: 12.25 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008438/0.6787, allocations: 437.4 kB / 486.5 MB, free: 11.82 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.679, allocations: 0 / 486.5 MB, free: 11.82 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6792, allocations: 369.9 kB / 486.8 MB, free: 11.45 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.6817, allocations: 0.7926 MB / 487.6 MB, free: 10.66 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.6849, allocations: 1.134 MB / 488.8 MB, free: 9.391 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/0.6883, allocations: 1.002 MB / 489.8 MB, free: 8.387 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/0.6885, allocations: 3.906 kB / 489.8 MB, free: 8.383 MB / 392.6 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009527/0.6981, allocations: 2.391 MB / 492.2 MB, free: 5.98 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.6983, allocations: 4 kB / 492.2 MB, free: 5.977 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.921e-05/0.6984, allocations: 12 kB / 492.2 MB, free: 5.965 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.701, allocations: 376.7 kB / 492.5 MB, free: 5.594 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/0.7047, allocations: 331.5 kB / 492.9 MB, free: 5.27 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.7157, allocations: 3.965 MB / 496.8 MB, free: 1.172 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/0.7188, allocations: 51.92 kB / 496.9 MB, free: 1.121 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004536/0.7194, allocations: 63.98 kB / 496.9 MB, free: 1.059 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.7198, allocations: 79.28 kB / 497 MB, free: 0.9805 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.7209, allocations: 169.9 kB / 497.2 MB, free: 0.8125 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1277/0.8487, allocations: 2.093 MB / 499.3 MB, free: 116.4 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.8489, allocations: 16.91 kB / 499.3 MB, free: 116.4 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.8489, allocations: 8.625 kB / 499.3 MB, free: 116.4 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.849, allocations: 7.266 kB / 499.3 MB, free: 116.4 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.8596, allocations: 4.68 MB / 0.4922 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/0.8598, allocations: 3.844 kB / 0.4922 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.8614, allocations: 221.8 kB / 0.4924 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.8628, allocations: 357.2 kB / 0.4927 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.8631, allocations: 15.77 kB / 0.4928 GB, free: 116 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/0.8694, allocations: 3.935 MB / 0.4966 GB, free: 114.7 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.149e-06/0.8695, allocations: 8.562 kB / 0.4966 GB, free: 114.7 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005995/0.8756, allocations: 3.289 MB / 0.4998 GB, free: 114.4 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.877, allocations: 454.5 kB / 0.5002 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006041/0.8777, allocations: 14.84 kB / 0.5003 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.8795, allocations: 68.14 kB / 0.5003 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.8798, allocations: 77.06 kB / 0.5004 GB, free: 114.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.88, allocations: 38.2 kB / 0.5004 GB, free: 114.3 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001982/0.882, allocations: 1.108 MB / 0.5015 GB, free: 114.2 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002466/0.8846, allocations: 0.5006 MB / 0.502 GB, free: 114.2 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003508/0.885, allocations: 160.2 kB / 0.5022 GB, free: 114.2 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.003937/0.889, allocations: 2.187 MB / 0.5043 GB, free: 113.9 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.635e-06/0.8891, allocations: 0 / 0.5043 GB, free: 113.9 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.8915, allocations: 1.237 MB / 0.5055 GB, free: 113.7 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.8942, allocations: 335.5 kB / 0.5058 GB, free: 113.7 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.906, allocations: 4.648 MB / 0.5104 GB, free: 112.7 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003533/0.9096, allocations: 2.593 MB / 0.5129 GB, free: 112 MB / 392.6 MB Notification: Performance of SimCode: time 3.212e-06/0.9098, allocations: 0 / 0.5129 GB, free: 112 MB / 392.6 MB Notification: Performance of Templates: time 0.1109/1.021, allocations: 24.64 MB / 0.537 GB, free: 110.9 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1866:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_215(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1867:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_217(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1868:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_227(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1869:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_eqFunction_229(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.c:1870:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.o] Error 1