Notification: Performance of loadModel(Modelica): time 1.476/1.476, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.288e-06, allocations: 1.438 kB / 247.9 MB, free: 4.164 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0604/0.06048, allocations: 44.36 MB / 292.3 MB, free: 8.707 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/0.3191, allocations: 109.1 MB / 401.4 MB, free: 10.49 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.3195, allocations: 94.31 kB / 401.5 MB, free: 10.45 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.8643/1.184, allocations: 218.3 MB / 0.6052 GB, free: 15.32 MB / 392.6 MB Notification: Performance of Transformations before backend: time 0.0007939/1.185, allocations: 251.1 kB / 0.6055 GB, free: 15.08 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.03264/1.217, allocations: 9.582 MB / 0.6148 GB, free: 5.422 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.218, allocations: 8.031 kB / 0.6149 GB, free: 5.414 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/1.235, allocations: 2.129 MB / 0.6169 GB, free: 3.27 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02758/1.263, allocations: 8.946 MB / 0.6257 GB, free: 10.36 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005332/1.263, allocations: 332 kB / 0.626 GB, free: 10.03 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00312/1.267, allocations: 0.5935 MB / 0.6266 GB, free: 9.438 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.216/1.483, allocations: 11.03 MB / 0.6373 GB, free: 31.66 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03723/1.52, allocations: 12.49 MB / 0.6495 GB, free: 30.57 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004087/1.52, allocations: 14.56 kB / 0.6495 GB, free: 30.57 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002883/1.523, allocations: 7.188 kB / 0.6496 GB, free: 30.57 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004109/1.524, allocations: 463.9 kB / 0.65 GB, free: 30.55 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09336/1.617, allocations: 42.5 MB / 0.6915 GB, free: 22.66 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006718/1.624, allocations: 3.429 MB / 0.6948 GB, free: 22.63 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01012/1.634, allocations: 4.989 MB / 0.6997 GB, free: 20.9 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03284/1.667, allocations: 12.9 MB / 0.7123 GB, free: 14.86 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.004e-05/1.667, allocations: 92.98 kB / 0.7124 GB, free: 14.78 MB / 408.6 MB Notification: Performance of pre-optimization done (n=507): time 1.313e-05/1.668, allocations: 0 / 0.7124 GB, free: 14.78 MB / 408.6 MB Notification: Performance of matching and sorting (n=513): time 0.0402/1.708, allocations: 15.24 MB / 0.7273 GB, free: 8.031 MB / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/1.708, allocations: 108.2 kB / 0.7274 GB, free: 7.961 MB / 408.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0085/1.717, allocations: 3.851 MB / 0.7312 GB, free: 6.508 MB / 408.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0008206/1.717, allocations: 32.98 kB / 0.7312 GB, free: 6.477 MB / 408.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.002186/1.72, allocations: 3.431 MB / 0.7345 GB, free: 4.051 MB / 408.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.001933/1.722, allocations: 1.634 MB / 0.7361 GB, free: 2.762 MB / 408.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006076/1.722, allocations: 0 / 0.7361 GB, free: 2.762 MB / 408.6 MB Notification: Performance of setup shared object (initialization): time 0.0004157/1.723, allocations: 0.5212 MB / 0.7366 GB, free: 2.359 MB / 408.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005349/1.728, allocations: 2.588 MB / 0.7392 GB, free: 1.316 MB / 408.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006515/1.735, allocations: 3.754 MB / 0.7428 GB, free: 14.91 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008561/1.744, allocations: 3.313 MB / 0.7461 GB, free: 13.62 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-05/1.744, allocations: 8.969 kB / 0.7461 GB, free: 13.62 MB / 424.6 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.024/1.768, allocations: 8.362 MB / 0.7542 GB, free: 10.37 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.768, allocations: 4.375 kB / 0.7542 GB, free: 10.37 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-05/1.768, allocations: 37.38 kB / 0.7543 GB, free: 10.37 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/1.773, allocations: 1.473 MB / 0.7557 GB, free: 9.871 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007025/1.781, allocations: 1.117 MB / 0.7568 GB, free: 9.113 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02905/1.81, allocations: 25.27 MB / 0.7815 GB, free: 120 kB / 440.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006186/1.816, allocations: 133.9 kB / 0.7816 GB, free: 20 kB / 440.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002709/1.819, allocations: 292.9 kB / 0.7819 GB, free: 0 / 440.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008395/1.82, allocations: 83.89 kB / 0.782 GB, free: 15.92 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/1.822, allocations: 0.5487 MB / 0.7825 GB, free: 15.37 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/1.844, allocations: 8.323 MB / 0.7906 GB, free: 8.262 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/1.844, allocations: 48 kB / 0.7907 GB, free: 8.215 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.614e-05/1.844, allocations: 28 kB / 0.7907 GB, free: 8.188 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.15e-05/1.844, allocations: 27.34 kB / 0.7907 GB, free: 8.188 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2471/2.092, allocations: 17.93 MB / 0.8082 GB, free: 72.79 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/2.092, allocations: 3.875 kB / 0.8082 GB, free: 72.79 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004001/2.096, allocations: 0.5767 MB / 0.8088 GB, free: 72.79 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00768/2.104, allocations: 2.24 MB / 0.811 GB, free: 72.69 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008347/2.105, allocations: 43.56 kB / 0.811 GB, free: 72.69 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04519/2.15, allocations: 32.42 MB / 0.8427 GB, free: 56.79 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.219e-06/2.15, allocations: 6.719 kB / 0.8427 GB, free: 56.79 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02669/2.177, allocations: 12.7 MB / 0.8551 GB, free: 55.24 MB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004233/2.181, allocations: 1.234 MB / 0.8563 GB, free: 55.15 MB / 456.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002185/2.183, allocations: 22.05 kB / 0.8563 GB, free: 55.15 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005329/2.189, allocations: 184.5 kB / 0.8565 GB, free: 55.15 MB / 456.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/2.19, allocations: 337.4 kB / 0.8568 GB, free: 55.14 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006925/2.191, allocations: 131.1 kB / 0.857 GB, free: 55.14 MB / 456.6 MB Notification: Performance of sort global known variables: time 0.006735/2.198, allocations: 2.876 MB / 0.8598 GB, free: 54.96 MB / 456.6 MB Notification: Performance of remove unused functions: time 0.009887/2.208, allocations: 1.713 MB / 0.8614 GB, free: 54.96 MB / 456.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005501/2.208, allocations: 392.8 kB / 0.8618 GB, free: 54.89 MB / 456.6 MB Notification: Performance of simCode: created initialization part: time 0.01578/2.224, allocations: 8.101 MB / 0.8697 GB, free: 53.18 MB / 456.6 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.224, allocations: 5.312 kB / 0.8697 GB, free: 53.18 MB / 456.6 MB Notification: Performance of simCode: created simulation system equations: time 0.01158/2.236, allocations: 5.461 MB / 0.8751 GB, free: 51.8 MB / 456.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00809/2.244, allocations: 1.118 MB / 0.8762 GB, free: 51.78 MB / 456.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04481/2.289, allocations: 15.74 MB / 0.8915 GB, free: 48.38 MB / 456.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01524/2.304, allocations: 6.857 MB / 0.8982 GB, free: 46.23 MB / 456.6 MB Notification: Performance of SimCode: time 2.934e-06/2.305, allocations: 3 kB / 0.8982 GB, free: 46.23 MB / 456.6 MB Notification: Performance of Templates: time 0.4563/2.761, allocations: 90.5 MB / 0.9866 GB, free: 70 MB / 456.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.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_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6516:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_825(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6517:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_826(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6518:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_852(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6519:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase_eqFunction_862(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.c:6520:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.o] Error 1