Notification: Performance of loadModel(Modelica): time 1.536/1.536, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.013e-05, allocations: 1.094 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06241/0.0625, allocations: 44.36 MB / 291.7 MB, free: 9.316 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.287, allocations: 74.12 MB / 365.8 MB, free: 6.969 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.2873, allocations: 69.36 kB / 365.9 MB, free: 6.965 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02866/0.316, allocations: 6.517 MB / 372.4 MB, free: 6.285 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3162, allocations: 7.875 kB / 372.4 MB, free: 6.281 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0008406/0.3171, allocations: 0.5327 MB / 372.9 MB, free: 5.824 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3172, allocations: 7.75 kB / 373 MB, free: 5.824 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.3173, allocations: 31.25 kB / 373 MB, free: 5.809 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.3178, allocations: 268.3 kB / 373.2 MB, free: 5.566 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3179, allocations: 7.719 kB / 373.3 MB, free: 5.566 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.318, allocations: 19.41 kB / 373.3 MB, free: 5.562 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004371/0.3185, allocations: 175.2 kB / 373.4 MB, free: 5.551 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.319, allocations: 188.4 kB / 373.6 MB, free: 5.488 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.319, allocations: 0 / 373.6 MB, free: 5.488 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.3191, allocations: 3.938 kB / 373.6 MB, free: 5.488 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3192, allocations: 3.844 kB / 373.6 MB, free: 5.488 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.3211, allocations: 0.9639 MB / 374.6 MB, free: 4.848 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.3215, allocations: 125.5 kB / 374.7 MB, free: 4.828 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.3218, allocations: 108.6 kB / 374.8 MB, free: 4.809 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.3219, allocations: 3.859 kB / 374.8 MB, free: 4.805 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.322, allocations: 38.31 kB / 374.9 MB, free: 4.766 MB / 296.6 MB Notification: Performance of pre-optimization done (n=23): time 3.911e-06/0.3221, allocations: 3.938 kB / 374.9 MB, free: 4.762 MB / 296.6 MB Notification: Performance of matching and sorting (n=34): time 0.004436/0.3265, allocations: 1.105 MB / 376 MB, free: 4.242 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.3267, allocations: 55.28 kB / 376 MB, free: 4.18 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.3269, allocations: 188 kB / 376.2 MB, free: 4.066 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.327, allocations: 25.7 kB / 376.2 MB, free: 4.035 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.3272, allocations: 160.5 kB / 376.4 MB, free: 3.895 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.3273, allocations: 115 kB / 376.5 MB, free: 3.809 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.3274, allocations: 0 / 376.5 MB, free: 3.809 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3276, allocations: 342.7 kB / 376.8 MB, free: 19.48 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3279, allocations: 88.09 kB / 376.9 MB, free: 19.48 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.3282, allocations: 144.1 kB / 377.1 MB, free: 19.42 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.3285, allocations: 116.3 kB / 377.2 MB, free: 19.4 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.632e-06/0.3286, allocations: 0 / 377.2 MB, free: 19.4 MB / 312.6 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001923/0.3305, allocations: 486.6 kB / 377.7 MB, free: 19.25 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3306, allocations: 3.875 kB / 377.7 MB, free: 19.25 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-06/0.3307, allocations: 0 / 377.7 MB, free: 19.25 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.3319, allocations: 197.5 kB / 377.9 MB, free: 19.18 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3323, allocations: 58.53 kB / 377.9 MB, free: 19.17 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.338, allocations: 3.571 MB / 381.5 MB, free: 16.4 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.3385, allocations: 11.77 kB / 381.5 MB, free: 16.4 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.3386, allocations: 19.39 kB / 381.5 MB, free: 16.39 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.3387, allocations: 75.28 kB / 381.6 MB, free: 16.32 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.3389, allocations: 27.41 kB / 381.6 MB, free: 16.3 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.547e-05/0.339, allocations: 38.05 kB / 381.7 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-06/0.3391, allocations: 3.906 kB / 381.7 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3391, allocations: 0 / 381.7 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-06/0.3392, allocations: 0 / 381.7 MB, free: 16.29 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.3416, allocations: 0.8653 MB / 382.5 MB, free: 15.83 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-06/0.3417, allocations: 0 / 382.5 MB, free: 15.83 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.3421, allocations: 38.94 kB / 382.6 MB, free: 15.82 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.3432, allocations: 195.9 kB / 382.8 MB, free: 15.76 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.3433, allocations: 3.844 kB / 382.8 MB, free: 15.76 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005322/0.3487, allocations: 3.573 MB / 386.3 MB, free: 12.98 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.937e-06/0.3488, allocations: 0 / 386.3 MB, free: 12.98 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002108/0.3509, allocations: 0.6794 MB / 387 MB, free: 12.71 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.3511, allocations: 104.6 kB / 387.1 MB, free: 12.59 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.3512, allocations: 3.938 kB / 387.1 MB, free: 12.59 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.3516, allocations: 7.688 kB / 387.1 MB, free: 12.59 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.3518, allocations: 23.31 kB / 387.1 MB, free: 12.58 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.3519, allocations: 11.58 kB / 387.2 MB, free: 12.57 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001431/0.3521, allocations: 144 kB / 387.3 MB, free: 12.49 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008449/0.353, allocations: 89.56 kB / 387.4 MB, free: 12.49 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001232/0.3532, allocations: 84.52 kB / 387.5 MB, free: 12.43 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0008771/0.3541, allocations: 471.4 kB / 387.9 MB, free: 12.21 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.632e-06/0.3542, allocations: 0 / 387.9 MB, free: 12.21 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.3547, allocations: 369.9 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.0003058/0.3551, allocations: 15.98 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.001353/0.3565, allocations: 479.1 kB / 388.8 MB, free: 11.72 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3569, allocations: 0.8049 MB / 389.6 MB, free: 10.96 MB / 312.6 MB Notification: Performance of SimCode: time 2.095e-06/0.357, allocations: 4 kB / 389.6 MB, free: 10.96 MB / 312.6 MB Notification: Performance of Templates: time 0.05272/0.4097, allocations: 5.541 MB / 395.1 MB, free: 8.188 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