Notification: Performance of loadModel(Modelica): time 1.51/1.51, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.01e-06/9.428e-06, allocations: 0.9688 kB / 247.4 MB, free: 4.68 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0607/0.06078, allocations: 44.35 MB / 291.8 MB, free: 9.242 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2572/0.3181, allocations: 104.9 MB / 396.6 MB, free: 14.42 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.3185, allocations: 94.98 kB / 396.7 MB, free: 14.4 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2188/0.5373, allocations: 52.6 MB / 449.3 MB, free: 1.824 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0002162/0.5376, allocations: 52 kB / 449.4 MB, free: 1.773 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.01189/0.5496, allocations: 2.29 MB / 451.7 MB, free: 15.42 MB / 360.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.5499, allocations: 15.97 kB / 451.7 MB, free: 15.41 MB / 360.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.5517, allocations: 276.8 kB / 452 MB, free: 15.13 MB / 360.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006154/0.5579, allocations: 1.366 MB / 453.3 MB, free: 13.72 MB / 360.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.5584, allocations: 168.9 kB / 453.5 MB, free: 13.54 MB / 360.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.5599, allocations: 155.9 kB / 453.6 MB, free: 13.38 MB / 360.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005374/0.5654, allocations: 1.636 MB / 455.3 MB, free: 11.75 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004135/0.5696, allocations: 1.798 MB / 457.1 MB, free: 9.859 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.5697, allocations: 0 / 457.1 MB, free: 9.859 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.57, allocations: 4 kB / 457.1 MB, free: 9.855 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.5701, allocations: 51.98 kB / 457.1 MB, free: 9.805 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.5858, allocations: 7.593 MB / 464.7 MB, free: 1.992 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.5883, allocations: 1.166 MB / 465.9 MB, free: 0.7891 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/0.5912, allocations: 1.297 MB / 467.2 MB, free: 15.48 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.5915, allocations: 33.91 kB / 467.2 MB, free: 15.45 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.642e-05/0.5916, allocations: 64.5 kB / 467.3 MB, free: 15.38 MB / 376.6 MB Notification: Performance of pre-optimization done (n=208): time 6.356e-06/0.5916, allocations: 0 / 467.3 MB, free: 15.38 MB / 376.6 MB Notification: Performance of matching and sorting (n=250): time 0.03886/0.6306, allocations: 9.131 MB / 476.4 MB, free: 6.168 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002431/0.6309, allocations: 393.8 kB / 476.8 MB, free: 5.699 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.6332, allocations: 1.178 MB / 478 MB, free: 4.512 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003889/0.6336, allocations: 29.7 kB / 478 MB, free: 4.477 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/0.6342, allocations: 0.573 MB / 478.6 MB, free: 3.895 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007053/0.6349, allocations: 0.812 MB / 479.4 MB, free: 3.07 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.6352, allocations: 0 / 479.4 MB, free: 3.07 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6354, allocations: 398.6 kB / 479.8 MB, free: 2.676 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/0.6376, allocations: 0.8721 MB / 480.6 MB, free: 1.801 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.6398, allocations: 1.097 MB / 481.7 MB, free: 0.6484 MB / 376.6 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0363/0.6762, allocations: 7 MB / 488.7 MB, free: 9.582 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.219e-06/0.6763, allocations: 0 / 488.7 MB, free: 9.582 MB / 392.6 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02739/0.7037, allocations: 5.737 MB / 494.5 MB, free: 3.773 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7039, allocations: 8 kB / 494.5 MB, free: 3.766 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.372e-05/0.704, allocations: 11.94 kB / 494.5 MB, free: 3.754 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02453/0.7286, allocations: 3.604 MB / 498.1 MB, free: 128 kB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1171/0.8458, allocations: 390.2 kB / 498.5 MB, free: 137.9 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05196/0.8979, allocations: 23.62 MB / 0.5099 GB, free: 126.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.9013, allocations: 104 kB / 0.51 GB, free: 126.6 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004996/0.9019, allocations: 84.42 kB / 0.51 GB, free: 126.6 MB / 392.6 MB Warning: The initial conditions are over specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). 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.000385/0.9024, allocations: 81.66 kB / 0.5101 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/0.9032, allocations: 202.2 kB / 0.5103 GB, free: 126.5 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009085/0.9123, allocations: 3.009 MB / 0.5133 GB, free: 126.2 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-05/0.9125, allocations: 26.5 kB / 0.5133 GB, free: 126.2 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/0.9125, allocations: 3.719 kB / 0.5133 GB, free: 126.2 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-05/0.9126, allocations: 15.31 kB / 0.5133 GB, free: 126.2 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01724/0.9299, allocations: 5.676 MB / 0.5188 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/0.9301, allocations: 2.938 kB / 0.5188 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003389/0.9335, allocations: 438.3 kB / 0.5193 GB, free: 125.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007845/0.9415, allocations: 1.176 MB / 0.5204 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004441/0.9421, allocations: 27.11 kB / 0.5204 GB, free: 125.4 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02347/0.9656, allocations: 16.2 MB / 0.5363 GB, free: 111.7 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.753e-06/0.9657, allocations: 0 / 0.5363 GB, free: 111.7 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01336/0.9791, allocations: 4.6 MB / 0.5407 GB, free: 109.5 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/0.9809, allocations: 0.5216 MB / 0.5413 GB, free: 109.2 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008361/0.9818, allocations: 17.77 kB / 0.5413 GB, free: 109.1 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/0.9852, allocations: 126.7 kB / 0.5414 GB, free: 109.1 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006265/0.9859, allocations: 151.3 kB / 0.5415 GB, free: 109.1 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002882/0.9863, allocations: 69.19 kB / 0.5416 GB, free: 109.1 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.001819/0.9882, allocations: 0.8904 MB / 0.5425 GB, free: 108.7 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.00482/0.9931, allocations: 0.6713 MB / 0.5431 GB, free: 108.7 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004496/0.9937, allocations: 169.2 kB / 0.5433 GB, free: 108.6 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.007446/1.001, allocations: 3.343 MB / 0.5466 GB, free: 106.7 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 8.381e-06/1.001, allocations: 3.812 kB / 0.5466 GB, free: 106.7 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.004582/1.006, allocations: 2.228 MB / 0.5487 GB, free: 105.3 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.008, allocations: 237.7 kB / 0.549 GB, free: 105.2 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.021, allocations: 4.38 MB / 0.5532 GB, free: 103.4 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/1.023, allocations: 1.738 MB / 0.5549 GB, free: 102.6 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/1.024, allocations: 1.062 kB / 0.5549 GB, free: 102.6 MB / 392.6 MB Notification: Performance of Templates: time 0.1166/1.14, allocations: 42.18 MB / 0.5961 GB, free: 72.75 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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_ThreePhaseTransformerWithRectifier -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.o Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.ThreePhaseTransformerWithRectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.ThreePhaseTransformerWithRectifier.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.ThreePhaseTransformerWithRectifier.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_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.ThreePhaseTransformerWithRectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.ThreePhaseTransformerWithRectifier.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.ThreePhaseTransformerWithRectifier.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_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.ThreePhaseTransformerWithRectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.ThreePhaseTransformerWithRectifier.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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_ThreePhaseTransformerWithRectifier_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.ThreePhaseTransformerWithRectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.c:550:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_eqFunction_439(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.c:550:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_eqFunction_439(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.c:551:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_eqFunction_440(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.c:551:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_eqFunction_440(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.c:552:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_eqFunction_441(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.ThreePhaseTransformerWithRectifier.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.o] Error 1