Notification: Performance of loadModel(Modelica): time 1.571/1.571, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.404e-05/1.418e-05, allocations: 1.5 kB / 247.3 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0658/0.06592, allocations: 44.36 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.336, allocations: 108.5 MB / 400.2 MB, free: 11.24 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.3364, allocations: 98.23 kB / 400.3 MB, free: 11.19 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2754/0.6119, allocations: 75.56 MB / 475.9 MB, free: 6.691 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002745/0.6122, allocations: 87.86 kB / 476 MB, free: 6.605 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01031/0.6226, allocations: 3.203 MB / 479.2 MB, free: 3.336 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.6227, allocations: 8.031 kB / 479.2 MB, free: 3.328 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004853/0.6276, allocations: 0.6045 MB / 479.8 MB, free: 2.719 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.6384, allocations: 3.12 MB / 482.9 MB, free: 15.54 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.6387, allocations: 100 kB / 483 MB, free: 15.44 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009801/0.6397, allocations: 187.9 kB / 483.2 MB, free: 15.26 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008737/0.6485, allocations: 3.129 MB / 486.3 MB, free: 12.12 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.659, allocations: 3.64 MB / 490 MB, free: 8.32 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.6593, allocations: 11.84 kB / 490 MB, free: 8.309 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.6604, allocations: 4 kB / 490 MB, free: 8.305 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/0.6607, allocations: 146.1 kB / 490.1 MB, free: 8.16 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/0.8125, allocations: 13.28 MB / 0.4916 GB, free: 113.3 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.8147, allocations: 1.114 MB / 0.4927 GB, free: 113.3 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002646/0.8175, allocations: 1.32 MB / 0.494 GB, free: 113.3 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007587/0.8252, allocations: 3.196 MB / 0.4971 GB, free: 112.8 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.8253, allocations: 51.09 kB / 0.4971 GB, free: 112.7 MB / 392.6 MB Notification: Performance of pre-optimization done (n=164): time 7.892e-06/0.8254, allocations: 5.078 kB / 0.4971 GB, free: 112.7 MB / 392.6 MB Notification: Performance of matching and sorting (n=168): time 0.01186/0.8373, allocations: 4.906 MB / 0.5019 GB, free: 111.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.8374, allocations: 92.83 kB / 0.502 GB, free: 111.7 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/0.8405, allocations: 1.409 MB / 0.5034 GB, free: 111.6 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.8409, allocations: 29.45 kB / 0.5034 GB, free: 111.6 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/0.8415, allocations: 1.149 MB / 0.5046 GB, free: 111.1 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005438/0.8421, allocations: 0.5401 MB / 0.5051 GB, free: 110.8 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.8423, allocations: 0 / 0.5051 GB, free: 110.8 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8425, allocations: 383.3 kB / 0.5054 GB, free: 110.5 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.8442, allocations: 0.8035 MB / 0.5062 GB, free: 110.5 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.8462, allocations: 1.319 MB / 0.5075 GB, free: 109.8 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.8487, allocations: 1.051 MB / 0.5085 GB, free: 109.8 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/0.8488, allocations: 7.344 kB / 0.5086 GB, free: 109.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006357/0.8552, allocations: 2.772 MB / 0.5113 GB, free: 109.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001238/0.8565, allocations: 6.524 MB / 0.5176 GB, free: 102.6 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.216e-05/0.8567, allocations: 17.09 kB / 0.5176 GB, free: 102.6 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.8585, allocations: 0.5238 MB / 0.5182 GB, free: 102.6 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.8609, allocations: 411.5 kB / 0.5185 GB, free: 102.6 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008906/0.8699, allocations: 6.883 MB / 0.5253 GB, free: 98.79 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.8725, allocations: 53.75 kB / 0.5253 GB, free: 98.79 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003706/0.873, allocations: 85.25 kB / 0.5254 GB, free: 98.79 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.8731, allocations: 3.688 kB / 0.5254 GB, free: 98.79 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006006/0.8791, allocations: 2.532 MB / 0.5279 GB, free: 98.61 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-05/0.8793, allocations: 18.72 kB / 0.5279 GB, free: 98.61 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.8809, allocations: 0.5225 MB / 0.5284 GB, free: 98.57 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.8832, allocations: 399 kB / 0.5288 GB, free: 98.57 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/0.8918, allocations: 6.884 MB / 0.5355 GB, free: 94.76 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.8941, allocations: 48.14 kB / 0.5356 GB, free: 94.76 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.8945, allocations: 77.5 kB / 0.5356 GB, free: 94.76 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.8948, allocations: 81.22 kB / 0.5357 GB, free: 94.68 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005189/0.8954, allocations: 202.6 kB / 0.5359 GB, free: 94.58 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/0.901, allocations: 2.611 MB / 0.5385 GB, free: 94.24 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.9011, allocations: 18.5 kB / 0.5385 GB, free: 94.24 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.9012, allocations: 2.438 kB / 0.5385 GB, free: 94.24 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/0.9013, allocations: 11.55 kB / 0.5385 GB, free: 94.23 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.9128, allocations: 5.4 MB / 0.5438 GB, free: 93.32 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.9129, allocations: 7.406 kB / 0.5438 GB, free: 93.32 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.9145, allocations: 219.4 kB / 0.544 GB, free: 93.31 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/0.9167, allocations: 0.6611 MB / 0.5446 GB, free: 93.09 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.917, allocations: 11.03 kB / 0.5446 GB, free: 93.08 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.9303, allocations: 10.65 MB / 0.555 GB, free: 84.86 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.752e-06/0.9304, allocations: 1.594 kB / 0.555 GB, free: 84.86 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007311/0.9378, allocations: 4.056 MB / 0.559 GB, free: 82.86 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.9393, allocations: 471 kB / 0.5594 GB, free: 82.55 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005817/0.94, allocations: 9.125 kB / 0.5595 GB, free: 82.55 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.9418, allocations: 51.58 kB / 0.5595 GB, free: 82.55 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.9422, allocations: 98.11 kB / 0.5596 GB, free: 82.53 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.9424, allocations: 44.16 kB / 0.5596 GB, free: 82.52 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001931/0.9443, allocations: 1.054 MB / 0.5607 GB, free: 82.08 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.0051/0.9495, allocations: 0.9928 MB / 0.5616 GB, free: 82.07 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004963/0.9501, allocations: 380 kB / 0.562 GB, free: 81.97 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.007752/0.9579, allocations: 4.254 MB / 0.5662 GB, free: 79.95 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.9581, allocations: 4 kB / 0.5662 GB, free: 79.94 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003554/0.9617, allocations: 1.707 MB / 0.5678 GB, free: 79.01 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/0.9652, allocations: 474.6 kB / 0.5683 GB, free: 78.91 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.9791, allocations: 4.872 MB / 0.573 GB, free: 76.98 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003817/0.983, allocations: 2.491 MB / 0.5755 GB, free: 75.92 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.9831, allocations: 0 / 0.5755 GB, free: 75.92 MB / 392.6 MB Notification: Performance of Templates: time 0.188/1.171, allocations: 45.59 MB / 0.62 GB, free: 43.66 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.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_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.o Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:510:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1008(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:510:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1008(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:511:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1009(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:511:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Braking_eqFunction_1009(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.c:512:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking.o] Error 1