Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.08e-06/9.149e-06, allocations: 1.469 kB / 247.3 MB, free: 4.711 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06192/0.062, allocations: 44.37 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2648/0.3269, allocations: 108.5 MB / 400.2 MB, free: 11.21 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.3272, allocations: 93.5 kB / 400.3 MB, free: 11.16 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2736/0.6009, allocations: 75.56 MB / 475.9 MB, free: 6.672 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002574/0.6013, allocations: 83.88 kB / 476 MB, free: 6.59 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01034/0.6117, allocations: 3.203 MB / 479.2 MB, free: 3.32 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6118, allocations: 8.031 kB / 479.2 MB, free: 3.312 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004716/0.6166, allocations: 0.6006 MB / 479.8 MB, free: 2.707 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.6273, allocations: 3.127 MB / 482.9 MB, free: 15.52 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.6276, allocations: 104 kB / 483 MB, free: 15.42 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009674/0.6286, allocations: 187.9 kB / 483.2 MB, free: 15.24 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008406/0.6371, allocations: 3.121 MB / 486.3 MB, free: 12.11 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009787/0.6469, allocations: 3.64 MB / 490 MB, free: 8.309 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.6471, allocations: 15.83 kB / 490 MB, free: 8.293 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003819/0.6476, allocations: 4 kB / 490 MB, free: 8.289 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.6478, allocations: 146.1 kB / 490.1 MB, free: 8.145 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1502/0.798, allocations: 13.28 MB / 0.4916 GB, free: 113.4 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.8003, allocations: 1.111 MB / 0.4927 GB, free: 113.4 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002627/0.8031, allocations: 1.325 MB / 0.494 GB, free: 113.4 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007865/0.811, allocations: 3.202 MB / 0.4971 GB, free: 112.9 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.8112, allocations: 51.38 kB / 0.4971 GB, free: 112.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=164): time 7.542e-06/0.8112, allocations: 0 / 0.4971 GB, free: 112.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=168): time 0.01202/0.8233, allocations: 4.9 MB / 0.5019 GB, free: 112 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.8234, allocations: 96.3 kB / 0.502 GB, free: 111.9 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.8264, allocations: 1.41 MB / 0.5034 GB, free: 111.7 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002785/0.8267, allocations: 29.55 kB / 0.5034 GB, free: 111.7 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000641/0.8274, allocations: 1.153 MB / 0.5046 GB, free: 111.2 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006045/0.8281, allocations: 0.5342 MB / 0.5051 GB, free: 110.9 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.8283, allocations: 0 / 0.5051 GB, free: 110.9 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.8285, allocations: 383.3 kB / 0.5054 GB, free: 110.6 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.8303, allocations: 0.8061 MB / 0.5062 GB, free: 110.6 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.8324, allocations: 1.328 MB / 0.5075 GB, free: 110 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/0.835, allocations: 1.049 MB / 0.5086 GB, free: 109.9 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/0.8351, allocations: 3.812 kB / 0.5086 GB, free: 109.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006596/0.8417, allocations: 2.771 MB / 0.5113 GB, free: 109.6 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001266/0.8431, allocations: 6.52 MB / 0.5176 GB, free: 102.7 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.775e-05/0.8433, allocations: 19.22 kB / 0.5176 GB, free: 102.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.8451, allocations: 0.5232 MB / 0.5182 GB, free: 102.7 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.8475, allocations: 411.4 kB / 0.5186 GB, free: 102.7 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008994/0.8566, allocations: 6.877 MB / 0.5253 GB, free: 98.91 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.8593, allocations: 56.52 kB / 0.5253 GB, free: 98.91 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003896/0.8598, allocations: 82.41 kB / 0.5254 GB, free: 98.91 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.8599, allocations: 3.969 kB / 0.5254 GB, free: 98.91 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005683/0.8656, allocations: 2.543 MB / 0.5279 GB, free: 98.73 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.509e-05/0.8658, allocations: 18.05 kB / 0.5279 GB, free: 98.73 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.8674, allocations: 0.5223 MB / 0.5284 GB, free: 98.7 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.8698, allocations: 401.3 kB / 0.5288 GB, free: 98.7 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008227/0.8781, allocations: 6.882 MB / 0.5355 GB, free: 94.89 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.8806, allocations: 35.31 kB / 0.5356 GB, free: 94.89 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/0.881, allocations: 85.98 kB / 0.5356 GB, free: 94.89 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.8813, allocations: 79.88 kB / 0.5357 GB, free: 94.82 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005318/0.8819, allocations: 198.3 kB / 0.5359 GB, free: 94.71 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005835/0.8878, allocations: 2.62 MB / 0.5385 GB, free: 94.37 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.8879, allocations: 17.22 kB / 0.5385 GB, free: 94.37 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.888, allocations: 3.344 kB / 0.5385 GB, free: 94.37 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/0.888, allocations: 7.594 kB / 0.5385 GB, free: 94.37 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.9001, allocations: 5.401 MB / 0.5438 GB, free: 93.41 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.9002, allocations: 2.938 kB / 0.5438 GB, free: 93.41 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.9019, allocations: 216.6 kB / 0.544 GB, free: 93.41 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/0.9042, allocations: 0.661 MB / 0.5446 GB, free: 93.18 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.9045, allocations: 14 kB / 0.5446 GB, free: 93.18 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.918, allocations: 10.65 MB / 0.555 GB, free: 84.95 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.543e-06/0.9181, allocations: 5.406 kB / 0.555 GB, free: 84.95 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007998/0.9262, allocations: 4.054 MB / 0.559 GB, free: 82.95 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.9277, allocations: 469.9 kB / 0.5594 GB, free: 82.64 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005351/0.9283, allocations: 11.47 kB / 0.5595 GB, free: 82.64 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.9302, allocations: 56.28 kB / 0.5595 GB, free: 82.64 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/0.9306, allocations: 95.53 kB / 0.5596 GB, free: 82.62 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.9308, allocations: 42.53 kB / 0.5596 GB, free: 82.61 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002218/0.9331, allocations: 1.054 MB / 0.5607 GB, free: 82.17 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.005672/0.9389, allocations: 0.9944 MB / 0.5616 GB, free: 82.16 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005055/0.9395, allocations: 376.7 kB / 0.562 GB, free: 82.05 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.00803/0.9476, allocations: 4.258 MB / 0.5662 GB, free: 80.03 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.94e-06/0.9477, allocations: 0 / 0.5662 GB, free: 80.03 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.00341/0.9512, allocations: 1.717 MB / 0.5678 GB, free: 79.09 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/0.9547, allocations: 469.9 kB / 0.5683 GB, free: 78.99 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.969, allocations: 4.862 MB / 0.573 GB, free: 77.07 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004298/0.9735, allocations: 2.496 MB / 0.5755 GB, free: 76 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.9736, allocations: 0 / 0.5755 GB, free: 76 MB / 392.6 MB Notification: Performance of Templates: time 0.1622/1.136, allocations: 45.58 MB / 0.62 GB, free: 43.67 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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_SMPM_Braking -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=10 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.o Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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.SMPM_Braking.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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.SMPM_Braking.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_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.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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.SMPM_Braking.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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.SMPM_Braking.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_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.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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.SMPM_Braking.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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_SMPM_Braking_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.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:510:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1008(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:510:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1008(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:511:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1009(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:511:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1009(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:512:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1010(DATA*,threadData_t*); ^ 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.SMPM_Braking.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.o] Error 1