Notification: Performance of loadModel(Modelica): time 1.525/1.525, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.131e-05, allocations: 2.312 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06366/0.06375, allocations: 44.37 MB / 291.7 MB, free: 9.32 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2679/0.3318, allocations: 108.5 MB / 400.2 MB, free: 11.25 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.3321, allocations: 93.75 kB / 400.3 MB, free: 11.2 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2739/0.6061, allocations: 75.56 MB / 475.9 MB, free: 6.688 MB / 376.6 MB Notification: Performance of Transformations before backend: time 0.0002903/0.6065, allocations: 83.88 kB / 476 MB, free: 6.605 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01056/0.6171, allocations: 3.199 MB / 479.2 MB, free: 3.336 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.6172, allocations: 8.031 kB / 479.2 MB, free: 3.328 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/0.6223, allocations: 0.6006 MB / 479.8 MB, free: 2.723 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.6335, allocations: 3.131 MB / 482.9 MB, free: 15.54 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.6338, allocations: 100 kB / 483 MB, free: 15.44 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.6349, allocations: 191.8 kB / 483.2 MB, free: 15.25 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008812/0.6438, allocations: 3.125 MB / 486.3 MB, free: 12.12 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.6548, allocations: 3.64 MB / 490 MB, free: 8.32 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.655, allocations: 11.91 kB / 490 MB, free: 8.309 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005415/0.6556, allocations: 4 kB / 490 MB, free: 8.305 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.6558, allocations: 142.1 kB / 490.1 MB, free: 8.164 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1874/0.8433, allocations: 13.28 MB / 0.4916 GB, free: 37.89 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.8455, allocations: 1.112 MB / 0.4927 GB, free: 37.87 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.8482, allocations: 1.323 MB / 0.494 GB, free: 37.85 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007593/0.8558, allocations: 3.203 MB / 0.4971 GB, free: 37.37 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.856, allocations: 52.41 kB / 0.4971 GB, free: 37.33 MB / 392.6 MB Notification: Performance of pre-optimization done (n=164): time 7.752e-06/0.8561, allocations: 0 / 0.4971 GB, free: 37.33 MB / 392.6 MB Notification: Performance of matching and sorting (n=168): time 0.01212/0.8682, allocations: 4.898 MB / 0.5019 GB, free: 36.42 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.8684, allocations: 96.33 kB / 0.502 GB, free: 36.33 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.8711, allocations: 1.414 MB / 0.5034 GB, free: 36.16 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002574/0.8715, allocations: 29.67 kB / 0.5034 GB, free: 36.13 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/0.8722, allocations: 1.145 MB / 0.5045 GB, free: 35.64 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005375/0.8728, allocations: 0.5405 MB / 0.5051 GB, free: 35.34 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.873, allocations: 0 / 0.5051 GB, free: 35.34 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8732, allocations: 383.2 kB / 0.5054 GB, free: 35.04 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.8748, allocations: 0.8029 MB / 0.5062 GB, free: 35.04 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.8768, allocations: 1.326 MB / 0.5075 GB, free: 34.43 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.8793, allocations: 1.05 MB / 0.5085 GB, free: 34.41 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.8794, allocations: 7.125 kB / 0.5086 GB, free: 34.41 MB / 392.6 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006242/0.8857, allocations: 2.77 MB / 0.5113 GB, free: 34.11 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.887, allocations: 6.524 MB / 0.5176 GB, free: 27.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.427e-05/0.8871, allocations: 14.69 kB / 0.5176 GB, free: 27.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.8889, allocations: 0.5217 MB / 0.5182 GB, free: 27.17 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.8913, allocations: 402.9 kB / 0.5185 GB, free: 27.17 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008457/0.8999, allocations: 6.676 MB / 0.5251 GB, free: 23.45 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/0.9023, allocations: 53.67 kB / 0.5251 GB, free: 23.45 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003693/0.9027, allocations: 86.03 kB / 0.5252 GB, free: 23.45 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.9028, allocations: 3.531 kB / 0.5252 GB, free: 23.45 MB / 392.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005672/0.9085, allocations: 2.535 MB / 0.5277 GB, free: 23.27 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.629e-05/0.9087, allocations: 18.08 kB / 0.5277 GB, free: 23.27 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.9104, allocations: 0.5235 MB / 0.5282 GB, free: 23.24 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.9127, allocations: 409 kB / 0.5286 GB, free: 23.24 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/0.9212, allocations: 6.665 MB / 0.5351 GB, free: 19.51 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.9237, allocations: 41.34 kB / 0.5351 GB, free: 19.51 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/0.9241, allocations: 77.12 kB / 0.5352 GB, free: 19.51 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.9244, allocations: 77.81 kB / 0.5353 GB, free: 19.44 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.925, allocations: 201 kB / 0.5355 GB, free: 19.33 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005876/0.9309, allocations: 2.626 MB / 0.538 GB, free: 18.99 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.931, allocations: 17.92 kB / 0.5381 GB, free: 18.99 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.9311, allocations: 11.25 kB / 0.5381 GB, free: 18.99 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.9312, allocations: 7.828 kB / 0.5381 GB, free: 18.99 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.9431, allocations: 5.392 MB / 0.5433 GB, free: 18.23 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.9432, allocations: 6.969 kB / 0.5433 GB, free: 18.23 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.9449, allocations: 217.7 kB / 0.5436 GB, free: 18.23 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.9474, allocations: 0.6546 MB / 0.5442 GB, free: 18.19 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/0.9477, allocations: 19.27 kB / 0.5442 GB, free: 18.19 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/0.9609, allocations: 10.45 MB / 0.5544 GB, free: 10.78 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.892e-06/0.961, allocations: 3.875 kB / 0.5544 GB, free: 10.78 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007741/0.9688, allocations: 4.061 MB / 0.5584 GB, free: 24.77 MB / 408.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.9702, allocations: 473 kB / 0.5588 GB, free: 24.46 MB / 408.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005135/0.9708, allocations: 7.906 kB / 0.5588 GB, free: 24.46 MB / 408.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.9726, allocations: 52.73 kB / 0.5589 GB, free: 24.46 MB / 408.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.9729, allocations: 98.86 kB / 0.559 GB, free: 24.44 MB / 408.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.9731, allocations: 48.33 kB / 0.559 GB, free: 24.43 MB / 408.6 MB Notification: Performance of sort global known variables: time 0.001944/0.9751, allocations: 1.05 MB / 0.5601 GB, free: 23.99 MB / 408.6 MB Notification: Performance of remove unused functions: time 0.005054/0.9802, allocations: 0.9906 MB / 0.561 GB, free: 23.98 MB / 408.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000536/0.9808, allocations: 371.1 kB / 0.5614 GB, free: 23.88 MB / 408.6 MB Notification: Performance of simCode: created initialization part: time 0.007394/0.9883, allocations: 4.217 MB / 0.5655 GB, free: 21.88 MB / 408.6 MB Notification: Performance of simCode: created event and clocks part: time 7.542e-06/0.9884, allocations: 3.938 kB / 0.5655 GB, free: 21.88 MB / 408.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003105/0.9916, allocations: 1.701 MB / 0.5672 GB, free: 20.95 MB / 408.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/0.9949, allocations: 475.8 kB / 0.5676 GB, free: 20.84 MB / 408.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.007, allocations: 4.856 MB / 0.5724 GB, free: 18.91 MB / 408.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/1.011, allocations: 2.493 MB / 0.5748 GB, free: 17.84 MB / 408.6 MB Notification: Performance of SimCode: time 2.584e-06/1.011, allocations: 2.719 kB / 0.5748 GB, free: 17.84 MB / 408.6 MB Notification: Performance of Templates: time 0.1517/1.163, allocations: 45.43 MB / 0.6192 GB, free: 9.168 MB / 408.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