Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.102 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.219e-06/9.289e-06, allocations: 1.125 kB / 247.3 MB, free: 4.766 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06127/0.06135, allocations: 44.37 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2702/0.3317, allocations: 112.2 MB / 403.9 MB, free: 7.469 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.332, allocations: 92.81 kB / 404 MB, free: 7.422 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.6515/0.9836, allocations: 131.8 MB / 0.5233 GB, free: 65.87 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004193/0.9841, allocations: 130.3 kB / 0.5234 GB, free: 65.86 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01567/0.9999, allocations: 4.773 MB / 0.5281 GB, free: 64.01 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1, allocations: 10.8 kB / 0.5281 GB, free: 64.01 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008013/1.008, allocations: 0.9824 MB / 0.529 GB, free: 63.71 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/1.022, allocations: 4.5 MB / 0.5334 GB, free: 62.98 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/1.022, allocations: 158.3 kB / 0.5336 GB, free: 62.98 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/1.024, allocations: 286.3 kB / 0.5338 GB, free: 62.98 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01321/1.037, allocations: 5.225 MB / 0.539 GB, free: 62.95 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/1.054, allocations: 5.986 MB / 0.5448 GB, free: 62.36 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/1.054, allocations: 11.88 kB / 0.5448 GB, free: 62.36 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006343/1.055, allocations: 3.531 kB / 0.5448 GB, free: 62.36 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/1.055, allocations: 238.3 kB / 0.545 GB, free: 62.34 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04413/1.099, allocations: 20.2 MB / 0.5648 GB, free: 53.17 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/1.103, allocations: 1.999 MB / 0.5667 GB, free: 52.39 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005786/1.109, allocations: 2.602 MB / 0.5693 GB, free: 51.48 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/1.122, allocations: 5.469 MB / 0.5746 GB, free: 47 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/1.122, allocations: 68.03 kB / 0.5747 GB, free: 46.93 MB / 392.6 MB Notification: Performance of pre-optimization done (n=254): time 8.73e-06/1.122, allocations: 4 kB / 0.5747 GB, free: 46.92 MB / 392.6 MB Notification: Performance of matching and sorting (n=261): time 0.02006/1.142, allocations: 7.818 MB / 0.5823 GB, free: 39.88 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/1.143, allocations: 77.47 kB / 0.5824 GB, free: 39.79 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/1.147, allocations: 2.133 MB / 0.5845 GB, free: 37.88 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0004126/1.148, allocations: 25.7 kB / 0.5845 GB, free: 37.84 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008097/1.149, allocations: 1.702 MB / 0.5862 GB, free: 36.36 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008435/1.149, allocations: 0.8338 MB / 0.587 GB, free: 35.6 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/1.15, allocations: 3.844 kB / 0.587 GB, free: 35.6 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001942/1.15, allocations: 419.8 kB / 0.5874 GB, free: 35.21 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/1.153, allocations: 1.356 MB / 0.5887 GB, free: 34 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/1.156, allocations: 1.944 MB / 0.5906 GB, free: 32 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/1.16, allocations: 1.725 MB / 0.5923 GB, free: 30.5 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/1.16, allocations: 4 kB / 0.5923 GB, free: 30.5 MB / 392.6 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.009887/1.17, allocations: 4.265 MB / 0.5964 GB, free: 26.68 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.17, allocations: 8.625 kB / 0.5965 GB, free: 26.67 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/1.17, allocations: 16 kB / 0.5965 GB, free: 26.66 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/1.172, allocations: 0.639 MB / 0.5971 GB, free: 26.12 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/1.176, allocations: 0.6096 MB / 0.5977 GB, free: 25.59 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/1.189, allocations: 9.397 MB / 0.6069 GB, free: 16.46 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/1.192, allocations: 55.03 kB / 0.6069 GB, free: 16.42 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005792/1.193, allocations: 111.7 kB / 0.607 GB, free: 16.31 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002784/1.193, allocations: 79.19 kB / 0.6071 GB, free: 16.23 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008639/1.194, allocations: 288.5 kB / 0.6074 GB, free: 15.95 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009629/1.204, allocations: 4.059 MB / 0.6113 GB, free: 12.43 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-05/1.204, allocations: 24 kB / 0.6114 GB, free: 12.41 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-05/1.204, allocations: 12 kB / 0.6114 GB, free: 12.4 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-05/1.204, allocations: 14.72 kB / 0.6114 GB, free: 12.4 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/1.225, allocations: 8.604 MB / 0.6198 GB, free: 5.266 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/1.226, allocations: 4 kB / 0.6198 GB, free: 5.262 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/1.229, allocations: 402.5 kB / 0.6202 GB, free: 4.93 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/1.232, allocations: 0.8043 MB / 0.621 GB, free: 4.266 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004652/1.233, allocations: 30.16 kB / 0.621 GB, free: 4.246 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/1.251, allocations: 13.51 MB / 0.6342 GB, free: 6.918 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/1.251, allocations: 8.125 kB / 0.6342 GB, free: 6.91 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01302/1.264, allocations: 6.204 MB / 0.6402 GB, free: 0.5156 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1443/1.409, allocations: 0.6974 MB / 0.6409 GB, free: 102.9 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.41, allocations: 19.27 kB / 0.6409 GB, free: 102.9 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/1.413, allocations: 84.56 kB / 0.641 GB, free: 102.9 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/1.414, allocations: 161.4 kB / 0.6412 GB, free: 102.9 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.414, allocations: 73.62 kB / 0.6413 GB, free: 102.9 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.003243/1.417, allocations: 1.595 MB / 0.6428 GB, free: 102.7 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.004679/1.422, allocations: 0.8737 MB / 0.6437 GB, free: 102.7 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000548/1.423, allocations: 351.7 kB / 0.644 GB, free: 102.7 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.007322/1.43, allocations: 3.898 MB / 0.6478 GB, free: 102.1 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.43, allocations: 0 / 0.6478 GB, free: 102.1 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005035/1.435, allocations: 2.536 MB / 0.6503 GB, free: 101.5 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/1.439, allocations: 0.5813 MB / 0.6508 GB, free: 101.5 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/1.461, allocations: 7.981 MB / 0.6586 GB, free: 100 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006667/1.467, allocations: 3.698 MB / 0.6623 GB, free: 99.22 MB / 408.6 MB Notification: Performance of SimCode: time 2.444e-06/1.468, allocations: 3.5 kB / 0.6623 GB, free: 99.22 MB / 408.6 MB Notification: Performance of Templates: time 0.1841/1.652, allocations: 45.82 MB / 0.707 GB, free: 96.53 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3582:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_407(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3583:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_408(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3584:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_409(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3585:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_410(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3586:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_411(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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o] Error 1