Notification: Performance of loadModel(Modelica): time 1.576/1.576, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.499e-06, allocations: 1.344 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06036/0.06044, allocations: 44.37 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/0.3293, allocations: 112.2 MB / 403.9 MB, free: 7.52 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.3297, allocations: 96.11 kB / 404 MB, free: 7.469 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.623/0.9527, allocations: 131.8 MB / 0.5233 GB, free: 51.99 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0004247/0.9533, allocations: 129.8 kB / 0.5234 GB, free: 51.97 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.01598/0.9693, allocations: 4.777 MB / 0.5281 GB, free: 50.12 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.9695, allocations: 7.281 kB / 0.5281 GB, free: 50.12 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00809/0.9776, allocations: 0.9805 MB / 0.529 GB, free: 49.82 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.9918, allocations: 4.507 MB / 0.5334 GB, free: 49.09 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.9922, allocations: 155.8 kB / 0.5336 GB, free: 49.09 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.9938, allocations: 287 kB / 0.5338 GB, free: 49.09 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01317/1.007, allocations: 5.225 MB / 0.5389 GB, free: 49.07 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/1.024, allocations: 5.986 MB / 0.5448 GB, free: 48.48 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/1.024, allocations: 7.906 kB / 0.5448 GB, free: 48.47 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007754/1.025, allocations: 10.52 kB / 0.5448 GB, free: 48.47 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/1.025, allocations: 242.1 kB / 0.545 GB, free: 48.46 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04458/1.07, allocations: 20.2 MB / 0.5648 GB, free: 40.53 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/1.074, allocations: 1.991 MB / 0.5667 GB, free: 39.75 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005542/1.079, allocations: 2.599 MB / 0.5693 GB, free: 38.84 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01304/1.092, allocations: 5.476 MB / 0.5746 GB, free: 35.7 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/1.093, allocations: 68.22 kB / 0.5747 GB, free: 35.63 MB / 392.6 MB Notification: Performance of pre-optimization done (n=254): time 8.8e-06/1.093, allocations: 0 / 0.5747 GB, free: 35.63 MB / 392.6 MB Notification: Performance of matching and sorting (n=261): time 0.01946/1.112, allocations: 7.822 MB / 0.5823 GB, free: 28.59 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/1.112, allocations: 85.41 kB / 0.5824 GB, free: 28.49 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/1.116, allocations: 2.126 MB / 0.5845 GB, free: 26.58 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003815/1.117, allocations: 29.7 kB / 0.5845 GB, free: 26.55 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007947/1.118, allocations: 1.696 MB / 0.5861 GB, free: 25.07 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006875/1.118, allocations: 0.8359 MB / 0.587 GB, free: 24.3 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/1.119, allocations: 4 kB / 0.587 GB, free: 24.3 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001671/1.119, allocations: 413 kB / 0.5874 GB, free: 23.93 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.121, allocations: 1.358 MB / 0.5887 GB, free: 22.7 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/1.125, allocations: 1.944 MB / 0.5906 GB, free: 20.7 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/1.128, allocations: 1.726 MB / 0.5923 GB, free: 19.21 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.129, allocations: 4 kB / 0.5923 GB, free: 19.21 MB / 392.6 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.009649/1.138, allocations: 4.266 MB / 0.5964 GB, free: 15.39 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.138, allocations: 4.625 kB / 0.5964 GB, free: 15.38 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/1.138, allocations: 16 kB / 0.5965 GB, free: 15.37 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/1.141, allocations: 0.6442 MB / 0.5971 GB, free: 14.82 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/1.144, allocations: 0.6112 MB / 0.5977 GB, free: 14.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.157, allocations: 9.414 MB / 0.6069 GB, free: 5.152 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/1.16, allocations: 55.66 kB / 0.6069 GB, free: 5.105 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005244/1.161, allocations: 107.7 kB / 0.607 GB, free: 5.004 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002632/1.161, allocations: 79.19 kB / 0.6071 GB, free: 4.926 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007727/1.162, allocations: 292.4 kB / 0.6074 GB, free: 4.641 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009402/1.172, allocations: 4.047 MB / 0.6113 GB, free: 1.129 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/1.172, allocations: 28 kB / 0.6114 GB, free: 1.102 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/1.172, allocations: 8 kB / 0.6114 GB, free: 1.094 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-05/1.172, allocations: 11.39 kB / 0.6114 GB, free: 1.094 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.194, allocations: 8.673 MB / 0.6199 GB, free: 10.12 MB / 408.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/1.194, allocations: 5.078 kB / 0.6199 GB, free: 10.12 MB / 408.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002814/1.197, allocations: 402.1 kB / 0.6202 GB, free: 9.789 MB / 408.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003245/1.2, allocations: 0.8052 MB / 0.621 GB, free: 9.125 MB / 408.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004524/1.201, allocations: 30.17 kB / 0.6211 GB, free: 9.105 MB / 408.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.221, allocations: 13.57 MB / 0.6343 GB, free: 11.91 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.221, allocations: 0 / 0.6343 GB, free: 11.91 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01306/1.234, allocations: 6.211 MB / 0.6404 GB, free: 6.203 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.236, allocations: 0.6897 MB / 0.6411 GB, free: 5.562 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009272/1.237, allocations: 23.75 kB / 0.6411 GB, free: 5.543 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.24, allocations: 86.45 kB / 0.6412 GB, free: 5.477 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006008/1.241, allocations: 162.2 kB / 0.6413 GB, free: 5.379 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.241, allocations: 67.7 kB / 0.6414 GB, free: 5.316 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.003464/1.245, allocations: 1.6 MB / 0.6429 GB, free: 3.879 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.004694/1.249, allocations: 0.8778 MB / 0.6438 GB, free: 3.004 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005515/1.25, allocations: 350.7 kB / 0.6441 GB, free: 2.734 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.1726/1.423, allocations: 3.897 MB / 0.6479 GB, free: 75.21 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 6.565e-06/1.423, allocations: 2.812 kB / 0.6479 GB, free: 75.21 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.005066/1.428, allocations: 2.537 MB / 0.6504 GB, free: 74.6 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/1.433, allocations: 0.5729 MB / 0.651 GB, free: 74.59 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/1.455, allocations: 7.98 MB / 0.6588 GB, free: 73.07 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00722/1.462, allocations: 3.697 MB / 0.6624 GB, free: 72.27 MB / 424.6 MB Notification: Performance of SimCode: time 2.235e-06/1.462, allocations: 0 / 0.6624 GB, free: 72.27 MB / 424.6 MB Notification: Performance of Templates: time 0.1615/1.624, allocations: 45.82 MB / 0.7071 GB, free: 69.36 MB / 424.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