Notification: Performance of loadModel(Modelica): time 1.497/1.497, allocations: 194.5 MB / 200.7 MB, free: 5.148 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.124e-05, allocations: 2.156 kB / 247.3 MB, free: 4.734 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06301/0.06309, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2647/0.3279, allocations: 108.5 MB / 400.2 MB, free: 11.21 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.3282, allocations: 93.44 kB / 400.3 MB, free: 11.17 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2769/0.6052, allocations: 75.56 MB / 475.9 MB, free: 6.641 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002913/0.6056, allocations: 83.92 kB / 476 MB, free: 6.559 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01087/0.6165, allocations: 3.192 MB / 479.2 MB, free: 3.301 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6167, allocations: 12.03 kB / 479.2 MB, free: 3.289 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/0.6215, allocations: 0.6045 MB / 479.8 MB, free: 2.68 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.6323, allocations: 3.135 MB / 482.9 MB, free: 15.49 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.6326, allocations: 100 kB / 483 MB, free: 15.39 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/0.6339, allocations: 183.9 kB / 483.2 MB, free: 15.21 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008531/0.6425, allocations: 3.132 MB / 486.3 MB, free: 12.07 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.6527, allocations: 3.64 MB / 490 MB, free: 8.266 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.6529, allocations: 7.906 kB / 490 MB, free: 8.258 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004029/0.6534, allocations: 7.984 kB / 490 MB, free: 8.25 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.6536, allocations: 142.1 kB / 490.1 MB, free: 8.109 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.155/0.8087, allocations: 13.28 MB / 0.4916 GB, free: 113.2 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.8111, allocations: 1.115 MB / 0.4927 GB, free: 113.2 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/0.8139, allocations: 1.32 MB / 0.494 GB, free: 113.2 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008114/0.8221, allocations: 3.206 MB / 0.4971 GB, free: 112.7 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.8223, allocations: 49.69 kB / 0.4971 GB, free: 112.7 MB / 392.6 MB Notification: Performance of pre-optimization done (n=164): time 8.171e-06/0.8224, allocations: 1.969 kB / 0.4971 GB, free: 112.7 MB / 392.6 MB Notification: Performance of matching and sorting (n=168): time 0.01211/0.8345, allocations: 4.899 MB / 0.5019 GB, free: 111.8 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.8347, allocations: 97.36 kB / 0.502 GB, free: 111.7 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/0.8376, allocations: 1.413 MB / 0.5034 GB, free: 111.5 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002754/0.838, allocations: 29.33 kB / 0.5034 GB, free: 111.5 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006689/0.8387, allocations: 1.151 MB / 0.5046 GB, free: 111 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006128/0.8394, allocations: 0.5384 MB / 0.5051 GB, free: 110.7 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.8396, allocations: 0 / 0.5051 GB, free: 110.7 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8398, allocations: 381.7 kB / 0.5054 GB, free: 110.4 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.8416, allocations: 0.8059 MB / 0.5062 GB, free: 110.4 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.8437, allocations: 1.319 MB / 0.5075 GB, free: 109.8 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.8463, allocations: 1.049 MB / 0.5085 GB, free: 109.8 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/0.8464, allocations: 5.656 kB / 0.5086 GB, free: 109.8 MB / 392.6 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006636/0.8531, allocations: 2.775 MB / 0.5113 GB, free: 109.5 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001275/0.8545, allocations: 6.526 MB / 0.5176 GB, free: 102.6 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.322e-05/0.8547, allocations: 15.19 kB / 0.5176 GB, free: 102.6 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.8564, allocations: 0.5204 MB / 0.5182 GB, free: 102.5 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.8589, allocations: 406 kB / 0.5185 GB, free: 102.5 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008597/0.8676, allocations: 6.672 MB / 0.5251 GB, free: 98.81 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.8702, allocations: 50.11 kB / 0.5251 GB, free: 98.8 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003945/0.8707, allocations: 85.34 kB / 0.5252 GB, free: 98.8 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8708, allocations: 3.875 kB / 0.5252 GB, free: 98.8 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006001/0.8769, allocations: 2.54 MB / 0.5277 GB, free: 98.63 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.755e-05/0.877, allocations: 17.16 kB / 0.5277 GB, free: 98.63 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.8788, allocations: 0.5299 MB / 0.5282 GB, free: 98.59 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.8813, allocations: 397 kB / 0.5286 GB, free: 98.59 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008409/0.8898, allocations: 6.669 MB / 0.5351 GB, free: 94.88 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.8922, allocations: 43.66 kB / 0.5351 GB, free: 94.87 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/0.8928, allocations: 75.81 kB / 0.5352 GB, free: 94.87 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.893, allocations: 78.84 kB / 0.5353 GB, free: 94.8 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005627/0.8937, allocations: 198.2 kB / 0.5355 GB, free: 94.7 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/0.8997, allocations: 2.621 MB / 0.538 GB, free: 94.35 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.8998, allocations: 19.22 kB / 0.5381 GB, free: 94.35 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.8999, allocations: 3.688 kB / 0.5381 GB, free: 94.35 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/0.9, allocations: 7.359 kB / 0.5381 GB, free: 94.35 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.9123, allocations: 5.397 MB / 0.5433 GB, free: 93.54 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.9124, allocations: 0 / 0.5433 GB, free: 93.54 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.9139, allocations: 223.1 kB / 0.5435 GB, free: 93.54 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.9162, allocations: 0.6689 MB / 0.5442 GB, free: 93.3 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/0.9165, allocations: 14.84 kB / 0.5442 GB, free: 93.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.9288, allocations: 10.44 MB / 0.5544 GB, free: 85.22 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-06/0.9289, allocations: 10.28 kB / 0.5544 GB, free: 85.22 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007606/0.9366, allocations: 4.05 MB / 0.5584 GB, free: 83.21 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.9381, allocations: 475.6 kB / 0.5588 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005288/0.9387, allocations: 7.484 kB / 0.5588 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.9404, allocations: 52.42 kB / 0.5589 GB, free: 82.9 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.9408, allocations: 99.23 kB / 0.559 GB, free: 82.89 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.941, allocations: 43 kB / 0.559 GB, free: 82.88 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001974/0.9431, allocations: 1.06 MB / 0.5601 GB, free: 82.43 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.004959/0.9481, allocations: 0.9862 MB / 0.561 GB, free: 82.42 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004914/0.9487, allocations: 368.7 kB / 0.5614 GB, free: 82.32 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.007865/0.9567, allocations: 4.222 MB / 0.5655 GB, free: 80.31 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.242e-06/0.9568, allocations: 1.844 kB / 0.5655 GB, free: 80.31 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.9603, allocations: 1.694 MB / 0.5672 GB, free: 79.39 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.9638, allocations: 479.4 kB / 0.5676 GB, free: 79.29 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.9775, allocations: 4.867 MB / 0.5724 GB, free: 77.39 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003953/0.9816, allocations: 2.492 MB / 0.5748 GB, free: 76.32 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.9817, allocations: 4 kB / 0.5748 GB, free: 76.32 MB / 392.6 MB Notification: Performance of Templates: time 0.1453/1.127, allocations: 45.44 MB / 0.6192 GB, free: 44.39 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