Notification: Performance of loadModel(Modelica): time 1.516/1.516, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.939e-06/8.87e-06, allocations: 1.25 kB / 247.3 MB, free: 4.742 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0618/0.06188, allocations: 44.35 MB / 291.7 MB, free: 9.316 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.2883, allocations: 74.13 MB / 365.8 MB, free: 7.031 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.2886, allocations: 73.64 kB / 365.9 MB, free: 7.027 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02751/0.3162, allocations: 6.513 MB / 372.4 MB, free: 6.352 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.3163, allocations: 11.78 kB / 372.4 MB, free: 6.348 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0008137/0.3172, allocations: 0.53 MB / 372.9 MB, free: 5.891 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3173, allocations: 7.781 kB / 373 MB, free: 5.891 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.276e-05/0.3174, allocations: 31.12 kB / 373 MB, free: 5.875 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.3179, allocations: 269 kB / 373.2 MB, free: 5.633 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.318, allocations: 11.72 kB / 373.3 MB, free: 5.629 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.3181, allocations: 19.31 kB / 373.3 MB, free: 5.625 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004176/0.3185, allocations: 169.6 kB / 373.4 MB, free: 5.617 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.319, allocations: 191.6 kB / 373.6 MB, free: 5.555 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3191, allocations: 0 / 373.6 MB, free: 5.555 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.3192, allocations: 0 / 373.6 MB, free: 5.555 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3193, allocations: 7.594 kB / 373.6 MB, free: 5.555 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.3211, allocations: 0.9629 MB / 374.6 MB, free: 4.914 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.3214, allocations: 125.9 kB / 374.7 MB, free: 4.895 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.3217, allocations: 101 kB / 374.8 MB, free: 4.879 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.3218, allocations: 7.734 kB / 374.8 MB, free: 4.875 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3219, allocations: 34.25 kB / 374.9 MB, free: 4.836 MB / 296.6 MB Notification: Performance of pre-optimization done (n=23): time 4.19e-06/0.322, allocations: 11.8 kB / 374.9 MB, free: 4.828 MB / 296.6 MB Notification: Performance of matching and sorting (n=34): time 0.004374/0.3264, allocations: 1.098 MB / 376 MB, free: 4.309 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.3265, allocations: 57.97 kB / 376 MB, free: 4.246 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3268, allocations: 188.2 kB / 376.2 MB, free: 4.133 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3269, allocations: 25.7 kB / 376.2 MB, free: 4.102 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.327, allocations: 161.5 kB / 376.4 MB, free: 3.961 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.3272, allocations: 111.5 kB / 376.5 MB, free: 3.875 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.3273, allocations: 0 / 376.5 MB, free: 3.875 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3275, allocations: 348.2 kB / 376.8 MB, free: 19.55 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3278, allocations: 91.44 kB / 376.9 MB, free: 19.54 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.328, allocations: 141.4 kB / 377.1 MB, free: 19.48 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.3284, allocations: 113.1 kB / 377.2 MB, free: 19.46 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.213e-06/0.3284, allocations: 0 / 377.2 MB, free: 19.46 MB / 312.6 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001876/0.3304, allocations: 484 kB / 377.7 MB, free: 19.31 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3304, allocations: 7.844 kB / 377.7 MB, free: 19.31 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.15e-06/0.3305, allocations: 0 / 377.7 MB, free: 19.31 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3317, allocations: 201.8 kB / 377.9 MB, free: 19.25 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.3321, allocations: 54.66 kB / 377.9 MB, free: 19.23 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.3375, allocations: 3.57 MB / 381.5 MB, free: 16.46 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.338, allocations: 7.828 kB / 381.5 MB, free: 16.46 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.3381, allocations: 14.91 kB / 381.5 MB, free: 16.45 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.3382, allocations: 79.19 kB / 381.6 MB, free: 16.38 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.3384, allocations: 31.33 kB / 381.6 MB, free: 16.36 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.3385, allocations: 34.52 kB / 381.6 MB, free: 16.35 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-06/0.3386, allocations: 3.844 kB / 381.7 MB, free: 16.35 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.172e-06/0.3386, allocations: 0 / 381.7 MB, free: 16.35 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.635e-06/0.3387, allocations: 3.969 kB / 381.7 MB, free: 16.35 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.3413, allocations: 0.8615 MB / 382.5 MB, free: 15.89 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.448e-06/0.3414, allocations: 0 / 382.5 MB, free: 15.89 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.3418, allocations: 46.59 kB / 382.6 MB, free: 15.88 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.3429, allocations: 192.9 kB / 382.8 MB, free: 15.82 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.343, allocations: 0 / 382.8 MB, free: 15.82 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005426/0.3485, allocations: 3.572 MB / 386.3 MB, free: 13.04 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.3486, allocations: 3.812 kB / 386.3 MB, free: 13.04 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002309/0.351, allocations: 0.6777 MB / 387 MB, free: 12.76 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3512, allocations: 108.1 kB / 387.1 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.3513, allocations: 0 / 387.1 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.3517, allocations: 7.812 kB / 387.1 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.3518, allocations: 19.66 kB / 387.1 MB, free: 12.64 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.3519, allocations: 11.73 kB / 387.1 MB, free: 12.63 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001476/0.3521, allocations: 147.6 kB / 387.3 MB, free: 12.55 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000864/0.3531, allocations: 89.19 kB / 387.4 MB, free: 12.55 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001462/0.3533, allocations: 84.64 kB / 387.5 MB, free: 12.49 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0009741/0.3543, allocations: 472.5 kB / 387.9 MB, free: 12.27 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.3544, allocations: 0 / 387.9 MB, free: 12.27 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005483/0.355, allocations: 375.5 kB / 388.3 MB, free: 12.02 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3554, allocations: 12.39 kB / 388.3 MB, free: 12.02 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3568, allocations: 474.5 kB / 388.8 MB, free: 11.78 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.3572, allocations: 0.8035 MB / 389.6 MB, free: 11.02 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.3573, allocations: 4 kB / 389.6 MB, free: 11.02 MB / 312.6 MB Notification: Performance of Templates: time 0.03935/0.3967, allocations: 5.535 MB / 395.1 MB, free: 8.25 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