Notification: Performance of loadModel(Modelica): time 1.535/1.535, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.138e-05, allocations: 2.406 kB / 247.3 MB, free: 4.711 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06167/0.06175, allocations: 44.36 MB / 291.7 MB, free: 9.309 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.3215, allocations: 102.7 MB / 394.4 MB, free: 15.85 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.3219, allocations: 95.33 kB / 394.5 MB, free: 15.83 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2859/0.6079, allocations: 78.97 MB / 473.5 MB, free: 9.133 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002711/0.6082, allocations: 79.88 kB / 473.6 MB, free: 9.055 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01137/0.6197, allocations: 3.207 MB / 476.8 MB, free: 5.781 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6198, allocations: 8.031 kB / 476.8 MB, free: 5.773 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006593/0.6264, allocations: 0.7411 MB / 477.5 MB, free: 5.027 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.6375, allocations: 3.348 MB / 480.9 MB, free: 1.617 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.6377, allocations: 104 kB / 481 MB, free: 1.516 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.6388, allocations: 187.9 kB / 481.2 MB, free: 1.332 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008708/0.6476, allocations: 3.222 MB / 484.4 MB, free: 14.11 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.6588, allocations: 3.692 MB / 488.1 MB, free: 10.3 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.659, allocations: 0 / 488.1 MB, free: 10.3 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007578/0.6599, allocations: 4 kB / 488.1 MB, free: 10.29 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.66, allocations: 150.2 kB / 488.2 MB, free: 10.14 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.15/0.8101, allocations: 13.03 MB / 0.4895 GB, free: 115.5 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.8122, allocations: 1.056 MB / 0.4905 GB, free: 115.5 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/0.8152, allocations: 1.378 MB / 0.4919 GB, free: 115.4 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0076/0.8229, allocations: 3.29 MB / 0.4951 GB, free: 114.9 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.823, allocations: 52.5 kB / 0.4951 GB, free: 114.8 MB / 392.6 MB Notification: Performance of pre-optimization done (n=153): time 5.448e-06/0.8231, allocations: 0 / 0.4951 GB, free: 114.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=173): time 0.01572/0.8388, allocations: 5.547 MB / 0.5006 GB, free: 113.9 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.839, allocations: 71 kB / 0.5006 GB, free: 113.9 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.8416, allocations: 1.361 MB / 0.502 GB, free: 113.7 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002556/0.8419, allocations: 25.7 kB / 0.502 GB, free: 113.7 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005879/0.8426, allocations: 1.14 MB / 0.5031 GB, free: 113.2 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005006/0.8431, allocations: 0.5672 MB / 0.5037 GB, free: 112.9 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.8433, allocations: 0 / 0.5037 GB, free: 112.9 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8435, allocations: 382.5 kB / 0.504 GB, free: 112.6 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.8452, allocations: 0.8183 MB / 0.5048 GB, free: 112.6 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.8472, allocations: 1.275 MB / 0.5061 GB, free: 112.1 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.85, allocations: 1.108 MB / 0.5071 GB, free: 112 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/0.8501, allocations: 3.5 kB / 0.5071 GB, free: 112 MB / 392.6 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006941/0.8571, allocations: 2.747 MB / 0.5098 GB, free: 111.8 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.8572, allocations: 7.312 kB / 0.5098 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/0.8573, allocations: 15.06 kB / 0.5099 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.8594, allocations: 0.4939 MB / 0.5103 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.8621, allocations: 439.4 kB / 0.5108 GB, free: 111.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.8723, allocations: 5.937 MB / 0.5165 GB, free: 109.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/0.8748, allocations: 47.42 kB / 0.5166 GB, free: 109.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/0.8753, allocations: 77.72 kB / 0.5167 GB, free: 109.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.8755, allocations: 75.28 kB / 0.5167 GB, free: 109.2 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005149/0.8761, allocations: 192.4 kB / 0.5169 GB, free: 109.1 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006503/0.8827, allocations: 2.653 MB / 0.5195 GB, free: 108.7 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/0.8828, allocations: 20.91 kB / 0.5195 GB, free: 108.7 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/0.8829, allocations: 6.438 kB / 0.5195 GB, free: 108.7 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.269e-05/0.883, allocations: 7.688 kB / 0.5195 GB, free: 108.7 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.8954, allocations: 5.72 MB / 0.5251 GB, free: 107.9 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.8955, allocations: 3.438 kB / 0.5251 GB, free: 107.9 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/0.8976, allocations: 266.5 kB / 0.5254 GB, free: 107.9 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002047/0.8997, allocations: 0.491 MB / 0.5259 GB, free: 107.9 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/0.9001, allocations: 19.8 kB / 0.5259 GB, free: 107.9 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.9124, allocations: 9.795 MB / 0.5355 GB, free: 101.5 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.775e-06/0.9125, allocations: 3.406 kB / 0.5355 GB, free: 101.5 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008019/0.9206, allocations: 3.962 MB / 0.5393 GB, free: 99.48 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.9221, allocations: 468.7 kB / 0.5398 GB, free: 99.16 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/0.9228, allocations: 14.84 kB / 0.5398 GB, free: 99.15 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.9247, allocations: 52.97 kB / 0.5398 GB, free: 99.15 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/0.9251, allocations: 93.19 kB / 0.5399 GB, free: 99.14 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.9253, allocations: 48.94 kB / 0.54 GB, free: 99.12 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002035/0.9274, allocations: 1.023 MB / 0.541 GB, free: 98.69 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.003203/0.9307, allocations: 0.5569 MB / 0.5415 GB, free: 98.68 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004387/0.9313, allocations: 274.8 kB / 0.5418 GB, free: 98.61 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.005354/0.9367, allocations: 2.431 MB / 0.5442 GB, free: 97.61 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.171e-06/0.9368, allocations: 4 kB / 0.5442 GB, free: 97.61 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003225/0.9401, allocations: 1.637 MB / 0.5458 GB, free: 96.68 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.9429, allocations: 354.6 kB / 0.5461 GB, free: 96.59 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.9565, allocations: 4.958 MB / 0.5509 GB, free: 94.62 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00431/0.961, allocations: 2.555 MB / 0.5534 GB, free: 93.5 MB / 392.6 MB Notification: Performance of SimCode: time 2.444e-06/0.9611, allocations: 3.812 kB / 0.5534 GB, free: 93.5 MB / 392.6 MB Notification: Performance of Templates: time 0.1217/1.083, allocations: 29.31 MB / 0.5821 GB, free: 82.09 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=7 -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_Initialize.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_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_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_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_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.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_Initialize_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_Initialize.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2526:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_293(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2527:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_294(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2528:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_297(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2529:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_302(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.c:2530:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize_eqFunction_309(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_Initialize.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.o] Error 1