Notification: Performance of loadModel(Modelica): time 1.505/1.505, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.634e-05, allocations: 1.156 kB / 247.3 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09244, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/0.3421, allocations: 74.12 MB / 365.8 MB, free: 6.93 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3424, allocations: 77.98 kB / 365.9 MB, free: 6.926 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02863/0.3711, allocations: 6.511 MB / 372.4 MB, free: 6.246 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.3713, allocations: 7.75 kB / 372.4 MB, free: 6.246 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0008373/0.3721, allocations: 0.5341 MB / 372.9 MB, free: 5.789 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3723, allocations: 11.16 kB / 373 MB, free: 5.789 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.3724, allocations: 31.03 kB / 373 MB, free: 5.773 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.3729, allocations: 264.4 kB / 373.2 MB, free: 5.531 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.373, allocations: 11.84 kB / 373.3 MB, free: 5.527 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.3731, allocations: 19.44 kB / 373.3 MB, free: 5.523 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004534/0.3736, allocations: 171.1 kB / 373.4 MB, free: 5.516 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.3741, allocations: 187.7 kB / 373.6 MB, free: 5.453 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3742, allocations: 0 / 373.6 MB, free: 5.453 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.3743, allocations: 0 / 373.6 MB, free: 5.453 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.3743, allocations: 7.812 kB / 373.6 MB, free: 5.453 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.3762, allocations: 0.9636 MB / 374.6 MB, free: 4.812 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.3766, allocations: 125.7 kB / 374.7 MB, free: 4.793 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.3769, allocations: 101 kB / 374.8 MB, free: 4.777 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.377, allocations: 11.48 kB / 374.8 MB, free: 4.773 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3771, allocations: 46.25 kB / 374.9 MB, free: 4.727 MB / 296.6 MB Notification: Performance of pre-optimization done (n=23): time 3.631e-06/0.3772, allocations: 0 / 374.9 MB, free: 4.727 MB / 296.6 MB Notification: Performance of matching and sorting (n=34): time 0.004588/0.3818, allocations: 1.097 MB / 376 MB, free: 4.211 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.382, allocations: 59.25 kB / 376 MB, free: 4.145 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.3823, allocations: 185.9 kB / 376.2 MB, free: 4.031 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.3824, allocations: 25.7 kB / 376.2 MB, free: 4 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.3825, allocations: 164.2 kB / 376.4 MB, free: 3.859 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.3826, allocations: 113.8 kB / 376.5 MB, free: 3.773 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.3827, allocations: 0 / 376.5 MB, free: 3.773 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3829, allocations: 339.8 kB / 376.8 MB, free: 19.45 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.3832, allocations: 88.56 kB / 376.9 MB, free: 19.45 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.3835, allocations: 144.5 kB / 377.1 MB, free: 19.39 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3838, allocations: 112.7 kB / 377.2 MB, free: 19.37 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-06/0.3839, allocations: 0 / 377.2 MB, free: 19.37 MB / 312.6 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001986/0.3859, allocations: 485.1 kB / 377.7 MB, free: 19.22 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3861, allocations: 7.781 kB / 377.7 MB, free: 19.22 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3861, allocations: 0 / 377.7 MB, free: 19.22 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.3873, allocations: 197.4 kB / 377.9 MB, free: 19.15 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.3878, allocations: 62.78 kB / 377.9 MB, free: 19.14 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/0.3935, allocations: 3.572 MB / 381.5 MB, free: 16.37 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.394, allocations: 7.859 kB / 381.5 MB, free: 16.36 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3941, allocations: 15.12 kB / 381.5 MB, free: 16.36 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.3942, allocations: 75.28 kB / 381.6 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.3944, allocations: 31.31 kB / 381.6 MB, free: 16.27 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.3945, allocations: 34.86 kB / 381.6 MB, free: 16.26 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.425e-06/0.3946, allocations: 7.891 kB / 381.7 MB, free: 16.25 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.59e-06/0.3947, allocations: 3.875 kB / 381.7 MB, free: 16.25 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.914e-06/0.3947, allocations: 0 / 381.7 MB, free: 16.25 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.3972, allocations: 0.8582 MB / 382.5 MB, free: 15.8 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-06/0.3973, allocations: 0 / 382.5 MB, free: 15.8 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.3976, allocations: 46.28 kB / 382.6 MB, free: 15.79 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.3988, allocations: 192.6 kB / 382.8 MB, free: 15.73 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3989, allocations: 0 / 382.8 MB, free: 15.73 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/0.4043, allocations: 3.574 MB / 386.3 MB, free: 12.95 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.426e-06/0.4044, allocations: 480 / 386.3 MB, free: 12.95 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002339/0.4068, allocations: 0.6847 MB / 387 MB, free: 12.67 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 8.94e-05/0.407, allocations: 108 kB / 387.1 MB, free: 12.56 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.4071, allocations: 4.062 kB / 387.1 MB, free: 12.55 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.4076, allocations: 11.72 kB / 387.1 MB, free: 12.55 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.4077, allocations: 15.75 kB / 387.1 MB, free: 12.54 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.4078, allocations: 11.17 kB / 387.2 MB, free: 12.54 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001493/0.408, allocations: 148 kB / 387.3 MB, free: 12.46 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008523/0.4089, allocations: 85.72 kB / 387.4 MB, free: 12.46 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.4091, allocations: 84.97 kB / 387.5 MB, free: 12.39 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.4101, allocations: 475.4 kB / 387.9 MB, free: 12.17 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4102, allocations: 0 / 387.9 MB, free: 12.17 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.4108, allocations: 359.9 kB / 388.3 MB, free: 11.94 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.4112, allocations: 19.64 kB / 388.3 MB, free: 11.93 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4125, allocations: 485.9 kB / 388.8 MB, free: 11.68 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.4129, allocations: 0.8049 MB / 389.6 MB, free: 10.93 MB / 312.6 MB Notification: Performance of SimCode: time 1.955e-06/0.413, allocations: 0 / 389.6 MB, free: 10.93 MB / 312.6 MB Notification: Performance of Templates: time 0.04062/0.4537, allocations: 5.541 MB / 395.1 MB, free: 8.148 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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_FluxTubes_Examples_SaturatedInductor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.o Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_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.FluxTubes.Examples.SaturatedInductor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_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.FluxTubes.Examples.SaturatedInductor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.FluxTubes.Examples.SaturatedInductor.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_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.FluxTubes.Examples.SaturatedInductor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:162:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_72(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:162:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_72(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:163:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_73(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:163:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_73(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:164:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_74(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.FluxTubes.Examples.SaturatedInductor.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.o] Error 1