Notification: Performance of loadModel(Modelica): time 1.497/1.497, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.731e-06/8.8e-06, allocations: 1.188 kB / 247.3 MB, free: 4.715 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06411/0.06419, allocations: 44.36 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.3015, allocations: 81.08 MB / 372.8 MB, free: 6.953 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3019, allocations: 89.12 kB / 372.9 MB, free: 6.938 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03979/0.3417, allocations: 8.839 MB / 381.7 MB, free: 4.035 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.3419, allocations: 3.875 kB / 381.7 MB, free: 4.035 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001205/0.3432, allocations: 0.6008 MB / 382.3 MB, free: 3.551 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3433, allocations: 7.719 kB / 382.3 MB, free: 3.551 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.3435, allocations: 38.97 kB / 382.4 MB, free: 3.531 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.3441, allocations: 317.8 kB / 382.7 MB, free: 3.281 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.3442, allocations: 42.03 kB / 382.7 MB, free: 3.246 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.3445, allocations: 30.45 kB / 382.7 MB, free: 3.242 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005833/0.3452, allocations: 246.4 kB / 383 MB, free: 3.211 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.3457, allocations: 254.3 kB / 383.2 MB, free: 3.109 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3458, allocations: 7.172 kB / 383.2 MB, free: 3.105 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.3459, allocations: 9.25 kB / 383.3 MB, free: 3.098 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.346, allocations: 6.281 kB / 383.3 MB, free: 3.098 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.3483, allocations: 1.102 MB / 384.4 MB, free: 2.383 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.3487, allocations: 186 kB / 384.5 MB, free: 2.328 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.3491, allocations: 136 kB / 384.7 MB, free: 2.309 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.3492, allocations: 7.391 kB / 384.7 MB, free: 2.309 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.3492, allocations: 43.53 kB / 384.7 MB, free: 2.262 MB / 296.6 MB Notification: Performance of pre-optimization done (n=31): time 6.006e-06/0.3493, allocations: 0 / 384.7 MB, free: 2.262 MB / 296.6 MB Notification: Performance of matching and sorting (n=42): time 0.009688/0.359, allocations: 1.915 MB / 386.6 MB, free: 1.551 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.3592, allocations: 85.89 kB / 386.7 MB, free: 1.457 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.3597, allocations: 250.1 kB / 387 MB, free: 1.34 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/0.3599, allocations: 25.7 kB / 387 MB, free: 1.309 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.36, allocations: 143.2 kB / 387.1 MB, free: 17.18 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3602, allocations: 140.5 kB / 387.3 MB, free: 17.08 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3603, allocations: 3.984 kB / 387.3 MB, free: 17.07 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0004453/0.3608, allocations: 339.5 kB / 387.6 MB, free: 16.75 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.3612, allocations: 130.2 kB / 387.7 MB, free: 16.75 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.3617, allocations: 189 kB / 387.9 MB, free: 16.69 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3621, allocations: 154.5 kB / 388.1 MB, free: 16.66 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.3622, allocations: 1.219 kB / 388.1 MB, free: 16.66 MB / 312.6 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.008259/0.3705, allocations: 1.454 MB / 389.5 MB, free: 16.27 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3706, allocations: 5.531 kB / 389.5 MB, free: 16.27 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3707, allocations: 2.594 kB / 389.5 MB, free: 16.27 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007656/0.3784, allocations: 1.049 MB / 390.6 MB, free: 16.02 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.379, allocations: 60.03 kB / 390.6 MB, free: 16.01 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/0.3927, allocations: 4.208 MB / 394.8 MB, free: 14.12 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.3935, allocations: 38.58 kB / 394.9 MB, free: 14.11 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.3937, allocations: 16.55 kB / 394.9 MB, free: 14.11 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.0001188/0.3939, allocations: 76.31 kB / 395 MB, free: 14.04 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.3941, allocations: 35.03 kB / 395 MB, free: 14.02 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.3962, allocations: 0.5527 MB / 395.6 MB, free: 13.86 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001889/0.3965, allocations: 5.438 kB / 395.6 MB, free: 13.86 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-06/0.3966, allocations: 4.875 kB / 395.6 MB, free: 13.86 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.3966, allocations: 4.953 kB / 395.6 MB, free: 13.85 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.4009, allocations: 1.148 MB / 396.7 MB, free: 13.34 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.401, allocations: 0 / 396.7 MB, free: 13.34 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.4019, allocations: 95.61 kB / 396.8 MB, free: 13.32 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.4041, allocations: 271.5 kB / 397.1 MB, free: 13.23 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4043, allocations: 3.75 kB / 397.1 MB, free: 13.23 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004433/0.4088, allocations: 2.063 MB / 399.2 MB, free: 11.77 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.844e-06/0.409, allocations: 0.9062 kB / 399.2 MB, free: 11.77 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002489/0.4115, allocations: 0.8949 MB / 400 MB, free: 11.43 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.4119, allocations: 155.8 kB / 400.2 MB, free: 11.3 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/0.4121, allocations: 2.062 kB / 400.2 MB, free: 11.3 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/0.4128, allocations: 27.44 kB / 400.2 MB, free: 11.29 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.413, allocations: 32.02 kB / 400.3 MB, free: 11.28 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.4131, allocations: 11.78 kB / 400.3 MB, free: 11.28 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002734/0.4134, allocations: 197.4 kB / 400.5 MB, free: 11.19 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001074/0.4146, allocations: 130.6 kB / 400.6 MB, free: 11.18 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002905/0.4149, allocations: 112.8 kB / 400.7 MB, free: 11.1 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.4164, allocations: 485.3 kB / 401.2 MB, free: 10.96 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.867e-06/0.4165, allocations: 0 / 401.2 MB, free: 10.96 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.4172, allocations: 317.1 kB / 401.5 MB, free: 10.84 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.4177, allocations: 32.61 kB / 401.5 MB, free: 10.82 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.4201, allocations: 0.7226 MB / 402.2 MB, free: 10.4 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006468/0.4208, allocations: 0.8306 MB / 403.1 MB, free: 9.633 MB / 312.6 MB Notification: Performance of SimCode: time 2.445e-06/0.4209, allocations: 0 / 403.1 MB, free: 9.633 MB / 312.6 MB Notification: Performance of Templates: time 0.06555/0.4865, allocations: 7.916 MB / 411 MB, free: 2.207 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.o Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:491:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_104(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:491:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_104(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:492:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_105(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:492:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_eqFunction_105(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.c:493:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.o] Error 1