Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.089e-05, allocations: 0.9375 kB / 247.9 MB, free: 4.148 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06049/0.06058, allocations: 44.36 MB / 292.3 MB, free: 8.727 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2626/0.3233, allocations: 109.1 MB / 401.4 MB, free: 10.55 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.3237, allocations: 94.25 kB / 401.5 MB, free: 10.5 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.8838/1.208, allocations: 218.3 MB / 0.6052 GB, free: 26.48 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0007863/1.208, allocations: 255.3 kB / 0.6055 GB, free: 26.24 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.03305/1.242, allocations: 9.581 MB / 0.6148 GB, free: 16.58 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.242, allocations: 8.031 kB / 0.6149 GB, free: 16.57 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/1.259, allocations: 2.131 MB / 0.6169 GB, free: 14.43 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02636/1.286, allocations: 8.952 MB / 0.6257 GB, free: 5.508 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005626/1.286, allocations: 335.9 kB / 0.626 GB, free: 5.18 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003237/1.29, allocations: 0.5779 MB / 0.6266 GB, free: 4.602 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1839/1.474, allocations: 11.03 MB / 0.6373 GB, free: 58.65 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03548/1.509, allocations: 12.49 MB / 0.6495 GB, free: 57.56 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003163/1.51, allocations: 19.97 kB / 0.6495 GB, free: 57.56 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/1.512, allocations: 7.344 kB / 0.6496 GB, free: 57.56 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/1.512, allocations: 464.6 kB / 0.65 GB, free: 57.54 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0907/1.603, allocations: 42.51 MB / 0.6915 GB, free: 49.48 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006506/1.61, allocations: 3.432 MB / 0.6949 GB, free: 48.11 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01/1.62, allocations: 4.984 MB / 0.6997 GB, free: 46.38 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03282/1.653, allocations: 12.9 MB / 0.7123 GB, free: 40.33 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.152e-05/1.653, allocations: 92.83 kB / 0.7124 GB, free: 40.26 MB / 392.6 MB Notification: Performance of pre-optimization done (n=507): time 1.292e-05/1.653, allocations: 3.938 kB / 0.7124 GB, free: 40.26 MB / 392.6 MB Notification: Performance of matching and sorting (n=513): time 0.03887/1.692, allocations: 15.23 MB / 0.7273 GB, free: 33.51 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/1.692, allocations: 104.2 kB / 0.7274 GB, free: 33.44 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008604/1.701, allocations: 3.847 MB / 0.7312 GB, free: 31.99 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0008162/1.702, allocations: 29.2 kB / 0.7312 GB, free: 31.96 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.704, allocations: 3.437 MB / 0.7345 GB, free: 29.54 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001851/1.706, allocations: 1.629 MB / 0.7361 GB, free: 28.24 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/1.706, allocations: 3.969 kB / 0.7361 GB, free: 28.24 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0003455/1.707, allocations: 0.5191 MB / 0.7366 GB, free: 27.84 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005337/1.712, allocations: 2.595 MB / 0.7392 GB, free: 26.79 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006442/1.719, allocations: 3.747 MB / 0.7428 GB, free: 24.38 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008467/1.727, allocations: 3.309 MB / 0.7461 GB, free: 23.09 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.413e-05/1.728, allocations: 14.44 kB / 0.7461 GB, free: 23.09 MB / 392.6 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.02029/1.748, allocations: 8.366 MB / 0.7542 GB, free: 19.84 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.748, allocations: 3.969 kB / 0.7543 GB, free: 19.84 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.579e-05/1.748, allocations: 34.06 kB / 0.7543 GB, free: 19.84 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005651/1.754, allocations: 1.468 MB / 0.7557 GB, free: 19.34 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007695/1.762, allocations: 1.121 MB / 0.7568 GB, free: 19.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1962/1.958, allocations: 25.27 MB / 0.7815 GB, free: 48.42 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005919/1.964, allocations: 133.8 kB / 0.7816 GB, free: 48.42 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.965, allocations: 212.8 kB / 0.7818 GB, free: 48.42 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005557/1.966, allocations: 81.38 kB / 0.7819 GB, free: 48.35 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/1.967, allocations: 0.5492 MB / 0.7824 GB, free: 48.35 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02135/1.989, allocations: 8.32 MB / 0.7906 GB, free: 47.59 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.34e-05/1.989, allocations: 47.44 kB / 0.7906 GB, free: 47.59 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.789e-05/1.989, allocations: 27.25 kB / 0.7906 GB, free: 47.59 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-05/1.989, allocations: 29.3 kB / 0.7907 GB, free: 47.59 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04076/2.03, allocations: 17.26 MB / 0.8075 GB, free: 45.86 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.463e-05/2.03, allocations: 3.469 kB / 0.8075 GB, free: 45.86 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004088/2.034, allocations: 0.5739 MB / 0.8081 GB, free: 45.86 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007735/2.042, allocations: 2.242 MB / 0.8103 GB, free: 45.74 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007463/2.043, allocations: 37.61 kB / 0.8103 GB, free: 45.74 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05515/2.098, allocations: 32.43 MB / 0.842 GB, free: 29.84 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/2.098, allocations: 5.781 kB / 0.842 GB, free: 29.84 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03005/2.128, allocations: 12.7 MB / 0.8544 GB, free: 28.3 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004117/2.132, allocations: 1.236 MB / 0.8556 GB, free: 28.04 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001964/2.135, allocations: 18.98 kB / 0.8556 GB, free: 28.04 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005296/2.14, allocations: 183.3 kB / 0.8558 GB, free: 28.04 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/2.141, allocations: 333.4 kB / 0.8561 GB, free: 28.03 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004514/2.142, allocations: 141.8 kB / 0.8562 GB, free: 28.03 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.006278/2.148, allocations: 2.879 MB / 0.859 GB, free: 27.24 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.009137/2.157, allocations: 1.709 MB / 0.8607 GB, free: 27.22 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000534/2.158, allocations: 392.6 kB / 0.8611 GB, free: 27.14 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.01477/2.173, allocations: 8.108 MB / 0.869 GB, free: 23.21 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 9.08e-06/2.173, allocations: 0 / 0.869 GB, free: 23.21 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01094/2.184, allocations: 5.464 MB / 0.8743 GB, free: 20.44 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008302/2.192, allocations: 1.123 MB / 0.8754 GB, free: 20.18 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04226/2.235, allocations: 15.73 MB / 0.8908 GB, free: 14.38 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01537/2.25, allocations: 6.862 MB / 0.8975 GB, free: 28.23 MB / 408.6 MB Notification: Performance of SimCode: time 2.654e-06/2.25, allocations: 0 / 0.8975 GB, free: 28.23 MB / 408.6 MB Notification: Performance of Templates: time 0.4178/2.668, allocations: 90.5 MB / 0.9859 GB, free: 58.76 MB / 408.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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_AIMS_Start_MultiPhase -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=29 -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.AIMS_Start_MultiPhase.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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.AIMS_Start_MultiPhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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.AIMS_Start_MultiPhase.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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.AIMS_Start_MultiPhase.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_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.AIMS_Start_MultiPhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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.AIMS_Start_MultiPhase.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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.AIMS_Start_MultiPhase.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_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.AIMS_Start_MultiPhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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.AIMS_Start_MultiPhase.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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_AIMS_Start_MultiPhase_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.AIMS_Start_MultiPhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6516:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_825(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6517:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_826(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6518:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_852(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6519:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_862(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6520:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_886(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.AIMS_Start_MultiPhase.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.o] Error 1