Notification: Performance of loadModel(Modelica): time 1.561/1.561, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.01e-06/9.149e-06, allocations: 1.375 kB / 247.3 MB, free: 4.758 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06082/0.06089, allocations: 44.36 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2352/0.2963, allocations: 81.08 MB / 372.8 MB, free: 6.82 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.2966, allocations: 88.34 kB / 372.9 MB, free: 6.805 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.04056/0.3373, allocations: 8.856 MB / 381.7 MB, free: 3.895 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.3374, allocations: 7.719 kB / 381.7 MB, free: 3.891 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001232/0.3387, allocations: 0.5862 MB / 382.3 MB, free: 3.414 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3388, allocations: 7.75 kB / 382.3 MB, free: 3.414 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.339, allocations: 38.91 kB / 382.4 MB, free: 3.395 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.3396, allocations: 322.8 kB / 382.7 MB, free: 3.141 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.3398, allocations: 45.73 kB / 382.7 MB, free: 3.105 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.34, allocations: 23.64 kB / 382.7 MB, free: 3.102 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006149/0.3407, allocations: 248 kB / 383 MB, free: 3.07 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.3413, allocations: 260.9 kB / 383.2 MB, free: 2.965 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3414, allocations: 0 / 383.2 MB, free: 2.965 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.3415, allocations: 3.875 kB / 383.2 MB, free: 2.965 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3416, allocations: 3.875 kB / 383.3 MB, free: 2.965 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.3438, allocations: 1.117 MB / 384.4 MB, free: 2.242 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.3443, allocations: 185.6 kB / 384.5 MB, free: 2.188 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.3447, allocations: 132.7 kB / 384.7 MB, free: 2.168 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3448, allocations: 3.875 kB / 384.7 MB, free: 2.168 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3448, allocations: 47.28 kB / 384.7 MB, free: 2.121 MB / 296.6 MB Notification: Performance of pre-optimization done (n=31): time 4.4e-06/0.3449, allocations: 0 / 384.7 MB, free: 2.121 MB / 296.6 MB Notification: Performance of matching and sorting (n=42): time 0.0099/0.3549, allocations: 1.912 MB / 386.6 MB, free: 1.414 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.355, allocations: 90.28 kB / 386.7 MB, free: 1.312 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.3555, allocations: 246.3 kB / 387 MB, free: 1.199 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.3557, allocations: 25.7 kB / 387 MB, free: 1.168 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.356, allocations: 147 kB / 387.1 MB, free: 17.04 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3562, allocations: 137.2 kB / 387.3 MB, free: 16.92 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3563, allocations: 1.5 kB / 387.3 MB, free: 16.92 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.3564, allocations: 337.9 kB / 387.6 MB, free: 16.6 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.3568, allocations: 138.3 kB / 387.7 MB, free: 16.59 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.3572, allocations: 184.8 kB / 387.9 MB, free: 16.54 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.3577, allocations: 156.1 kB / 388.1 MB, free: 16.51 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3577, allocations: 1.344 kB / 388.1 MB, free: 16.51 MB / 312.6 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.008505/0.3663, allocations: 1.457 MB / 389.5 MB, free: 16.12 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3664, allocations: 5.156 kB / 389.5 MB, free: 16.12 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3665, allocations: 1.281 kB / 389.5 MB, free: 16.12 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00787/0.3744, allocations: 1.045 MB / 390.6 MB, free: 15.87 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.375, allocations: 67.23 kB / 390.6 MB, free: 15.86 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.3893, allocations: 4.197 MB / 394.8 MB, free: 13.98 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/0.3901, allocations: 38.92 kB / 394.9 MB, free: 13.97 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.3902, allocations: 14.45 kB / 394.9 MB, free: 13.96 MB / 312.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.3904, allocations: 80.44 kB / 395 MB, free: 13.89 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3906, allocations: 33.2 kB / 395 MB, free: 13.87 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.3927, allocations: 0.5589 MB / 395.6 MB, free: 13.71 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.3928, allocations: 9.5 kB / 395.6 MB, free: 13.71 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-06/0.3928, allocations: 1.5 kB / 395.6 MB, free: 13.71 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3929, allocations: 3.984 kB / 395.6 MB, free: 13.7 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.397, allocations: 1.144 MB / 396.7 MB, free: 13.2 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.3971, allocations: 1.25 kB / 396.7 MB, free: 13.2 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.3979, allocations: 100.2 kB / 396.8 MB, free: 13.18 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.3999, allocations: 263.8 kB / 397.1 MB, free: 13.08 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/0.4001, allocations: 10.08 kB / 397.1 MB, free: 13.08 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.4045, allocations: 2.037 MB / 399.1 MB, free: 11.64 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.892e-06/0.4046, allocations: 9.703 kB / 399.1 MB, free: 11.63 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002463/0.4071, allocations: 0.9018 MB / 400 MB, free: 11.29 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.4075, allocations: 142.8 kB / 400.2 MB, free: 11.17 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.4076, allocations: 5.938 kB / 400.2 MB, free: 11.17 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/0.4084, allocations: 30.97 kB / 400.2 MB, free: 11.16 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4085, allocations: 35.14 kB / 400.2 MB, free: 11.14 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.4087, allocations: 13.12 kB / 400.3 MB, free: 11.14 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002628/0.409, allocations: 198.4 kB / 400.5 MB, free: 11.05 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0009629/0.41, allocations: 127.1 kB / 400.6 MB, free: 11.04 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/0.4103, allocations: 116.2 kB / 400.7 MB, free: 10.96 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.4117, allocations: 479 kB / 401.2 MB, free: 10.82 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4118, allocations: 0.9688 kB / 401.2 MB, free: 10.82 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.4125, allocations: 317.8 kB / 401.5 MB, free: 10.7 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.4131, allocations: 34.19 kB / 401.5 MB, free: 10.68 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.4153, allocations: 0.7163 MB / 402.2 MB, free: 10.26 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.416, allocations: 0.8267 MB / 403 MB, free: 9.5 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4161, allocations: 4 kB / 403.1 MB, free: 9.496 MB / 312.6 MB Notification: Performance of Templates: time 0.06042/0.4766, allocations: 7.913 MB / 411 MB, free: 2.258 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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_Hysteresis_InductorWithHysteresis -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_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.Hysteresis.InductorWithHysteresis.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_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.Hysteresis.InductorWithHysteresis.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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_Hysteresis_InductorWithHysteresis_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.Hysteresis.InductorWithHysteresis.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:491:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_104(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:491:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_104(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:492:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_105(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:492:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_105(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:493:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_106(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.Hysteresis.InductorWithHysteresis.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.o] Error 1