Notification: Performance of loadModel(Modelica): time 1.541/1.541, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.918e-06, allocations: 1.094 kB / 247.4 MB, free: 4.66 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06365/0.06374, allocations: 44.35 MB / 291.8 MB, free: 9.234 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/0.3022, allocations: 83.39 MB / 375.2 MB, free: 6.25 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.3026, allocations: 93.33 kB / 375.3 MB, free: 6.23 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.2065/0.5091, allocations: 55.89 MB / 431.1 MB, free: 2.926 MB / 328.6 MB Notification: Performance of Transformations before backend: time 0.0001571/0.5094, allocations: 51.88 kB / 431.2 MB, free: 2.875 MB / 328.6 MB Notification: Performance of Generate backend data structure: time 0.005274/0.5147, allocations: 1.843 MB / 433 MB, free: 0.9844 MB / 328.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5148, allocations: 12.03 kB / 433 MB, free: 0.9727 MB / 328.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.5164, allocations: 257.3 kB / 433.3 MB, free: 0.7188 MB / 328.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/0.5202, allocations: 1.311 MB / 434.6 MB, free: 15.38 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.5204, allocations: 60 kB / 434.7 MB, free: 15.32 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000586/0.5211, allocations: 111.7 kB / 434.8 MB, free: 15.21 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004846/0.526, allocations: 1.823 MB / 436.6 MB, free: 13.39 MB / 344.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005949/0.532, allocations: 2.217 MB / 438.8 MB, free: 11.11 MB / 344.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.735e-05/0.5322, allocations: 0 / 438.8 MB, free: 11.11 MB / 344.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.5325, allocations: 4 kB / 438.8 MB, free: 11.1 MB / 344.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.5327, allocations: 99.58 kB / 438.9 MB, free: 11 MB / 344.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.5478, allocations: 6.61 MB / 445.5 MB, free: 4.316 MB / 344.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.5498, allocations: 1.079 MB / 446.6 MB, free: 3.227 MB / 344.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.552, allocations: 0.9859 MB / 447.6 MB, free: 2.242 MB / 344.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003527/0.5524, allocations: 129.7 kB / 447.7 MB, free: 2.098 MB / 344.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.5525, allocations: 47.22 kB / 447.8 MB, free: 2.043 MB / 344.6 MB Notification: Performance of pre-optimization done (n=82): time 4.68e-06/0.5526, allocations: 0 / 447.8 MB, free: 2.043 MB / 344.6 MB Notification: Performance of matching and sorting (n=88): time 0.007248/0.5599, allocations: 2.622 MB / 450.4 MB, free: 15.36 MB / 360.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.56, allocations: 85.89 kB / 450.5 MB, free: 15.26 MB / 360.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.5617, allocations: 0.8717 MB / 451.3 MB, free: 14.38 MB / 360.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.5619, allocations: 25.7 kB / 451.4 MB, free: 14.35 MB / 360.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/0.5626, allocations: 0.677 MB / 452 MB, free: 13.66 MB / 360.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.563, allocations: 291.7 kB / 452.3 MB, free: 13.37 MB / 360.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.5631, allocations: 0 / 452.3 MB, free: 13.37 MB / 360.6 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.5632, allocations: 345.9 kB / 452.7 MB, free: 13.03 MB / 360.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000834/0.5641, allocations: 457.8 kB / 453.1 MB, free: 12.58 MB / 360.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00095/0.5651, allocations: 0.6241 MB / 453.7 MB, free: 11.89 MB / 360.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.5665, allocations: 0.5705 MB / 454.3 MB, free: 11.32 MB / 360.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.962e-06/0.5666, allocations: 4 kB / 454.3 MB, free: 11.32 MB / 360.6 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002909/0.5695, allocations: 1.302 MB / 455.6 MB, free: 10 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5697, allocations: 4 kB / 455.6 MB, free: 10 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5697, allocations: 7.984 kB / 455.6 MB, free: 9.992 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.5703, allocations: 120.7 kB / 455.7 MB, free: 9.871 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.5722, allocations: 247.7 kB / 456 MB, free: 9.629 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.575, allocations: 2.005 MB / 458 MB, free: 7.512 MB / 360.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.5763, allocations: 27.98 kB / 458 MB, free: 7.484 MB / 360.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/0.5765, allocations: 35.98 kB / 458.1 MB, free: 7.449 MB / 360.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.5767, allocations: 79.28 kB / 458.1 MB, free: 7.371 MB / 360.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/0.5772, allocations: 102.8 kB / 458.2 MB, free: 7.27 MB / 360.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.5797, allocations: 1.158 MB / 459.4 MB, free: 6.102 MB / 360.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.5798, allocations: 11.98 kB / 459.4 MB, free: 6.09 MB / 360.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5799, allocations: 3.906 kB / 459.4 MB, free: 6.086 MB / 360.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.58, allocations: 3.984 kB / 459.4 MB, free: 6.082 MB / 360.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006924/0.5869, allocations: 2.855 MB / 462.3 MB, free: 3.188 MB / 360.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-06/0.587, allocations: 0 / 462.3 MB, free: 3.188 MB / 360.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.5884, allocations: 191.8 kB / 462.5 MB, free: 3 MB / 360.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/0.589, allocations: 124.8 kB / 462.6 MB, free: 2.875 MB / 360.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.5892, allocations: 4 kB / 462.6 MB, free: 2.871 MB / 360.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/0.5929, allocations: 3.216 MB / 465.8 MB, free: 15.43 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.936e-06/0.593, allocations: 0 / 465.8 MB, free: 15.43 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003592/0.5966, allocations: 1.856 MB / 467.6 MB, free: 13.56 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008048/0.5976, allocations: 295.8 kB / 467.9 MB, free: 13.25 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003299/0.598, allocations: 3.906 kB / 467.9 MB, free: 13.25 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.5991, allocations: 44.03 kB / 468 MB, free: 13.2 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.5994, allocations: 44.7 kB / 468 MB, free: 13.16 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.5995, allocations: 35.98 kB / 468.1 MB, free: 13.12 MB / 376.6 MB Notification: Performance of sort global known variables: time 0.001386/0.6009, allocations: 0.667 MB / 468.7 MB, free: 12.46 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.001749/0.6028, allocations: 319.9 kB / 469 MB, free: 12.15 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002647/0.6031, allocations: 148.5 kB / 469.2 MB, free: 12.01 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.002527/0.6057, allocations: 1.186 MB / 470.4 MB, free: 10.82 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 6.635e-06/0.6059, allocations: 0 / 470.4 MB, free: 10.82 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.6073, allocations: 0.6538 MB / 471 MB, free: 10.15 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.6091, allocations: 223.2 kB / 471.2 MB, free: 9.934 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009782/0.619, allocations: 2.64 MB / 473.9 MB, free: 7.258 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004511/0.6237, allocations: 1.842 MB / 475.7 MB, free: 5.387 MB / 376.6 MB Notification: Performance of SimCode: time 3.003e-06/0.6238, allocations: 0 / 475.7 MB, free: 5.387 MB / 376.6 MB Notification: Performance of Templates: time 0.1593/0.7832, allocations: 14.43 MB / 490.2 MB, free: 7.117 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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_AsymmetricalLoad -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.o Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_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.AsymmetricalLoad.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_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.AsymmetricalLoad.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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_AsymmetricalLoad_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.AsymmetricalLoad.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.c:632:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_eqFunction_186(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.c:632:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_eqFunction_186(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.c:1490:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_eqFunction_127(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.c:1491:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_eqFunction_128(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.c:1492:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_eqFunction_151(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.AsymmetricalLoad.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.o] Error 1