Notification: Performance of loadModel(Modelica): time 1.571/1.571, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.8e-06/9.289e-06, allocations: 1.031 kB / 247.3 MB, free: 4.691 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06056/0.06064, allocations: 44.36 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.2944, allocations: 81.07 MB / 372.8 MB, free: 6.891 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.2948, allocations: 91.33 kB / 372.9 MB, free: 6.871 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03932/0.3342, allocations: 8.853 MB / 381.7 MB, free: 3.961 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.3343, allocations: 3.75 kB / 381.7 MB, free: 3.961 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.00117/0.3355, allocations: 0.5873 MB / 382.3 MB, free: 3.484 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3356, allocations: 7.656 kB / 382.3 MB, free: 3.484 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.3358, allocations: 43.03 kB / 382.4 MB, free: 3.461 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.3364, allocations: 321.5 kB / 382.7 MB, free: 3.211 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.3365, allocations: 41.97 kB / 382.7 MB, free: 3.176 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.3368, allocations: 23.38 kB / 382.7 MB, free: 3.176 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005809/0.3374, allocations: 250.5 kB / 383 MB, free: 3.145 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.338, allocations: 256.5 kB / 383.2 MB, free: 3.039 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.3381, allocations: 3.375 kB / 383.2 MB, free: 3.039 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.3382, allocations: 7.922 kB / 383.3 MB, free: 3.031 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3383, allocations: 7.625 kB / 383.3 MB, free: 3.031 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.3404, allocations: 1.103 MB / 384.4 MB, free: 2.312 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.3408, allocations: 181.2 kB / 384.5 MB, free: 2.266 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.3412, allocations: 135.9 kB / 384.7 MB, free: 2.246 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.3413, allocations: 11.81 kB / 384.7 MB, free: 2.238 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.3413, allocations: 46.77 kB / 384.7 MB, free: 2.191 MB / 296.6 MB Notification: Performance of pre-optimization done (n=31): time 5.378e-06/0.3414, allocations: 0 / 384.7 MB, free: 2.191 MB / 296.6 MB Notification: Performance of matching and sorting (n=42): time 0.009467/0.3509, allocations: 1.911 MB / 386.6 MB, free: 1.484 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.351, allocations: 82.27 kB / 386.7 MB, free: 1.391 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.3515, allocations: 245.5 kB / 387 MB, free: 1.277 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.3516, allocations: 26.89 kB / 387 MB, free: 1.246 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.3518, allocations: 153.2 kB / 387.1 MB, free: 17.11 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.352, allocations: 136.5 kB / 387.3 MB, free: 17.01 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.3521, allocations: 0 / 387.3 MB, free: 17.01 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3523, allocations: 341.3 kB / 387.6 MB, free: 16.68 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3526, allocations: 133.7 kB / 387.7 MB, free: 16.67 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.3531, allocations: 192.4 kB / 387.9 MB, free: 16.61 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.3535, allocations: 151 kB / 388.1 MB, free: 16.59 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3536, allocations: 0 / 388.1 MB, free: 16.59 MB / 312.6 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.008288/0.3619, allocations: 1.458 MB / 389.5 MB, free: 16.2 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.3621, allocations: 5.344 kB / 389.5 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3622, allocations: 5.219 kB / 389.5 MB, free: 16.2 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00761/0.3698, allocations: 1.041 MB / 390.6 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.3704, allocations: 63.19 kB / 390.6 MB, free: 15.94 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.3843, allocations: 4.201 MB / 394.8 MB, free: 14.06 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006475/0.385, allocations: 38.11 kB / 394.9 MB, free: 14.05 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.3852, allocations: 15.14 kB / 394.9 MB, free: 14.04 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.0001224/0.3854, allocations: 80.56 kB / 395 MB, free: 13.96 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.3856, allocations: 32.94 kB / 395 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.3877, allocations: 0.5616 MB / 395.6 MB, free: 13.79 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.3878, allocations: 5.531 kB / 395.6 MB, free: 13.79 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.495e-06/0.3879, allocations: 9 kB / 395.6 MB, free: 13.78 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.388, allocations: 1.25 kB / 395.6 MB, free: 13.78 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/0.392, allocations: 1.146 MB / 396.7 MB, free: 13.27 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3921, allocations: 1.031 kB / 396.7 MB, free: 13.27 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.3929, allocations: 96.75 kB / 396.8 MB, free: 13.25 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/0.395, allocations: 261.2 kB / 397.1 MB, free: 13.16 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/0.3952, allocations: 6.875 kB / 397.1 MB, free: 13.16 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004403/0.3996, allocations: 2.053 MB / 399.1 MB, free: 11.71 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.521e-06/0.3997, allocations: 1.5 kB / 399.1 MB, free: 11.71 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002528/0.4023, allocations: 0.9021 MB / 400 MB, free: 11.37 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.4027, allocations: 149.8 kB / 400.2 MB, free: 11.24 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.4029, allocations: 2.625 kB / 400.2 MB, free: 11.24 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.4037, allocations: 35.09 kB / 400.2 MB, free: 11.23 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4038, allocations: 27.48 kB / 400.3 MB, free: 11.21 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.404, allocations: 13.53 kB / 400.3 MB, free: 11.21 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002834/0.4043, allocations: 201.1 kB / 400.5 MB, free: 11.12 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001024/0.4054, allocations: 130.4 kB / 400.6 MB, free: 11.11 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002816/0.4057, allocations: 119.1 kB / 400.7 MB, free: 11.03 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.4072, allocations: 474 kB / 401.2 MB, free: 10.9 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.866e-06/0.4073, allocations: 4.562 kB / 401.2 MB, free: 10.89 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000693/0.4081, allocations: 318.1 kB / 401.5 MB, free: 10.77 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.4087, allocations: 27.88 kB / 401.5 MB, free: 10.76 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.4112, allocations: 0.7252 MB / 402.2 MB, free: 10.33 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.4118, allocations: 0.826 MB / 403.1 MB, free: 9.57 MB / 312.6 MB Notification: Performance of SimCode: time 2.165e-06/0.4118, allocations: 0 / 403.1 MB, free: 9.57 MB / 312.6 MB Notification: Performance of Templates: time 0.05052/0.4624, allocations: 7.922 MB / 411 MB, free: 2.266 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