Notification: Performance of loadModel(Modelica): time 1.491/1.491, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/8.87e-06, allocations: 1.188 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06082/0.06089, allocations: 44.35 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2713/0.3323, allocations: 112.2 MB / 403.9 MB, free: 7.832 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.3326, allocations: 94.86 kB / 404 MB, free: 7.781 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.6448/0.9775, allocations: 131.8 MB / 0.5233 GB, free: 67.7 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004121/0.978, allocations: 131.4 kB / 0.5234 GB, free: 67.68 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.0159/0.994, allocations: 4.772 MB / 0.5281 GB, free: 65.84 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.9941, allocations: 7.062 kB / 0.5281 GB, free: 65.84 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007963/1.002, allocations: 0.9796 MB / 0.529 GB, free: 65.54 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/1.017, allocations: 4.509 MB / 0.5334 GB, free: 64.81 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/1.018, allocations: 153.7 kB / 0.5336 GB, free: 64.81 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/1.019, allocations: 289.9 kB / 0.5338 GB, free: 64.8 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01377/1.033, allocations: 5.218 MB / 0.5389 GB, free: 64.78 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/1.051, allocations: 5.99 MB / 0.5448 GB, free: 64.19 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002124/1.052, allocations: 14.3 kB / 0.5448 GB, free: 64.18 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/1.053, allocations: 3.312 kB / 0.5448 GB, free: 64.18 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/1.054, allocations: 243.6 kB / 0.545 GB, free: 64.17 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04657/1.1, allocations: 20.2 MB / 0.5648 GB, free: 54.94 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/1.105, allocations: 1.993 MB / 0.5667 GB, free: 54.16 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006358/1.111, allocations: 2.608 MB / 0.5693 GB, free: 53.25 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01384/1.125, allocations: 5.471 MB / 0.5746 GB, free: 48.81 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.125, allocations: 64.56 kB / 0.5747 GB, free: 48.74 MB / 392.6 MB Notification: Performance of pre-optimization done (n=254): time 9.428e-06/1.125, allocations: 0 / 0.5747 GB, free: 48.74 MB / 392.6 MB Notification: Performance of matching and sorting (n=261): time 0.01997/1.145, allocations: 7.818 MB / 0.5823 GB, free: 41.7 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.145, allocations: 85.41 kB / 0.5824 GB, free: 41.6 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/1.149, allocations: 2.124 MB / 0.5845 GB, free: 39.7 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003884/1.15, allocations: 29.7 kB / 0.5845 GB, free: 39.66 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007875/1.151, allocations: 1.697 MB / 0.5861 GB, free: 38.18 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007314/1.152, allocations: 0.8363 MB / 0.587 GB, free: 37.42 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/1.152, allocations: 8 kB / 0.587 GB, free: 37.41 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001657/1.152, allocations: 417.1 kB / 0.5874 GB, free: 37.03 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/1.155, allocations: 1.359 MB / 0.5887 GB, free: 35.81 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/1.157, allocations: 1.943 MB / 0.5906 GB, free: 33.8 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/1.161, allocations: 1.725 MB / 0.5923 GB, free: 32.32 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/1.161, allocations: 8 kB / 0.5923 GB, free: 32.31 MB / 392.6 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.009264/1.17, allocations: 4.257 MB / 0.5964 GB, free: 28.49 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.17, allocations: 4.625 kB / 0.5964 GB, free: 28.49 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/1.171, allocations: 16 kB / 0.5965 GB, free: 28.47 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/1.173, allocations: 0.6466 MB / 0.5971 GB, free: 27.93 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/1.177, allocations: 0.6113 MB / 0.5977 GB, free: 27.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.189, allocations: 9.406 MB / 0.6069 GB, free: 18.26 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/1.193, allocations: 59.69 kB / 0.6069 GB, free: 18.21 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004012/1.193, allocations: 108 kB / 0.607 GB, free: 18.11 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002628/1.193, allocations: 86.98 kB / 0.6071 GB, free: 18.03 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006653/1.194, allocations: 292.4 kB / 0.6074 GB, free: 17.74 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009549/1.204, allocations: 4.05 MB / 0.6113 GB, free: 14.23 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/1.204, allocations: 28 kB / 0.6114 GB, free: 14.2 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/1.204, allocations: 12 kB / 0.6114 GB, free: 14.19 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/1.204, allocations: 11.02 kB / 0.6114 GB, free: 14.19 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/1.223, allocations: 8.609 MB / 0.6198 GB, free: 7.059 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.224, allocations: 4.031 kB / 0.6198 GB, free: 7.055 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.226, allocations: 396.1 kB / 0.6202 GB, free: 6.727 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/1.229, allocations: 0.8126 MB / 0.621 GB, free: 6.059 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004353/1.23, allocations: 25.47 kB / 0.621 GB, free: 6.039 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/1.248, allocations: 13.55 MB / 0.6342 GB, free: 8.535 MB / 408.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.892e-06/1.248, allocations: 4 kB / 0.6342 GB, free: 8.531 MB / 408.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0122/1.261, allocations: 6.201 MB / 0.6403 GB, free: 2.133 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002222/1.263, allocations: 0.6887 MB / 0.641 GB, free: 1.422 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000918/1.264, allocations: 23.98 kB / 0.641 GB, free: 1.398 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.267, allocations: 91.86 kB / 0.6411 GB, free: 1.309 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006687/1.268, allocations: 153.7 kB / 0.6412 GB, free: 1.156 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.268, allocations: 75.98 kB / 0.6413 GB, free: 1.082 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.1393/1.407, allocations: 1.595 MB / 0.6429 GB, free: 110 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.004475/1.412, allocations: 0.8692 MB / 0.6437 GB, free: 110 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005228/1.412, allocations: 355.8 kB / 0.644 GB, free: 109.9 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.007311/1.42, allocations: 3.897 MB / 0.6478 GB, free: 109.4 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.42, allocations: 3.594 kB / 0.6479 GB, free: 109.4 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004992/1.425, allocations: 2.531 MB / 0.6503 GB, free: 108.7 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/1.429, allocations: 0.5879 MB / 0.6509 GB, free: 108.7 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/1.45, allocations: 7.968 MB / 0.6587 GB, free: 107.2 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005838/1.455, allocations: 3.704 MB / 0.6623 GB, free: 106.4 MB / 408.6 MB Notification: Performance of SimCode: time 2.724e-06/1.456, allocations: 0 / 0.6623 GB, free: 106.4 MB / 408.6 MB Notification: Performance of Templates: time 0.1964/1.652, allocations: 45.82 MB / 0.707 GB, free: 103.8 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3582:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_407(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3583:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_408(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3584:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_409(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3585:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer_eqFunction_410(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.c:3586:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.o] Error 1