Notification: Performance of loadModel(Modelica): time 1.473/1.473, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.45e-06/8.521e-06, allocations: 1.438 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06235/0.06243, allocations: 44.36 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.2884, allocations: 74.12 MB / 365.8 MB, free: 6.934 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.2887, allocations: 77.33 kB / 365.9 MB, free: 6.93 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02814/0.3169, allocations: 6.511 MB / 372.4 MB, free: 6.289 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.3171, allocations: 7.656 kB / 372.4 MB, free: 6.289 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0008387/0.318, allocations: 0.5331 MB / 372.9 MB, free: 5.832 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3181, allocations: 7.844 kB / 373 MB, free: 5.832 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.3182, allocations: 34.91 kB / 373 MB, free: 5.816 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.3187, allocations: 262.9 kB / 373.2 MB, free: 5.574 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3187, allocations: 11.41 kB / 373.3 MB, free: 5.574 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.3189, allocations: 19.25 kB / 373.3 MB, free: 5.57 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00045/0.3194, allocations: 170.1 kB / 373.4 MB, free: 5.559 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.3199, allocations: 200.3 kB / 373.6 MB, free: 5.492 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3199, allocations: 0 / 373.6 MB, free: 5.492 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.32, allocations: 0 / 373.6 MB, free: 5.492 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3201, allocations: 7.688 kB / 373.6 MB, free: 5.492 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.322, allocations: 0.9558 MB / 374.6 MB, free: 4.855 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.3224, allocations: 136.2 kB / 374.7 MB, free: 4.828 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.3227, allocations: 98.44 kB / 374.8 MB, free: 4.816 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3228, allocations: 3.859 kB / 374.8 MB, free: 4.812 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3228, allocations: 41.44 kB / 374.9 MB, free: 4.77 MB / 296.6 MB Notification: Performance of pre-optimization done (n=23): time 4.539e-06/0.3229, allocations: 4 kB / 374.9 MB, free: 4.766 MB / 296.6 MB Notification: Performance of matching and sorting (n=34): time 0.00449/0.3274, allocations: 1.093 MB / 376 MB, free: 4.254 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3276, allocations: 59.25 kB / 376 MB, free: 4.188 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3279, allocations: 194.2 kB / 376.2 MB, free: 4.07 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.3279, allocations: 29.7 kB / 376.2 MB, free: 4.035 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.3281, allocations: 160.9 kB / 376.4 MB, free: 3.895 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.3282, allocations: 109.6 kB / 376.5 MB, free: 3.812 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.3283, allocations: 0 / 376.5 MB, free: 3.812 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3285, allocations: 339.1 kB / 376.8 MB, free: 19.49 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3287, allocations: 91.89 kB / 376.9 MB, free: 19.48 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.329, allocations: 144.9 kB / 377.1 MB, free: 19.42 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.3294, allocations: 106.9 kB / 377.2 MB, free: 19.41 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-06/0.3294, allocations: 0 / 377.2 MB, free: 19.41 MB / 312.6 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001936/0.3314, allocations: 491.6 kB / 377.7 MB, free: 19.25 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3315, allocations: 7.719 kB / 377.7 MB, free: 19.25 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3316, allocations: 0 / 377.7 MB, free: 19.25 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.3327, allocations: 198.2 kB / 377.9 MB, free: 19.19 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.3332, allocations: 50.81 kB / 377.9 MB, free: 19.18 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005528/0.3388, allocations: 3.579 MB / 381.5 MB, free: 16.4 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.3393, allocations: 4.062 kB / 381.5 MB, free: 16.4 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.3394, allocations: 11.77 kB / 381.5 MB, free: 16.4 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.3396, allocations: 79.22 kB / 381.6 MB, free: 16.32 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.3397, allocations: 31.28 kB / 381.6 MB, free: 16.3 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.3399, allocations: 33.5 kB / 381.6 MB, free: 16.3 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.3399, allocations: 11.94 kB / 381.7 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.34, allocations: 3.844 kB / 381.7 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.101e-06/0.3401, allocations: 3.984 kB / 381.7 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.3427, allocations: 0.8506 MB / 382.5 MB, free: 15.84 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.101e-06/0.3429, allocations: 3.984 kB / 382.5 MB, free: 15.84 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3432, allocations: 43.09 kB / 382.6 MB, free: 15.82 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.3444, allocations: 192.7 kB / 382.7 MB, free: 15.76 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3445, allocations: 11.89 kB / 382.8 MB, free: 15.75 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.3501, allocations: 3.559 MB / 386.3 MB, free: 12.99 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.682e-06/0.3502, allocations: 3.875 kB / 386.3 MB, free: 12.99 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002251/0.3525, allocations: 0.6801 MB / 387 MB, free: 12.71 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.3528, allocations: 100.5 kB / 387.1 MB, free: 12.6 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.3529, allocations: 0 / 387.1 MB, free: 12.6 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.3533, allocations: 15.83 kB / 387.1 MB, free: 12.59 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.3534, allocations: 22.67 kB / 387.1 MB, free: 12.58 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.3535, allocations: 11.19 kB / 387.1 MB, free: 12.58 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001544/0.3537, allocations: 152.2 kB / 387.3 MB, free: 12.49 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008785/0.3546, allocations: 89.34 kB / 387.4 MB, free: 12.49 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001318/0.3548, allocations: 84.48 kB / 387.5 MB, free: 12.43 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0009538/0.3559, allocations: 468.3 kB / 387.9 MB, free: 12.21 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3559, allocations: 320 / 387.9 MB, free: 12.21 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.3565, allocations: 370.5 kB / 388.3 MB, free: 11.97 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3569, allocations: 13.95 kB / 388.3 MB, free: 11.96 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3584, allocations: 479.3 kB / 388.8 MB, free: 11.72 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.3587, allocations: 0.801 MB / 389.6 MB, free: 10.96 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.3588, allocations: 0 / 389.6 MB, free: 10.96 MB / 312.6 MB Notification: Performance of Templates: time 0.04044/0.3993, allocations: 5.544 MB / 395.1 MB, free: 8.184 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:162:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_72(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:162:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_72(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:163:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_73(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:163:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_eqFunction_73(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.c:164:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.o] Error 1